Re: NetBSD 8.0: /usr/bin/m4 is broken

2018-07-30 Thread Robert Elz
Date:Mon, 30 Jul 2018 22:22:55 +0200
From:Rhialto 
Message-ID:  <20180730202255.gx8...@falu.nl>

  | I just updated my laptop from NetBSD 7 to 8. When starting my X session
  | which uses twm, the session didn't start properly. It turned out that
  | /usr/bin/m4 was looping with 100% cpu use.

Try this patch.   It appears as if a line got dropped during some changes back
in Jan, 2016 !   (And no-one noticed.)

The same issue is in HEAD (naturally).

kre

Index: eval.c
===
RCS file: /cvsroot/src/usr.bin/m4/eval.c,v
retrieving revision 1.26
diff -u -r1.26 eval.c
--- eval.c  23 Oct 2017 02:38:46 -  1.26
+++ eval.c  30 Jul 2018 22:36:48 -
@@ -987,6 +987,7 @@
}
} else {
while (*src) {
+   sch = (unsigned char)(*src++);
dch = mapvec[sch];
while (dch != sch) {
sch = dch;




Re: git https issue

2018-07-30 Thread Riccardo Mottola

Hi M; Matthewm

matthew sporleder wrote:

On Mon, Jul 30, 2018 at 4:13 PM, Riccardo Mottola
 wrote:

Hi All,

I have some strange happening after I upgraded to 8.0 with 8.0_2018Q1
packages (I removed  all packages before and reinstalled)

I cannot git clone or git pull over https anymore!
Even existing repositories do not pull! And I see no errors, like:

$ git clone https://github.com/github/debug-repo /tmp/debug-repo-http
Cloning into '/tmp/debug-repo-http'...

and "nothing" happens and no repository.
How can I debug more??

However if I use ssh it works!



why? What changed? configurations should have remained the same, since I
upgraded. mozilla certificates are installed.

Riccardo




Does it hang or finish?  GIT_CURL_VERBOSE or --verbose ?



it finishes suspiciously quickly without... doing anything.
Will check --verbose and will upgrade another laptop to 8.0 and see.


Riccardo


Re: git https issue

2018-07-30 Thread matthew sporleder
On Mon, Jul 30, 2018 at 4:13 PM, Riccardo Mottola
 wrote:
> Hi All,
>
> I have some strange happening after I upgraded to 8.0 with 8.0_2018Q1
> packages (I removed  all packages before and reinstalled)
>
> I cannot git clone or git pull over https anymore!
> Even existing repositories do not pull! And I see no errors, like:
>
> $ git clone https://github.com/github/debug-repo /tmp/debug-repo-http
> Cloning into '/tmp/debug-repo-http'...
>
> and "nothing" happens and no repository.
> How can I debug more??
>
> However if I use ssh it works!
>
> $ git clone g...@github.com:github/debug-repo /tmp/debug-repo-ssh
> Cloning into '/tmp/debug-repo-ssh'...
> The authenticity of host 'github.com (192.30.253.112)' can't be established.
> RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of
> known hosts.
> remote: Counting objects: 1649, done.
> remote: Total 1649 (delta 0), reused 0 (delta 0), pack-reused 1649
> Receiving objects: 100% (1649/1649), 324.17 KiB | 246.00 KiB/s, done.
> Resolving deltas: 100% (1063/1063), done.
>
> why? What changed? configurations should have remained the same, since I
> upgraded. mozilla certificates are installed.
>
> Riccardo
>


Does it hang or finish?  GIT_CURL_VERBOSE or --verbose ?


git https issue

2018-07-30 Thread Riccardo Mottola

Hi All,

I have some strange happening after I upgraded to 8.0 with 8.0_2018Q1 
packages (I removed  all packages before and reinstalled)


I cannot git clone or git pull over https anymore!
Even existing repositories do not pull! And I see no errors, like:

$ git clone https://github.com/github/debug-repo /tmp/debug-repo-http
Cloning into '/tmp/debug-repo-http'...

and "nothing" happens and no repository.
How can I debug more??

However if I use ssh it works!

$ git clone g...@github.com:github/debug-repo /tmp/debug-repo-ssh
Cloning into '/tmp/debug-repo-ssh'...
The authenticity of host 'github.com (192.30.253.112)' can't be 
established.
RSA key fingerprint is 
SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the 
list of known hosts.

remote: Counting objects: 1649, done.
remote: Total 1649 (delta 0), reused 0 (delta 0), pack-reused 1649
Receiving objects: 100% (1649/1649), 324.17 KiB | 246.00 KiB/s, done.
Resolving deltas: 100% (1063/1063), done.

why? What changed? configurations should have remained the same, since 
I upgraded. mozilla certificates are installed.


Riccardo



NetBSD 8 on Old ThinkPad - strange mouse issues

2018-07-30 Thread Riccardo Mottola

Hi All!


I just upgraded to 8.0 on my "super vintage" IBM ThinkPad 600... my 
oldest x86 laptop with NetBSD.
6.x worked very well on it! I upgraded to 7.x some weeks ago and had 
issues with X11, which I reported here but got no answer. Now I just 
upgraded again to 8.0! Luckily, this time there are many binary 
pacakges for x86 (8.0_2018Q1, Q2 is almost empty?)


I have a couple of issues though, in the following "importance" order:

1) X11 is almost unusuable due to the mouse not moving
2) with a little more heavy usage (I was removign packages, updating 
trees, etc) the tlp0 interface started complaining about timeouts. 
Only a reboot recovers!

tlp0: transmit timeout
tlp0: filter setup and transmit timeout

the last one repeats forever... this did not happen on 6.x and neither 
7.1 for the short time I used it.


3) the PCMCI network card is work only in the uppter slot (I think to 
remember I compiled for 6.x series a custom kernel with an option to 
enable)
4) a hot reboot will usually hang when reaching "fdc0 at isa0 port 
0x3f0-0x3f7 irq 6 drq 2" while a cold start goes through. Maybe it is 
related with 3)


