Re: Reinitializing software from hardware clock?

2018-01-10 Thread Mike Larkin
On Thu, Jan 11, 2018 at 02:22:00AM +, Maximilian Pichler wrote: > On Wed, Jan 10, 2018 at 6:50 PM, Mike Larkin wrote: > >> > My question is: Can OpenBSD be told initialize the software from the > >> > hardware clock again after the system is booted? > > > This does

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Maximilian Pichler
On Wed, Jan 10, 2018 at 6:50 PM, Mike Larkin wrote: >> > My question is: Can OpenBSD be told initialize the software from the >> > hardware clock again after the system is booted? > This does occur on occasion; for example, when running an OpenBSD vmm(4) > guest, vmd(8)

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Maximilian Pichler
On Thu, Jan 11, 2018 at 2:23 AM, Mike Larkin wrote: >> Following your hint at vmmci and looking at >> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pv/vmmci.c.diff?r1=1.2=1.3=h >> it looks like inittodr(9) would reinitialize the software clock. >> However it seems to

Re: Probable mistake in PF tagging example ruleset order

2018-01-10 Thread trondd
On Wed, January 10, 2018 2:44 pm, Aham Brahmasmi wrote: > Hi, > > I am trying to learn and understand the pf tagging mechanism. I was > wondering whether my understanding of the order in the example at > https://www.openbsd.org/faq/pf/tagging.html is correct. If it is, then > there might be a

Re: 4G modems for OpenBSD?

2018-01-10 Thread lists
Mon, 8 Jan 2018 15:35:41 -0900 Israel Brewster > Could anyone suggest a USB 4G cell modem model that will work well > with OpenBSD, specifically SMSTools? > > I do need a direct USB connection for the purposes of sending SMS > messages directly from the system, i.e. I need

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Mike Larkin
On Thu, Jan 11, 2018 at 04:51:47AM +, Maximilian Pichler wrote: > On Thu, Jan 11, 2018 at 2:23 AM, Mike Larkin wrote: > >> Following your hint at vmmci and looking at > >> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pv/vmmci.c.diff?r1=1.2=1.3=h > >> it looks

Re: no valid ntpd peers

2018-01-10 Thread Stuart Henderson
On 2018/01/10 09:43, Maximilian Pichler wrote: > $ doas rdate -nvp pool.ntp.org > rdate: Unable to receive NTP packet from server: No route to host This usually indicates either not having a route, or a firewall rule on the OpenBSD system blocking it. > $ nc -vu pool.ntp.org 123 > Connection to

Re: no valid ntpd peers

2018-01-10 Thread Maximilian Pichler
On Wed, Jan 10, 2018 at 6:05 PM, Stuart Henderson wrote: > On 2018/01/10 09:43, Maximilian Pichler wrote: >> $ doas rdate -nvp pool.ntp.org >> rdate: Unable to receive NTP packet from server: No route to host > > This usually indicates either not having a route, or a

Lenovo T60p touchpad not working (6.2-stable/amd64)

2018-01-10 Thread Jonathan Thornburg
I have a Lenovo T60p laptop (amd64) currently running 6.2-stable (dmesg below). I last rebuilt from source on 2017-12-15, but a cvs-update of /usr/src today (2018-01-10) shows no changes, so this machine is fully up to date for -stable. My problem is that the touchpad does not work: finger

Re: Lenovo T60p touchpad not working (6.2-stable/amd64)

2018-01-10 Thread Jonathan Thornburg
In a recent message to misc@ I wrote On Wed, Jan 10, 2018 at 03:14:43PM +0100, Jonathan Thornburg wrote: > I have a Lenovo T60p laptop (amd64) currently running 6.2-stable (dmesg > below). [[...]] > > My problem is that the touchpad does not work: [[...]] > > As a temporary workaround I have

Re: no valid ntpd peers

