Another sbus(4) device driver.
This code converts between milliseconds and ticks. If we strip out
the conversions we can just use milliseconds directly with
timeout_add_msec(9) and delete the conversion code, too.
This is only built for sparc64. It ought to compile but I'm not sure.
Assuming i
Ticks to microseconds.
The parameter name "ms" is misleading. All the calling code uses
microseconds. I think the author's thought process in choosing that
name was roughly: "microseconds" -> "Micro Seconds" -> "ms".
In any case, I've renamed the parameter to the less misleading
"usecs".
This
On Feb 10 14:53:33, mill...@openbsd.org wrote:
> On Mon, 10 Feb 2020 17:12:53 +0100, Jan Stary wrote:
>
> > The -r option of newsyslog(8) removes the requirement
> > that newsyslog runs as root. Would it also make sense
> > to not try to send the SIGHUP to syslogd in that case?
>
> This seems wro
Hi Ingo,
On Feb 10 22:40:20, schwa...@usta.de wrote:
> > The -r option of newsyslog(8) removes the requirement
> > that newsyslog runs as root. Would it also make sense
> > to not try to send the SIGHUP to syslogd in that case?
>
> While i'm not sure that i want to take care of this patch,
> give
On Mon, 10 Feb 2020 17:12:53 +0100, Jan Stary wrote:
> The -r option of newsyslog(8) removes the requirement
> that newsyslog runs as root. Would it also make sense
> to not try to send the SIGHUP to syslogd in that case?
This seems wrong to me. You are disabling more than just sending
a signal
On Mon, 10 Feb 2020 22:16:04 +0100, Ingo Schwarze wrote:
> Even if there were something locale-dependent in cron(8), and even
> if we consider somebody using these program in a portable way on a
> non-OpenBSD system, i believe a daemon started as root should not be
> locale-dependent, so i'd like
Hi,
Jan Stary wrote on Mon, Feb 10, 2020 at 05:12:53PM +0100:
> The -r option of newsyslog(8) removes the requirement
> that newsyslog runs as root. Would it also make sense
> to not try to send the SIGHUP to syslogd in that case?
While i'm not sure that i want to take care of this patch,
given
On Sun, Feb 9, 2020 at 4:12 PM Alexander Bluhm
wrote:
> On Thu, Feb 06, 2020 at 05:57:15PM -0500, sven falempin wrote:
> > > Your DNS lookup fails at startup, sockets are closed.
> > > Later at SIGHUP you DNS works again. Now the sockets are needed.
> > > So do not close them if DNS for udp fail
Hi,
Jan Stary wrote on Mon, Feb 10, 2020 at 01:13:58PM +0100:
> Why does cron(8) and crontab(1) need to setlocale()?
I looked through the *.c files in /usr/src/usr.sbin/cron/
and found the following locale-dependent functions:
atrun.c: isalpha(3), isupper(3)
cron.c: strtod(3)
do_comm
On Mon, Feb 10, 2020 at 09:59:09AM +, Raf Czlonka wrote:
> On Sun, Feb 09, 2020 at 12:14:47PM GMT, Alexandre Ratchov wrote:
> > Here's a new sndioctl utility similar to mixerctl(1) but using the new
> > sndio API. Example:
> >
> > $ sndioctl
Hi,
Mark Kettenis wrote:
> > Since we don't filter out hid_(end)collection, we add this item to the
> > list. So, by making sure we only add hid_input items, the Pinebook
> > Pro's trackpad works.
> >
> > Now I'm not sure if the hid code is supposed to re-use the Y-coordi-
> > nates usage on the
On Mon, Feb 10, 2020 at 02:04:06PM +0100, Mark Kettenis wrote:
> Jonathan Matthew schreef op 2020-02-10 13:19:
> > I'm trying to use aggr on top of nep(4), which has turned up a few bugs.
> > Firstly, the nic appears to report rx errors in the second interrupt
> > state vector, which the driver doe
On Sun, Feb 09, 2020 at 01:37:33PM +, Jason McIntyre wrote:
> On Sun, Feb 09, 2020 at 02:27:23PM +0100, Marc Espie wrote:
> > On Sun, Feb 09, 2020 at 12:41:43AM +0100, Sebastian Benoit wrote:
> > > Ingo Schwarze(schwa...@usta.de) on 2020.02.09 00:33:06 +0100:
> > > > Hi,
> > > >
> > > > Jason
Mark Kettenis wrote:
> Nathanael Rensen schreef op 2020-01-29 15:47:
> > The diff below adds gpio(4) support to wbsio(4) for Nuvoton NCT5104D
> > (pcengines APU2). It is based on Matt Dainty's diff posted to this list
> > in November 2018:
> >
> > https://marc.info/?l=openbsd-tech&m=15413494102
Hi Kyle,
Kyle Isom wrote on Mon, Feb 10, 2020 at 07:34:25AM -0800:
> On Sat, Feb 8, 2020, at 14:15, Jason McIntyre wrote:
>> - i'm ok with adding the path to these files to a FILES section
> Done.
I already committed a comprehensive diff doing that in a simpler
way earlier today:
https://mar
The -r option of newsyslog(8) removes the requirement
that newsyslog runs as root. Would it also make sense
to not try to send the SIGHUP to syslogd in that case?
Jan
Index: newsyslog.8
===
RCS file: /cvs/src/usr.bin/newsysl
On Sat, Feb 8, 2020, at 14:15, Jason McIntyre wrote:
> - i'm ok with adding the path to these files to a FILES section
Done.
- Kyle
Index: sbin/dhclient/dhclient.conf.5
===
RCS file: /cvs/src/sbin/dhclient/dhclient.conf.5,v
retrievi
On Mon, Feb 10, 2020 at 11:48:34AM +0100, Mark Kettenis wrote:
> On 2020-02-08 20:15, Scott Cheloha wrote:
> > On Sun, Dec 22, 2019 at 01:17:56PM -0600, Scott Cheloha wrote:
> > > lcd_softc.sc_delay's unit appears to be microseconds.
> > >
> > > ok?
> >
> > 1 month bump.
>
> While the diff looks
Patrick Wildt schreef op 2020-01-26 06:50:
Hi,
on the Pinebook Pro the trackpad isn't working. The reason is that the
Y-coordinate is extracted twice. The first location has thevalue
correctly, the second location has it zeroed or garbage. This is
because when we iterate over the report, the
Jonathan Matthew schreef op 2020-02-10 13:19:
I'm trying to use aggr on top of nep(4), which has turned up a few
bugs.
Firstly, the nic appears to report rx errors in the second interrupt
state vector, which the driver doesn't expect, so I get this:
nep3: nep_intr 0 8 0
and then, since the int
Klemens Nanni schreef op 2020-02-05 21:35:
Straight forward diff to allow calling disks names:
$ cat ldom.conf
domain guest {
vcpu 4
memory 8G
vnet
vdisk "/var/ldom/guest.img"
vdisk "/var/ldom/miniroo
Nathanael Rensen schreef op 2020-01-29 15:47:
The diff below adds gpio(4) support to wbsio(4) for Nuvoton NCT5104D
(pcengines APU2). It is based on Matt Dainty's diff posted to this list
in November 2018:
https://marc.info/?l=openbsd-tech&m=154134941027009&w=2
A key difference from Matt Daint
I'm trying to use aggr on top of nep(4), which has turned up a few bugs.
Firstly, the nic appears to report rx errors in the second interrupt
state vector, which the driver doesn't expect, so I get this:
nep3: nep_intr 0 8 0
and then, since the interrupt wasn't rearmed, the interface stops.
The
Stefan Sperling schreef op 2020-02-06 12:45:
At 36c3 I noticed roaming failures with iwm(4) where we would get stuck
trying to roam to a different AP. Debugging this with bluhm@ we found
that the reason it gets stuck is a non-zero refcount on the ic_bss
node.
When roaming, we wait for this ref
Why does cron(8) and crontab(1) need to setlocale()?
Jan
Index: cron.c
===
RCS file: /cvs/src/usr.sbin/cron/cron.c,v
retrieving revision 1.77
diff -u -p -r1.77 cron.c
--- cron.c 23 Oct 2017 15:15:22 - 1.77
+++
mv code contains copies of cp.c and rm.c
- is that so that mv can avoid the fork+exec
(and call the relevant cp/rm code itself)?
If so, is it so that mv can be pledged? It isn't.
There must be something worth the duplication ...
Jan
On 2020-02-08 20:15, Scott Cheloha wrote:
On Sun, Dec 22, 2019 at 01:17:56PM -0600, Scott Cheloha wrote:
lcd_softc.sc_delay's unit appears to be microseconds.
ok?
1 month bump.
While the diff looks ok to me, I can't test this until I have physical
access to my hppa machines.
Index: dev/lc
On Sun, Feb 09, 2020 at 12:14:47PM GMT, Alexandre Ratchov wrote:
> Here's a new sndioctl utility similar to mixerctl(1) but using the new
> sndio API. Example:
>
> $ sndioctl
> output.level=127
> app/aucat0.level=127
> app/firefox0.level=127
> a
28 matches
Mail list logo