Issue 1) makes the machine unusable though
What happens is very strange: X11 comes up correctly, including 
windowmanager, but moving the mouse pointer appears to move it only 
horizontally on a line! But in fact it is a display issue, I can 
blindly click and move menus, so it works but it appears not, 
something which I have never seen.
This happens both with the internal trackpoint as with an external 
mouse.
Strange thing is that the mouse already starts on the top line, 
instead of centered, on startup!


I see nothing suspicious:

Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 30 19:50:06 2018
(==) Using default built-in configuration (30 lines)
mtrr set failed: Function not implemented
The XKEYBOARD keymap compiler (xkbcomp) reports:

Error:Couldn't lookup keysym
  Symbol interpretation ignored
Error:Couldn't lookup keysym
  Symbol interpretation ignored

Errors from xkbcomp are not fatal to the X server




Ideas?



To the joy and pride of all, a dmesg below... the machine is about old 
as the first copyright of NetBSD :)



Riccardo


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 
2017,

2018 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.

NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018

Welcome to NetBSD!

narsil$ dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 
2017,

2018 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.

NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018

mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

total memory = 191 MB
avail memory = 169 MB
rnd: seeded with 128 bits
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
ACPI: RSDP 0x000FD6E0 14 (v00 IBM   )
ACPI: RSDT 0x0BFD 2C (v01 IBMTP6000001 
 )
ACPI: FACP 0x0BFD0100 74 (v01 IBMTP6000001 
 )
ACPI: DSDT 0x0BFD0200 00957A (v01 IBMTP6000004 
MSFT 010A)

ACPI: FACS 0x0BFDF000 40
ACPI: BOOT 0x0BFD0040 28 (v01 IBMTP6000001 
 )

ACPI: 1 ACPI AML tables successfully acquired and loaded
cpu0 at mainbus0
cpu0: Intel 586-class, 232MHz, id 0x581
cpu0: package 0, core 0, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId , AslId <,>
LNKD: ACPI: Found matching pin for 0.1.INTD at func 2: 11
LNKA: ACPI: Found matching pin for 0.2.INTA at func 0: 255
LNKB: ACPI: Found matching pin for 0.2.INTB at func 1: 255
LNKA: ACPI: Found matching pin for 0.3.INTA at func 0: 11
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
FDC0 (PNP0700) at acpi0 not configured
LPT (PNP0400) at acpi0 not configured
FIR 

Re: High latency for IPv6 on netbsd-8

2018-07-30 Thread Robert Elz
Date:Mon, 30 Jul 2018 21:38:01 +0700
From:Gua Chung Lim 
Message-ID:  <20180730143801.g...@gmail.com>


  | > tcpdump -s 2000 -w DUMP-FILE -i wm0
  | It gave me a binary log. But how to read it?