2018-01-10 Thread Stuart Henderson
On 2018-01-10, Maximilian Pichler wrote: > On Wed, Jan 10, 2018 at 6:05 PM, Stuart Henderson > wrote: >> On 2018/01/10 09:43, Maximilian Pichler wrote: >>> $ doas rdate -nvp pool.ntp.org >>> rdate: Unable to receive NTP packet from server: No route

Bitmask for 224.0.0.0 in Martians PF table entry

2018-01-10 Thread Aham Brahmasmi
Hi, What is the correct bitmask for the 224.0.0.0 Martian table entry in pf.conf? There are two bitmasks in two links on this page - http://www.team-cymru.org/bogon-reference-http.html. /3 in the The Text Bogon List, Aggregated and /4 in IPv4 Fullbogons. /3 is also present in

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Mike Larkin
On Wed, Jan 10, 2018 at 01:23:19PM -, Christian Weisgerber wrote: > On 2018-01-10, Maximilian Pichler wrote: > > > * At boot the software clock (the value returned by gettimeofday) is > > initialized from the hardware clock (the one with the coin-shaped > > battery).

Re: Free OpenBSD Puffy Stickers

2018-01-10 Thread x9p
On Tue, January 2, 2018 6:09 pm, x9p wrote: > ... > 3rd batch sent, missing one (Philipines) which will be sent in the 4rd batch. > still lots of ... 4th batch sent. still lots of stickers. if ask please send from email active in any list. cheers. -- x9p | PGP : 0x03B50AF5EA4C8D80 / 5135

Re: Performance issues as KVM guest?

2018-01-10 Thread Mike Larkin
On Wed, Jan 10, 2018 at 03:51:19PM +, Mark Carroll wrote: > Since my hosting provider https://www.bytemark.co.uk/cloud-hosting/ > patched for Meltdown last weekend I'm seeing significant performance > issues with an OpenBSD virtual instance there. It seems okay after a > fresh reboot but then

Re: no valid ntpd peers

2018-01-10 Thread x9p
On Wed, January 10, 2018 7:28 am, Maximilian Pichler wrote: > On Wed, Jan 10, 2018 at 11:55 AM, x9p wrote: >> I had similar problems once under VirtualBox, other OS. try switching from >> NAT to BRIDGED >> mode and give it a try. > > Thanks, but no luck on my end. Any insight into

Panic: ffs_blkfree on 6.0 GENERIC.MP

2018-01-10 Thread George Kourvoulis
Hello, Today I have found one of my gateways (VM on esxi 6.5) in the state that is shown here: https://imgur.com/a/SV687 Unfortunately I didn't have time to gather more info because I had to reboot the machine in order to resume operations. Any pointers would be much appreciated. Thanks,

Re: Kernel memory leaking on Intel CPUs?

2018-01-10 Thread Zbyszek Żółkiewski
10 years passed, Theo de Raadt: https://marc.info/?l=openbsd-misc=118296441702631 _ Zbyszek Żółkiewski > > https://spectreattack.com/ >

Reinitializing software from hardware clock?

2018-01-10 Thread Maximilian Pichler
My vague understanding of how OpenBSD keeps track of time is: * At boot the software clock (the value returned by gettimeofday) is initialized from the hardware clock (the one with the coin-shaped battery). * The software clock is then incremented hz(9) times a second by a CPU interrupt. My

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Janne Johansson
2018-01-10 12:30 GMT+01:00 Maximilian Pichler : > My vague understanding of how OpenBSD keeps track of time is: > > * At boot the software clock (the value returned by gettimeofday) is > initialized from the hardware clock (the one with the coin-shaped > battery). > > Not

Re: no valid ntpd peers

2018-01-10 Thread Maximilian Pichler
On Wed, Jan 10, 2018 at 11:55 AM, x9p wrote: > I had similar problems once under VirtualBox, other OS. try switching from > NAT to BRIDGED > mode and give it a try. Thanks, but no luck on my end. Any insight into why this should have helped?

Probable mistake in PF tagging example ruleset order