tdpdump -s 2000 -r DUMP-FILE   (that was in the earlier message).

  | > ping6 -n 2001:3c8:9007:1::21 (munnari.oz.au - one of its addresses)
  | I shall ping6 between 3:00-4:00pm GMT.

Sorry, it is now 16:xx UTC and I only just saw this e-mail - that was
just after 16:00, since then I have been building this reply (Iwas away
from my keyboard for a couple of hours earlier.)

  | But note that ping6 while it is unable, it maybe only a short term.
  | I cannot estimate, sometimes 5 minutes or sometimes 30 minutes.

That will be OK.   Since it is clearly not an RA issue, the next most
likely thing with a period like that would be something routing related
(or possibly some dynamic firewall somewhere.)

  | After that period ping6 becomes enable without any notification.
  | So I'm not sure whether at the time you check, it is enable or not.

I will do a tcpdump just like above.   Then you tell me what time you tried
and it failed, and I'll check what was happening at that time.

After that you casn just not attempt any more pings (to here).

But I'd appreciate a smaller window than an hour if possible, that would
make a VERY big dump file if I just capture everything, and I would prefer
not to filter too much (except I can limit it to v6) in case that causes a 
false negative (if my filter caused my tcpdump not to save your packets...)

  | > I could also try a ping6 from here to your host if I know more or less
  | > exactly what time to do it (when your host has just rebooted and things
  | > are not working as they should).
  | Do you mean pinging my router or my host? My host sits behind NAT.

NAT for IPv6 ?   Why?There's no point checking IPv4, that's working, right?

If you are really attempting IPv6 NAT for some weird reason, stop...

  | Or shall I forward the port from router to my host?

ICMP has no ports.   So that's not possible.

  | (I remember when I was using 6bone, anyone can ping6 me behind LAN without 
port forwarding.)
  | Anyway my host is 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64
  | or 2405:9800:b550:2939:8638:35ff:fe48:5720/128 and
  | my router is 2405:9800:b550:2939:8ee1:17ff:fe1f:d1c7.

Right now I cannot get to you at all (what is the router's V6 address on the
interface facing the internet) ?

IPv6 packets look to go from here to the edge of the core network (or somewhere
near that) and then no further, which would indicate that there is no available
route to 2405:9800::Of course, thatmight be a local problem near my end, so
I will try again later.

  | https://pastebin.com/6K8s2QWi
  | https://pastebin.com/AKFbrmYk
  | https://pastebin.com/kH7mc1ZB
  | https://pastebin.com/uvbbQDsq

I see nothing very revealing there - just that when it is failing the IPMPv6
echo packets being sent is going up (it seems, with just one output it is
hard to be sure) but no replies are coming back (and that when it is
working you are getting replies).That all looks like  the host is doing
what it should, and most likely the problem is elsewhere (at the router,
or further into the internet).

If you can use some other host on the same LAN, and send ICMPv6 pings
from it, which work, at the same time (or very close) to when pings from
the NetBSD-8 host are failing, that would be useful info.   If that works,
the IPv6 address of that host would be useful to know as well.

  | > You can add `nodhcp6` to dhcpcd.conf to disable DHCP6 entirely.
  | I have done it.
  | % tail -n 2 /etc/dhcpcd.conf
  | logfile /var/log/dhcpcd.log
  | nodhcp6
  | Now ping6 is usable even if DHCP6 is disabled entirely.

Are you saying that with that config it works, or that it does not work ?

  | No, it was using dhcpdc and rtsol on -7.
  | I haven't used dhclient for long, probably -5.

Oh sorry, obviously I misinterpreted when you said you would try
"going back to dhclient" (which I do not think would help anything.)

kre



Re: High latency for IPv6 on netbsd-8

2018-07-30 Thread Gua Chung Lim
Thanks for your kind responses.

> You'll get better information either by trawling syslog, or by adding
> `logfile /var/log/dhcpcd.log` to dhcpcd.conf.
% cat /var/log/dhcpcd.log
https://pastebin.com/VyJ5BXQc

> Is the DHCP server in the router?
Yes, it is. It's basically a home network.
(At work I use FreeBSD.)

> Since I'm guessing you have a switched LAN
Yes I do.

> tcpdump -s 2000 -w DUMP-FILE -i wm0
It gave me a binary log. But how to read it?

> ping6 -n 2001:3c8:9007:1::21 (munnari.oz.au - one of its addresses)
I shall ping6 between 3:00-4:00pm GMT.
But note that ping6 while it is unable, it maybe only a short term.
I cannot estimate, sometimes 5 minutes or sometimes 30 minutes.
After that period ping6 becomes enable without any notification.
So I'm not sure whether at the time you check, it is enable or not.

> I could also try a ping6 from here to your host if I know more or less
> exactly what time to do it (when your host has just rebooted and things
> are not working as they should).
Do you mean pinging my router or my host? My host sits behind NAT.
Or shall I forward the port from router to my host?
(I remember when I was using 6bone, anyone can ping6 me behind LAN without port 
forwarding.)
Anyway my host is 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64
or 2405:9800:b550:2939:8638:35ff:fe48:5720/128 and
my router is 2405:9800:b550:2939:8ee1:17ff:fe1f:d1c7.

> You can also look at "netstat -s" output, before, during, and after, a ping6
> that is failing, and see which numbers are growing - and let us know

Before ping6, which will fail) ...
# netstat -s
https://pastebin.com/6K8s2QWi

During ping6, which fails ...
# netstat -s
https://pastebin.com/AKFbrmYk

During ping6, which works ...
# netstat -s
https://pastebin.com/kH7mc1ZB

After ping6, which already worked ...
# netstat -s
https://pastebin.com/uvbbQDsq

> So one of the changes in dhcpcd-7 was the default location of some 
> files, including the secret file which generates the SLAAC stable 
> private address. If you didn't change the location using postinstall(8) 
> before running dhcpcd it will have generated a new secret (and duid) 
> file which would result in different addresses being defined on the 
> interface. This could be an issue as well.
It seems likely. Please tell me the old and new file locations.

> You can add `nodhcp6` to dhcpcd.conf to disable DHCP6 entirely.
I have done it.
% tail -n 2 /etc/dhcpcd.conf
logfile /var/log/dhcpcd.log
nodhcp6
Now ping6 is usable even if DHCP6 is disabled entirely.

> the  NetBSD 7 host in question (when it was running NetBSD 7) was using
> dhclient and rtsol (and kernel IPv6 addr autoconf)

> Since dhcpcd was not being used previously there would have been no
> old files to worry about, it would all be new.
No, it was using dhcpdc and rtsol on -7.
I haven't used dhclient for long, probably -5.

Thank you,

-- 
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: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
Ok! I've checked hp's webpage.
No BIOS updates available under Linux. Of course, there's no reference to
any BSD.
There're updates available to both BIOS and firmware under Windows, but I
don't have any Windows machine.
I can try to make a DOS bootable USB and boot in UEFI mode to try to update
the BIOS, but I won't be able to do this before earliest next week.

Regards


Den mån 30 juli 2018 11:19Martin Husemann  skrev:

> On Mon, Jul 30, 2018 at 11:12:46AM +0200, Pedro Pinho wrote:
> > I'll check if there are any BIOS updates available and reply back.
> > No error messages at all. The only line displayed after X closes is
> > syncing disks...done
> >
> > There are some errors related to acpi. If I boot with acpi, I get 12
> errors
> > while detecting hardware. If I boot without acpi, I get just 5 errors.
> >
> > Would it help if I post dmesg output?
>
> Yes, please (both with and without acpi). You are seeing the shutdown not
> being done through ACPI, which is very strange on any machine made after
> ~ 2000.
>
> Martin
>


Re: What are all these core files?

2018-07-30 Thread r0ller
Hi,

Well, they seem to be dumps of the corresponding programs:) If you keep getting 
them even after deleting all, then something must continuously restart one or 
more programa that always terminate abnormally.

Best regards,
r0ller
 
 Eredeti levél 
Feladó: D'Arcy Cain < da...@netbsd.org (Link -> mailto:da...@netbsd.org) >
Dátum: 2018 július 30 14:36:27
Tárgy: What are all these core files?
Címzett: netbsd-users@netbsd.org (Link -> mailto:netbsd-users@netbsd.org)
 