2018-01-10 Thread Aham Brahmasmi
Hi, I am trying to learn and understand the pf tagging mechanism. I was wondering whether my understanding of the order in the example at https://www.openbsd.org/faq/pf/tagging.html is correct. If it is, then there might be a mistake in the order. The relevant lines are ... pass out on egress

Re: Performance issues as KVM guest?

2018-01-10 Thread Mark Carroll
On 10 Jan 2018, Mike Larkin wrote: > On Wed, Jan 10, 2018 at 03:51:19PM +, Mark Carroll wrote: (snip) >> I wondered, is anybody else seeing significant performance problems with >> OpenBSD (or other BSDs) virtual instances since Meltdown patching? Is >> there anything to tweak at my end or am

Re: Reinitializing software from hardware clock?

2018-01-10 Thread Christian Weisgerber
On 2018-01-10, Maximilian Pichler wrote: > * At boot the software clock (the value returned by gettimeofday) is > initialized from the hardware clock (the one with the coin-shaped > battery). ... from the RTC ("real-time clock"), yes. > My question is: Can OpenBSD be

Re: no valid ntpd peers

2018-01-10 Thread Craig Skinner
Hi Maximilian, On Wed, 10 Jan 2018 18:10:37 +0700 Maximilian Pichler wrote: > Indeed, the ISP was to blame here. Mac OS couldn't get the time > either. Once I switched to my phone's internet connection everything > was fine. Perhaps the ISP has an NTP/date/time server for customers to sync from?

Performance issues as KVM guest?

2018-01-10 Thread Mark Carroll
Since my hosting provider https://www.bytemark.co.uk/cloud-hosting/ patched for Meltdown last weekend I'm seeing significant performance issues with an OpenBSD virtual instance there. It seems okay after a fresh reboot but then progressively returns to being very slow: for example "sleep 1" may

state of Netdata on OpenBSD

2018-01-10 Thread Alceu R. de Freitas Jr.
Hello folks, I'm considering installing Netdata on OpenBSD 6.2, but I found this issue on Github: https://github.com/firehol/netdata/issues/1083 Unfortunately, it doesn't tell if Netdata works out of the box on OpenBSD, if requires the Collectd (supposedly integrated with it) or if it doesn't

Re: Kernel memory leaking on Intel CPUs?

2018-01-10 Thread Charlie Eddy
Excuse me, I can support the far-seeing generalities in the message you linked but am confused about the specifics. It looks like processor hangs, and deadlock, and poorly documented page table handling by the MMU, are concrete issues specified. Respectfully: Are there any direct links to

Re : Lenovo T60p touchpad not working (6.2-stable/amd64)

2018-01-10 Thread gro...@grompf.net
Hi, Quite the same appears here on a no name laptop with stock 6.2 kernel. Pms0 disappears when booting in uefi mode. And not when booting in mbr mode. Strange and funny.

Re: Bitmask for 224.0.0.0 in Martians PF table entry

2018-01-10 Thread Mike Coddington
On Wed, Jan 10, 2018 at 07:55:53PM +0100, Aham Brahmasmi wrote: > Hi, > > What is the correct bitmask for the 224.0.0.0 Martian table entry in > pf.conf? > > There are two bitmasks in two links on this page - > http://www.team-cymru.org/bogon-reference-http.html. /3 in the The Text > Bogon List,

Re: gcc-4.9.4 package build signal 11 [Segmentation fault] on Ubiquiti Unifi Security Gateway

2018-01-10 Thread Diana Eichert
Just used J00 screwdriver to open my USG-PRO 4, worked great. Unfortunately I found the USG-PRO 4 uses a soldered SanDisk SDIN7DP2-4G eMMC Flash Drive. No way to replace internal storage. ;-) On Sat, 6 Jan 2018, Diana Eichert wrote: thanks, I had come to a similar conclusion, though I

Re: 4G modems for OpenBSD?

2018-01-10 Thread Daniel Gracia
This scenario is trivial, as far as the Sierra Wireless Airlink supports UDP client/server links. I.e., a properly configurated gateway (easily done through their web interface) should be able to accept UDP packets on any defined port and accept messages in the form