I have suddenly started getting all of these core files in my home
directory. If I delete them they just show up the next day again. They
don't even appear to relate to actual programs. They seem to be related
to screensavers. Does anyone know where they are coming from?
Running NetBSD current as of Jul 26, 2018 on AMD64.
-rw--- 1 darcy wheel 9508368 Jul 28 07:17 unknownpleasures.core
-rw--- 1 darcy wheel 10165584 Jul 28 08:07 kaleidocycle.core
-rw--- 1 darcy wheel 10205528 Jul 28 08:27 dangerball.core
-rw--- 1 darcy wheel 10584760 Jul 28 09:07 topblock.core
-rw--- 1 darcy wheel 7439016 Jul 28 09:17 glmatrix.core
-rw--- 1 darcy wheel 10369352 Jul 28 09:57 geodesicgears.core
-rw--- 1 darcy wheel 7489000 Jul 28 10:17 blocktube.core
-rw--- 1 darcy wheel 11776960 Jul 28 10:57 endgame.core
-rw--- 1 darcy wheel 9569472 Jul 28 11:07 hypnowheel.core
-rw--- 1 darcy wheel 11002480 Jul 28 11:17 glknots.core
-rw--- 1 darcy wheel 9555472 Jul 28 12:08 boing.core
-rw--- 1 darcy wheel 20509320 Jul 28 12:17 flurry.core
-rw--- 1 darcy wheel 10249632 Jul 28 12:37 vigilance.core
-rw--- 1 darcy wheel 11316576 Jul 28 14:17 moebiusgears.core
-rw--- 1 darcy wheel 26364688 Jul 28 14:27 pipes.core
-rw--- 1 darcy wheel 11668728 Jul 28 15:17 moebius.core
-rw--- 1 darcy wheel 9566592 Jul 28 16:18 lockward.core
-rw--- 1 darcy wheel 7418520 Jul 28 17:07 peepers.core
-rw--- 1 darcy wheel 414720 Jul 28 17:17 pacman.core
-rw--- 1 darcy wheel 10266840 Jul 28 18:33 pinion.core
-rw--- 1 darcy wheel 10248120 Jul 28 18:53 hilbert.core
-rw--- 1 darcy wheel 10517680 Jul 28 21:13 quasicrystal.core
-rw--- 1 darcy wheel 7439576 Jul 28 23:03 glplanet.core
-rw--- 1 darcy wheel 7465928 Jul 29 01:43 timetunnel.core
-rw--- 1 darcy wheel 10813960 Jul 29 01:53 tangram.core
-rw--- 1 darcy wheel 10839968 Jul 29 02:03 glsnake.core
-rw--- 1 darcy wheel 14342784 Jul 29 03:54 splitflap.core
-rw--- 1 darcy wheel 20497576 Jul 29 04:04 cubestorm.core
-rw--- 1 darcy wheel 9595960 Jul 29 04:24 gleidescope.core
-rw--- 1 darcy wheel 11605256 Jul 29 04:34 rubik.core
-rw--- 1 darcy wheel 7449936 Jul 29 05:14 winduprobot.core
-rw--- 1 darcy wheel 11542584 Jul 29 05:24 polytopes.core
-rw--- 1 darcy wheel 11155648 Jul 29 06:24 splodesic.core
-rw--- 1 darcy wheel 7414128 Jul 29 06:44 stairs.core
-rw--- 1 darcy wheel 11765680 Jul 29 07:04 hypertorus.core
-rw--- 1 darcy wheel 9873080 Jul 29 07:24 juggler3d.core
-rw--- 1 darcy wheel 12119176 Jul 29 07:34 romanboy.core
-rw--- 1 darcy wheel 10312928 Jul 29 07:44 sproingies.core
-rw--- 1 darcy wheel 9565232 Jul 29 07:54 jigsaw.core
-rw--- 1 darcy wheel 9955136 Jul 29 08:04 stonerview.core
-rw--- 1 darcy wheel 12159432 Jul 29 08:14 projectiveplane.core
-rw--- 1 darcy wheel 20554544 Jul 29 08:24 sierpinski3d.core
-rw--- 1 darcy wheel 7477600 Jul 29 08:44 skytentacles.core
-rw--- 1 darcy wheel 7414128 Jul 29 08:54 cage.core
-rw--- 1 darcy wheel 19977424 Jul 29 09:05 voronoi.core
-rw--- 1 darcy wheel 9525536 Jul 29 09:15 cubetwist.core
-rw--- 1 darcy wheel 9602992 Jul 29 09:35 circuit.core
-rw--- 1 darcy wheel 9549672 Jul 29 09:55 noof.core
-rw--- 1 darcy wheel 10362496 Jul 29 10:05 menger.core
-rw--- 1 darcy wheel 10042096 Jul 29 10:15 hexstrut.core
--
D'Arcy J.M. Cain 
http://www.NetBSD.org/ IM:da...@vex.net

Re: What are all these core files?

2018-07-30 Thread John D. Baker
Yes, those are core files related to various "xscreensaver" display
modes (/usr/pkg/libexec/xscreensaver/*).

If you have "xscreensaver-demo" installed, you might be able to see what
happens when those modes are selected to run.

In the thread starting with:

  http://mail-index.netbsd.org/pkgsrc-users/2018/07/02/msg027089.html

I noted problems with image loading which would cause several display
modes ("display hacks") to segfault.  That much was fixed in pkgsrc-HEAD,
but the 'xscreensaver-getimage' helper program still dumps core when it
should be supplying a colorbar image.

-- 
|/"\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



What are all these core files?

2018-07-30 Thread D'Arcy Cain
I have suddenly started getting all of these core files in my home
directory.  If I delete them they just show up the next day again.  They
don't even appear to relate to actual programs.  They seem to be related
to screensavers.  Does anyone know where they are coming from?

Running NetBSD current as of Jul 26, 2018 on AMD64.

-rw---  1 darcy  wheel   9508368 Jul 28 07:17 unknownpleasures.core
-rw---  1 darcy  wheel  10165584 Jul 28 08:07 kaleidocycle.core
-rw---  1 darcy  wheel  10205528 Jul 28 08:27 dangerball.core
-rw---  1 darcy  wheel  10584760 Jul 28 09:07 topblock.core
-rw---  1 darcy  wheel   7439016 Jul 28 09:17 glmatrix.core
-rw---  1 darcy  wheel  10369352 Jul 28 09:57 geodesicgears.core
-rw---  1 darcy  wheel   7489000 Jul 28 10:17 blocktube.core
-rw---  1 darcy  wheel  11776960 Jul 28 10:57 endgame.core
-rw---  1 darcy  wheel   9569472 Jul 28 11:07 hypnowheel.core
-rw---  1 darcy  wheel  11002480 Jul 28 11:17 glknots.core
-rw---  1 darcy  wheel   9555472 Jul 28 12:08 boing.core
-rw---  1 darcy  wheel  20509320 Jul 28 12:17 flurry.core
-rw---  1 darcy  wheel  10249632 Jul 28 12:37 vigilance.core
-rw---  1 darcy  wheel  11316576 Jul 28 14:17 moebiusgears.core
-rw---  1 darcy  wheel  26364688 Jul 28 14:27 pipes.core
-rw---  1 darcy  wheel  11668728 Jul 28 15:17 moebius.core
-rw---  1 darcy  wheel   9566592 Jul 28 16:18 lockward.core
-rw---  1 darcy  wheel   7418520 Jul 28 17:07 peepers.core
-rw---  1 darcy  wheel414720 Jul 28 17:17 pacman.core
-rw---  1 darcy  wheel  10266840 Jul 28 18:33 pinion.core
-rw---  1 darcy  wheel  10248120 Jul 28 18:53 hilbert.core
-rw---  1 darcy  wheel  10517680 Jul 28 21:13 quasicrystal.core
-rw---  1 darcy  wheel   7439576 Jul 28 23:03 glplanet.core
-rw---  1 darcy  wheel   7465928 Jul 29 01:43 timetunnel.core
-rw---  1 darcy  wheel  10813960 Jul 29 01:53 tangram.core
-rw---  1 darcy  wheel  10839968 Jul 29 02:03 glsnake.core
-rw---  1 darcy  wheel  14342784 Jul 29 03:54 splitflap.core
-rw---  1 darcy  wheel  20497576 Jul 29 04:04 cubestorm.core
-rw---  1 darcy  wheel   9595960 Jul 29 04:24 gleidescope.core
-rw---  1 darcy  wheel  11605256 Jul 29 04:34 rubik.core
-rw---  1 darcy  wheel   7449936 Jul 29 05:14 winduprobot.core
-rw---  1 darcy  wheel  11542584 Jul 29 05:24 polytopes.core
-rw---  1 darcy  wheel  11155648 Jul 29 06:24 splodesic.core
-rw---  1 darcy  wheel   7414128 Jul 29 06:44 stairs.core
-rw---  1 darcy  wheel  11765680 Jul 29 07:04 hypertorus.core
-rw---  1 darcy  wheel   9873080 Jul 29 07:24 juggler3d.core
-rw---  1 darcy  wheel  12119176 Jul 29 07:34 romanboy.core
-rw---  1 darcy  wheel  10312928 Jul 29 07:44 sproingies.core
-rw---  1 darcy  wheel   9565232 Jul 29 07:54 jigsaw.core
-rw---  1 darcy  wheel   9955136 Jul 29 08:04 stonerview.core
-rw---  1 darcy  wheel  12159432 Jul 29 08:14 projectiveplane.core
-rw---  1 darcy  wheel  20554544 Jul 29 08:24 sierpinski3d.core
-rw---  1 darcy  wheel   7477600 Jul 29 08:44 skytentacles.core
-rw---  1 darcy  wheel   7414128 Jul 29 08:54 cage.core
-rw---  1 darcy  wheel  19977424 Jul 29 09:05 voronoi.core
-rw---  1 darcy  wheel   9525536 Jul 29 09:15 cubetwist.core
-rw---  1 darcy  wheel   9602992 Jul 29 09:35 circuit.core
-rw---  1 darcy  wheel   9549672 Jul 29 09:55 noof.core
-rw---  1 darcy  wheel  10362496 Jul 29 10:05 menger.core
-rw---  1 darcy  wheel  10042096 Jul 29 10:15 hexstrut.core

-- 
D'Arcy J.M. Cain 
http://www.NetBSD.org/ IM:da...@vex.net


Fwd: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
-- Forwarded message --
From: Pedro Pinho 
Date: 2018-07-30 10:20 GMT+00:00
Subject: Re: poweroff and shutdown -p now only reboot my machine
To: Martin Husemann 


Thank you for your help.
Here are the dmesg outputs
with acpi https://pastebin.com/2CWXn6n5
without acpi https://pastebin.com/xNntrJHU
Thanks

2018-07-30 9:19 GMT+00:00 Martin Husemann :

> On Mon, Jul 30, 2018 at 11:12:46AM +0200, Pedro Pinho wrote:
> > I'll check if there are any BIOS updates available and reply back.
> > No error messages at all. The only line displayed after X closes is
> > syncing disks...done
> >
> > There are some errors related to acpi. If I boot with acpi, I get 12
> errors
> > while detecting hardware. If I boot without acpi, I get just 5 errors.
> >
> > Would it help if I post dmesg output?
>
> Yes, please (both with and without acpi). You are seeing the shutdown not
> being done through ACPI, which is very strange on any machine made after
> ~ 2000.
>
> Martin
>


Does sysupgrade work only for subsequent releases?

2018-07-30 Thread r0ller
Hi All,

I tried to do a sysupgrade for my system which I thought to be 7.1.1 and wanted 
to upgrade to 7.1.2 (and afterwards 8.0). So I carried out a sysupgrade, 
rebooted and I was surprised when executing uname that I got back 7.1 instead 
of 7.1.2. It seems I didn't screw up anything but that's exactly the reason why 
I am asking: does sysupgrade only support upgrade to subsequent (follow up) 
releases? Don't get me wrong, that's not an issue for me. I just want to make 
sure that I indeed haven't screwed up anything and now I can carry out an 
upgrade to 7.1.1 first, then to 7.1.2 and finally to 8.0. Thanks for any hints 
in advance!

Best regards,
r0ller

Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Mon, Jul 30, 2018 at 10:39:35AM +0200, Pedro Pinho wrote:
> All the following commands act like reboot:
> sudo poweroff
> sudo shutdown -p now
> sudo halt -v
> The machine closes down all running applications and apears to shutdown,
> but immediately starts booting again, exactly like reboot. Actually, I see
> no difference if I issue
> sudo reboot

OK. After it shuts down everything, there should be a few kernel messages
(in green) on the text console. The last one is typically something like:

acpi: entering S5

or similar. Do you see those? Any errors printed there in the last seconds
before it reboots?

This may be a problem with you BIOS/Firmware and it is worth to
check if there is an update available.

Martin


Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
First of all thank you for your reply.
I'm really enjoying this system.
Yes, of course.
All the following commands act like reboot:
sudo poweroff
sudo shutdown -p now
sudo halt -v
The machine closes down all running applications and apears to shutdown,
but immediately starts booting again, exactly like reboot. Actually, I see
no difference if I issue
sudo reboot

Also, when booting it shows
random_seed: /etc/entropy-file: Not present, which I belive is consistent
with rebooting behaviour.
If I hard shutdown by pressing the power bottom, which I know I shouldn’t
do, the random_seed is present and read at boot.

Currently, I shutdown the laptop and press the power button when it starts
to boot up again, but I would prefer if I could shutdown the system
properly.

NetBSD-8 running now is updated from the RC_2 release if that matters.

Thanks

Den mån 30 juli 2018 10:20Martin Husemann  skrev:

> On Sun, Jul 29, 2018 at 09:03:04PM +, Pedro Pinho wrote:
> > All these are my last attempts at shutting down my machine.
> > Please find the full log here, https://pastebin.com/PKEtRqWP
>
> Can you please give concrete commands that you invoke and explain
> the result? Nothing in that log looks wrong. Ignore the syslog restart
> messages.
>
> Martin
>


Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Sun, Jul 29, 2018 at 09:03:04PM +, Pedro Pinho wrote:
> All these are my last attempts at shutting down my machine.
> Please find the full log here, https://pastebin.com/PKEtRqWP

Can you please give concrete commands that you invoke and explain
the result? Nothing in that log looks wrong. Ignore the syslog restart
messages.

Martin


poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
Hi all,
Just installed NetBSD-8 on my laptop hp probook 6470b
I've been using Void Linux musl-libC build with awesome wm for quite
sometime,
but this is my first NetBSD machine.
Most things are working just fine.
Wifi doesn't work due to a, I think, unsupported broadcom chip.
Although, this is not an issue, since I plan to replace this chip anyway.

My problem is that both poweroff and shutdown -p now only reboot the laptop.

Here are the specs,
pin@NetBSD-8 ~$ pcictl pci0 list
000:00:0: Intel Ivy Bridge Host Bridge (host bridge, revision 0x09)
000:02:0: Intel Ivy Bridge Integrated Graphics Device (VGA display,
revision 0x09)
000:20:0: Intel 7 Series USB xHCI (USB serial bus, xHCI, revision 0x04)
000:22:0: Intel 7 Series MEI Controller (miscellaneous communications,
revision 0x04)
000:25:0: Intel 82579V Gigabit Network Connection (ethernet network,
revision 0x04)
000:26:0: Intel 7 Series USB EHCI (USB serial bus, EHCI, revision 0x04)
000:27:0: Intel 7 Series HD Audio (mixed mode multimedia, revision 0x04)
000:28:0: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:1: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:2: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:3: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:29:0: Intel 7 Series USB EHCI (USB serial bus, EHCI, revision 0x04)
000:31:0: Intel Mobile HM76 LPC (ISA bridge, revision 0x04)
000:31:2: Intel 7 Series (mobile) SATA Controller (AHCI) (SATA mass
storage, AHCI 1.0, revision 0x04)
035:00:0: JMicron Technology JMB38X IEEE 1394 Host Controller (IEEE1394
serial bus, OpenHCI, revision 0x30)
035:00:1: JMicron Technology JMB388 SD/MMC Host Controller (miscellaneous
system, revision 0x30)
035:00:2: JMicron Technology JMB388 SD Host Controller (SD Host Controller
system, interface 0x01, revision 0x30)
036:00:0: Broadcom BCM43228 Dualband 802.11 (miscellaneous network)

Also, as you can see bellow every attempt to poweroff is logged as a restart
pin@NetBSD-8 ~$ cat /var/log/messages | grep
restart

Jul 28 20:00:00 NetBSD-8 syslogd[281]: restart
Jul 28 21:00:00 NetBSD-8 syslogd[281]: restart
Jul 28 21:05:17 NetBSD-8 syslogd[282]: restart
Jul 28 23:01:59 NetBSD-8 syslogd[281]: restart
Jul 29 09:51:20 NetBSD-8 syslogd[281]: restart
Jul 29 11:45:55 NetBSD-8 syslogd[281]: restart

All these are my last attempts at shutting down my machine.
Please find the full log here, https://pastebin.com/PKEtRqWP

Is there a way to solve this issue?
Thank you all

pin

A screenshot to show that other things are just fine,
https://imgur.com/GmWUskg