Re: /var/log/failedlogin is a binary file with a lot of null bytes?!

2021-07-17 Thread Philip Guenther
n/login/failedlogin.c and consists of an array of the 'badlogin' structure specified there. If you want to dump its contents in a more readable format then you should write a small program to do so in C or some other language which can easily handle binary files. Philip Guenther

Re: udp sendto performance

2021-07-06 Thread Philip Guenther
f you have a target and are trying to figure out whether a setup can _reach_ that target then measuring an older release tells you nothing, because you would never deploy an out of date release. I Would Dearly Hope. Philip Guenther

Re: EACCES of UDP packet

2021-06-22 Thread Philip Guenther
cket was not sent to a broadcast address": *how* have you confirmed that your understanding of 'broadcast address' matches the kernel's understanding? It ain't just 255.255.255.255 Philip Guenther > > > Siegfried > siegfried.le...@gmail.com > > > > > > On Jun 15, 202

Re: Usage of .note.openbsd.ident

2021-05-26 Thread Philip Guenther
d actively hostile to portability of tooling. If you find that ELF note obnoxious, just fix the linkers to instead set the ELF ABI field correctly. As I understand it, the 'go' tool chain has done that for years. It's really the better choice for this, would take less space and be faster to

Re: Fwd: umm_map returns unaligned address?

2021-04-23 Thread Philip Guenther
_mode_start_audio_thread(), where you advance the pointer from uvm_map() by four. Philip Guenther

Re: umm_map returns unaligned address?

2021-04-23 Thread Philip Guenther
d_page(memory_size), uvm_object, >0, 0, UVM_MAPFLAG(PROT_READ | PROT_WRITE, PROT_READ | PROT_WRITE, >MAP_INHERIT_NONE, MADV_NORMAL, 0))) { > memory = 0; > This error handling is incomplete, lacking an unmap. Philip Guenther

Re: Unable to listen properly on UDP port 4500

2020-12-08 Thread Philip Guenther
, which is enabled by default. If you're a masochist and likes making your life more difficult, you can use that port for your own purposes by disabling that sysctl. If you're not a masochist, use a different port. Philip Guenther On Tue, Dec 8, 2020 at 4:13 PM Chris Johnson wrote: > He

Re: Potential ksh bug?

2020-11-17 Thread Philip Guenther
well it is good idea to avoid reserved words as a names for variables > ;-) > (test) Hmm? * 'test' is not a reserved word in the shell * shell variable names are a completely different namespace than shell reserved words or commands * code written to check whether something is a bug is 1000% out-of-bounds for style comments: either there's a bug or there isn't Philip Guenther

Re: OpenBSD 6.8 (release) guest (qemu/kvm) on Linux 5.9 host (amd64) fails with protection fault trap

2020-11-16 Thread Philip Guenther
why your host kernel isn't applying a documented fix. Paying attention to what the kernel tells you is a Good Thing. Honestly, what you showed above, that it trapped on wrmsr with those registers should have been enough for the qemu people to figure out what wasn't working. Philip Guenther

Re: time_t

2020-10-05 Thread Philip Guenther
g both the field size limit problem and the lack of subsecond resolution. Philip Guenther

Re: i386, parallel port permission error?

2020-08-19 Thread Philip Guenther
e them, the code must use i386_iopl(2) from libarch.a to enable it, which in turn requires the machdep.allowaperture sysctl to a non-zero value (per the manpage). > Any advice about this? Is this code amenable to being 'modernized'? > > If can't modernize the lcdproc code, can you give me specifics about: > Do I just put a line in /etc/rc.securelevel > kern.allowkmem=1 > Try machdep.allowaperture=1 instead. Philip Guenther

Re: sysctl and panic

2020-08-04 Thread Philip Guenther
still supported ? > Yes. Philip Guenther

Re: perl hex possible bug

2020-07-21 Thread Philip Guenther
. Turn on strict... $ perl -Mstrict -le 'print hex Af;' Bareword "Af" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors. $ > I'm guessing there is a bug here but not sure if its software or > documentation. > No bug, just shell quoting traps. Philip Guenther

Re: Potential grep bug?

2020-06-24 Thread Philip Guenther
that need to change for the reported problem to be handled safely. Philip Guenther On Tue, Jun 23, 2020 at 9:58 PM Martijn van Duren < open...@list.imperialat.at> wrote: > This seems to fix the issue for me. > > OK? > > martijn@ > > On Tue, 2020-06-23 at 19:29 -0

Re: Potential awk bug?

2020-06-06 Thread Philip Guenther
u = strlen(getsval(x)); break; case FLOG: + errno = 0; u = errcheck(log(getfval(x)), "log"); break; case FINT: modf(getfval(x), ); break; case FEXP: + errno = 0; u = errcheck(exp(getfval(x)), "exp"); break; case FSQRT: + errno = 0; u = errcheck(sqrt(getfval(x)), "sqrt"); break; case FSIN: u = sin(getfval(x)); break; Todd, are we up to date with upstream, or is this latent there too? Philip Guenther

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Philip Guenther
t?" are the proper question...and the answer appears to be *no*. Philip Guenther

Re: OpenBSD insecurity rumors from isopenbsdsecu.re

2020-05-11 Thread Philip Guenther
you should stay away from OpenBSD because I am a committer and if you can't trust my questions then you shouldn't trust my code. Philip Guenther

Re: OpenBSD insecurity rumors from isopenbsdsecu.re

2020-05-11 Thread Philip Guenther
y someone who is/was a US citizen, in OpenSSH even, as a check of copyright/license statements on source files show. How does that change your world view? Philip Guenther

Re: Double fault trap in rtable_l2

2020-04-20 Thread Philip Guenther
quire you providing the full stack trace to the list, so that the correct parties can see it and identify where it's incorrectly looping. Philip Guenther

Re: Openbsd supports pae?

2020-04-10 Thread Philip Guenther
Because it would be a total PITA now and in the future and benefit only that small set of machines that have >4GB of memory but that can't run 64bit. Since you like one-liner questions: why do you care?

Re: ffs details

2020-02-25 Thread Philip Guenther
anges have been included in OpenBSD. Check his biography and his personal website for links to papers and presentations. Philip Guenther

Re: is there a 2GB limit on amd64 link?

2020-02-05 Thread Philip Guenther
mailling lists, etc of the upstream gnu fortran project about how to have it generate code for the medium or large data models per the amd64 ABI. Philip Guenther

Re: Readv and writev failing across ethernet

2019-12-24 Thread Philip Guenther
ontribute to this thread) Philip Guenther

Re: Re-organising partitions without re-installation

2019-12-23 Thread Philip Guenther
On Mon, Dec 23, 2019 at 3:10 PM Stuart Longland wrote: ... > Where do you get `sysclean` from? I don't seem to have it: > > sjl-router# man sysclean > > > man: No entry for sysclean in the manual. > > sjl-router# which sysclean > > which: sysclean: Command not found. > $ pkg_info sysclean

Re: Readv and writev failing across ethernet

2019-12-23 Thread Philip Guenther
On Mon, Dec 23, 2019 at 6:07 AM Ingo Schwarze wrote: > Theo de Raadt wrote on Sun, Dec 22, 2019 at 05:34:45PM -0700: > > Philip Guenther wrote: > >> Somebody wrote: > > >>> The man pages for readv and writev don't document the possibility of > >>&g

Re: Disabling ACPI permanently

2019-12-23 Thread Philip Guenther
acpipci0 at acpi0 PCI0panic: malloc: allocation too large, type = 33, size > = 292057776136 > Philip Guenther

Re: Readv and writev failing across ethernet

2019-12-23 Thread Philip Guenther
is point I think you're clearly in the "device driver is buggy" situation. If this device has an in-tree driver (and not something you're compiling locally into your kernel) then you should start a new thread starting with a dmesg and a clear description of the involved hardware. Philip Guenther

Re: Readv and writev failing across ethernet

2019-12-22 Thread Philip Guenther
e possibility of > such errors. IMO, weird errnos from devices should be documented in the manpage for the device. Consider the termios(4) manpage, for example. Philip Guenther

Re: Unable to build OpenBSD 6.6 libc on beaglebone black

2019-12-07 Thread Philip Guenther
rab the 6.6 bsd.rd, boot to it, and (u)pgrade to 6.6 being sure to include the comp66 set in your install, and _then_ try building things...or just run syspatch. Philip Guenther

Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-24 Thread Philip Guenther
On Sun, Nov 24, 2019 at 7:53 PM Jeffrey Walton wrote: > On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther > wrote: > > > > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton > wrote: > >> > >> I am struggling to get a USB modem and terminal configured pro

Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-24 Thread Philip Guenther
y on first open. We can (and I guess we should at this point) define O_TTY_INIT to be zero. How do I achieve O_TTY_INIT when > using a struct termios tty? > Before calling tcsetattr(3) you should call tcgetattr(3) to get the tty device's current settings and only alter the setting you care about. Philip Guenther

Re: Value of eax register after BIOS interrupt call from boot(8)

2019-11-09 Thread Philip Guenther
On Friday, November 8, 2019, Theo de Raadt wrote: > Philip Guenther wrote: > > > No, it should be the other way, moving the “clear NT flag” block down > after > > the “save registers into save area” block > > Ah. > > Ind

Re: Value of eax register after BIOS interrupt call from boot(8)

2019-11-08 Thread Philip Guenther
On Friday, November 8, 2019, Theo de Raadt wrote: > Philip Guenther wrote: > > > Since we're unlikely to do _more_ with BIOS calls in the boot loader, my > > inclination would be to eliminate the structure value and the code that > > sets it (incorrectly). Opinions?

Re: vi in ramdisk?

2019-11-07 Thread Philip Guenther
o use the ramdisks for (installing, reinstalling, upgrading, fixing boot and set issues), vi is not necessary, while other functionality and drivers extend their applicability. We will keep the latter and not include the former. Philip Guenther

Re: Value of eax register after BIOS interrupt call from boot(8)

2019-11-07 Thread Philip Guenther
e fact that the wrong value is saved there hasn't mattered. Since we're unlikely to do _more_ with BIOS calls in the boot loader, my inclination would be to eliminate the structure value and the code that sets it (incorrectly). Opinions? Philip Guenther

Re: this assembly example works in linux, netbsd - but not in openbsd, why?

2019-10-29 Thread Philip Guenther
ASM on every single current OpenBSD arch, so I understand the high cost of doing that when it _has_ been necessary and I have no interest in borking around in ASM for stuff C can reasonably do. Philip Guenther

Re: help with understanding __BSD_VISIBLE

2019-07-13 Thread Philip Guenther
ies a POSIX version _XOPEN_SOURCE-- standardized: specifies a POSIX + XSI version _ISOC11_SOURCE-- adds C2011 interfaces _BSD_SOURCE -- adds all BSD and obsoleted interfaces Make sense? Philip Guenther

Re: Putting fifos in subshells into the background

2019-06-12 Thread Philip Guenther
here the possibility that an inner redirection could be blocking wasn't taken into account when it tries to avoid unnecessary forks. Sorry, I don't have a fix in my back pocket. Your workaround is good; I'll note the intermediate set of parens can also be braces, which would let you avoid the otherwise necessary whitespace between open-parens if that grates on your soul like it does mine. :) Philip Guenther

Re: hw.ncpu=1, hw.ncpuonline=1, hw.ncpufound=4

2019-05-27 Thread Philip Guenther
ses accessing the disk"? The word 'interrupt' is overloaded in computing and what you saw may be a real problem with device support, or it may be completely innocuous, something which you should be ignoring. Philip Guenther

Re: Purpose of primary and secondary user groups

2019-01-13 Thread Philip Guenther
on directories to request BSD behavior was an addition in SystemV-based systems when enough of their devs and users yelled at them to Not Be Stupid And Provide the Better Behavior. I'm not sure who or when first added the mount option. Linux certainly has both of those, but is not the only one. Philip Guenther

Re: demystifying trap

2019-01-12 Thread Philip Guenther
ing memory for thread stacks. Philip Guenther

Re: Porting some software to OpenBSD

2019-01-05 Thread Philip Guenther
, but this brakes FreeBSD > and Linux. Am i missing something or should i be investigating the log > implementation? > Option 1) log(DEBUG, "Solo5: clock_init(): freq=%llu\n", (unsigned long long)freq); Option 2) #include log(DEBUG, "Solo5: clock_init(): freq=%"PRIu64"\n", freq); Software native to OpenBSD uses option 1 when necessary. Philip Guenther

Re: Purpose of primary and secondary user groups

2018-12-29 Thread Philip Guenther
but for SysV stuff it affects what operations processes can perform. Philip Guenther

Re: I can't make build stable 6.4

2018-12-22 Thread Philip Guenther
ource files updated in the middle of the builds. Without know the exact sequence of operations on this tree it would be hard to diagnose how this happened. "When in doubt, rm -rf /usr/obj/* before building" Philip Guenther

Re: Is HPET timer accessible in userland?

2018-12-13 Thread Philip Guenther
ross CPUs, real or virtual. Philip Guenther

Re: netstat *:* udp sockets

2018-12-13 Thread Philip Guenther
ports? > Those are just UDP sockets on which connect() hasn't been called and that aren't in the middle of a recvfrom() or recvmsg(), no? And, perhaps more directly, how would I block this in pf.conf? > Excellent choice, blocking dhclient from receiving the leases that it requests. "

Re: Core Dev?

2018-12-04 Thread Philip Guenther
that were _clearly_ going to happen is completely believable. Philip Guenther

Re: statethreads crashes in ld on 6.4

2018-12-03 Thread Philip Guenther
64.html * Implemented MAP_STACK option for mmap(2). At pagefaults and syscalls the kernel will check that the stack pointer points to MAP_STACK memory, which mitigates against attacks using stack pivots. To confirm, if you check your dmesg(8) or /var/log/messages you should find the kernel complaining something like syscall [server]65554/### sp 13cd24a## not inside 0x7f7f###-0x7f7f### Philip Guenther

Re: statethreads crashes in ld on 6.4

2018-12-02 Thread Philip Guenther
On Sun, Dec 2, 2018 at 7:51 PM Edgar Pettijohn wrote: > Sorry just saw it came with some examples. Testing with the `lookupdns' > program > ended with a Bus error (core dumped). Here is gdb output: > > Core was generated by `lookupdns'. > Program terminated with signal SIGBUS, Bus error. > #0

Re: 6.4-release tset(1) really slow, what have I missed?

2018-12-02 Thread Philip Guenther
h could be causing it. > It requested a sleep of 1 second and 15 seconds passed. That's a kernel timetracking issue, so the output of "sysctl kern.timecounter" would be a good place to start. Is this is an MP kernel using the CPU TSC, but on a VM where the virtual CPU's TSCs aren't in sync? Philip Guenther

Re: statethreads crashes in ld on 6.4

2018-12-02 Thread Philip Guenther
leading up to signal were (and what extra info was in the signal) tells a lot. Philip Guenther

Re: why thread is not usable in perl5 of OpenBSD6.4?

2018-11-25 Thread Philip Guenther
ed in this release? > Is it security reason? > Upstream has it off by default, nothing so far has needed it, and it makes things slower (or at least that's why upstream says). Why would we enable it? Philip Guenther

Re: non-interactive sh and SIGTERM

2018-11-25 Thread Philip Guenther
ed sh -c "while :; do :; done" : morgaine; : morgaine; sh -c 'while :; do sleep 1; done' & [3] 59539 : morgaine; kill 59539 : morgaine; [3] - Terminated sh -c "while :; do sleep 1; done" : morgaine; sh itself doesn't ignore SIGTERM, but rather exits after receiving it. Philip Guenther

Re: non-interactive sh and SIGTERM

2018-11-22 Thread Philip Guenther
tion the non-interactive case. > In my quick test it doesn't ignore SIGTERM, so you'll need to provide additional information for us to help you. Philip Guenther

Re: FreeBSD in vmm

2018-11-20 Thread Philip Guenther
ch from what > I read > is indicative of bad memory. In qemu it boots fine though. Not sure what I > am > missing. > Not supported yet. There will be some sort of announcement when it works. Philip Guenther

Re: CURRENT userland does not compile due to games/glorkz

2018-11-12 Thread Philip Guenther
> one single method of getting out of many holes, like yours. > > It is also perfectly fine if you want to ignore how the real world > functions, and/or give a super irritating / dislikable impression of > yourself and your personality. To give you back just a little, it certainly > seems you know your holes well enough. > That was an unpleasant turn. Philip Guenther

Re: heap full during amd64 boot.

2018-11-03 Thread Philip Guenther
a bad trade-off to me, but maybe it's the Right Thing if it'll eliminate these threads. Philip Guenther

Re: heap full during amd64 boot.

2018-11-03 Thread Philip Guenther
On Sat, Nov 3, 2018 at 7:59 AM Angelo Rossi wrote: > When using a=/ and b=swap partitioning scheme on installation or upgrading > from 6.3 with same partitioning scheme the default HEAP_SIZE=0xA > generates heap full error during boot in 6.4 amd64. To solve this I > installed the -stable

Re: How effectiate login.conf changes in console? ("ksh -l" does not)

2018-10-30 Thread Philip Guenther
On Mon, Oct 29, 2018 at 9:19 PM Joseph Mayer wrote: > On Tuesday, October 30, 2018 1:56 PM, Philip Guenther > wrote: > > On Mon, Oct 29, 2018 at 8:40 PM Joseph Mayer joseph.ma...@protonmail.com > > wrote: > > > > > After having changed /etc/login.conf I'd lik

Re: How effectiate login.conf changes in console? ("ksh -l" does not)

2018-10-29 Thread Philip Guenther
es, the only sure fire way to have login.conf changes take effect is to logout and log back in. Philip Guenther

Re: Dell PowerEdge R410 not booting 6.4

2018-10-26 Thread Philip Guenther
u aren't following recommendations, and aren't testing snapshots, then you should be 100% willing to change your configuration on upgrade, 'cause you ain't giving the feedback necessary to keep your unusual config alive * SINGLE PARTITION CONFIGS ARE DUMB, DON'T DO THAT; DON'T BOTHER COMPLAINING, JUST

Re: dmesg for edgerouter 6p

2018-10-23 Thread Philip Guenther
On Tue, Oct 23, 2018 at 12:14 PM Holger Glaess wrote: > i upgrade from an native 6.4 beta installation , no problems at all. > To quote the email sent to your local 'root' user after install/upgrade: If you wish to ensure that OpenBSD runs better on your machines, please do us a favor (after

Re: Bootloader failing to install on 2012 Mac Mini (Openbsd 6.4)

2018-10-23 Thread Philip Guenther
are: 1) the *EXACT AND FULL* error message that the upgrader reported from installboot 2) what your disklabel and partition layout looks like. The output of "df -k" from the ramdisk shell prompt after the upgrade fails would be good, for example, as it has everything mounted under /mnt. Philip Guenther

Re: ath.c -> dmesg -> bug

2018-10-10 Thread Philip Guenther
tly_ zero will never be true. That's also the only place sc->sc_tx_timer is decremented, so deleting the '--' disables the timeout. The existing code decrements it and then tests whether it's zero, effectively testing whether sc->sc_tx_timer was exactly 1. Your work to update the driver in the thread from October 5th is a more productive way to address the issues you're experiencing. Philip Guenther

Re: xscreensaver locking disabled

2018-09-20 Thread Philip Guenther
ommand -exit and then start xscreensaver against manually in a shell and see what it says. Philip Guenther

Re: make(1) and multiple outputs

2018-09-04 Thread Philip Guenther
On Tue, Sep 4, 2018 at 12:43 AM Marc Espie wrote: > On Mon, Sep 03, 2018 at 12:14:45PM -0900, Philip Guenther wrote: > ... > > Does our make have some logic in the -jN handling to detect and prevent > > that, Marc? > > Philip, is that a rhetorical question ? >

Re: make(1) and multiple outputs

2018-09-03 Thread Philip Guenther
ut it's not a great syntax and no one has done the work. Philip Guenther

Re: Cannot set swap priority to "move" swap on another disk.

2018-08-19 Thread Philip Guenther
On Sun, Aug 19, 2018 at 7:20 PM Philip Guenther wrote: ... > If that's correct, then there's no supported way to change it: the > addition of the swap partition from the boot disk is done by the kernel > before starting init, in swapmount(), which hardcodes a priority of zero. > Cor

Re: Cannot set swap priority to "move" swap on another disk.

2018-08-19 Thread Philip Guenther
one on the *boot disk*. If that's correct, then there's no supported way to change it: the addition of the swap partition from the boot disk is done by the kernel before starting init, in swapmount(), which hardcodes a priority of zero. Philip Guenther

Re: VCORE snmp, sysctl hw.sensors

2018-07-23 Thread Philip Guenther
*really* means is probably dependent on the motherboard, etc. So, we do the best we can and include a label to tell them apart (A vs B) but if you need more details you'll need to consult the Surely Very Fine and Clear documentation of your device. Philip Guenther

Re: "Cannot allocate memory" error when memory is enough

2018-07-06 Thread Philip Guenther
he output of that command for the egdb binary that fails for you, and how confident are you that it's from a -stable package and not a -current package? Philip Guenther

Re: "Cannot allocate memory" error when memory is enough

2018-07-04 Thread Philip Guenther
memory is run out, and devbuf and temp consume > most of the space. > What I saw in the output doesn't indicate that. Philip Guenther

Re: "Cannot allocate memory" error when memory is enough

2018-07-03 Thread Philip Guenther
On Tue, 3 Jul 2018, Philip Guenther wrote: Flakey button on my mouse; time to clean it again and throw it out if it keeps glitching. Sorry about that. > On Tue, Jul 3, 2018 at 4:53 PM Nan Xiao wrote: > > Thanks for your reply! The "ulimit -a" outputs following: > >

Re: "Cannot allocate memory" error when memory is enough

2018-07-03 Thread Philip Guenther
On Tue, Jul 3, 2018 at 4:53 PM Nan Xiao wrote: > Thanks for your reply! The "ulimit -a" outputs following: > > $ ulimit -a > time(cpu-seconds)unlimited > file(blocks) unlimited > coredump(blocks) unlimited > data(kbytes) 33554432 > stack(kbytes)8192 >

Re: Owner and group of a newly created file

2018-07-01 Thread Philip Guenther
this behaviour (u-s,g+s in GNU) is the mode > that I want. Perhaps this is by design. > Yep. Philip Guenther

Re: OpenBSD performance upgrade

2018-06-08 Thread Philip Guenther
gt;userspace transitions and IPIs to load the registers in the current CPU. Glad to hear it's such a large improvement for your processing. Enjoy, and remember to tip your OS vendor! Philip Guenther

Re: Building ramdisk_cd (6.3)

2018-05-23 Thread Philip Guenther
'build' should have 'build' as its default group and additionally be in group 'wobj' and no others. I mean, if you needed to add it to another group we would have documented that in the release(8) manpage... Philip Guenther

Re: CVE-2018-8897

2018-05-10 Thread Philip Guenther
m, so it can't set hardware breakpoints on x86. (I don't know whether hardware breakpoints are supported on any of the other CPUs supported by OpenBSD) > Then how do they implement memory watch? > Got me, but even the ancient, in-tree gdb is able to do so. Have you consulted the gdb source? Philip Guenther

Re: crash of OpenBSD 6.3 -stable (amd64 MP kernel) - unswapping kills connections

2018-04-27 Thread Philip Guenther
nothing has really hit the tree yet. Philip Guenther

Re: doas id -ru returns 0 ?

2018-04-23 Thread Philip Guenther
as, like su, sets both the effective and real UID to the target user's; running something with doas is not the same as making it setuid and running it. Running with effective!=real can trip up programs that didn't expect it, so it not a safe choice for something like doas. Philip Guenther

Fwd: swapctl question

2018-04-15 Thread Philip Guenther
Whoops, meant to send this to the list too: -- Forwarded message -- From: Philip Guenther <guent...@gmail.com> Date: Sat, Apr 14, 2018 at 11:13 PM Subject: Re: swapctl question To: Z Ero <zerotetrat...@gmail.com> On Sat, Apr 14, 2018 at 10:37 PM, Z Ero <zerotetr

Re: Date of yesterday

2018-04-09 Thread Philip Guenther
know how to do the Right Thing, but you're going to instead leave a bug for you or your successor to hit months or years away? Please do not do that on any system that others might depend on. Philip Guenther

Re: Date of yesterday

2018-04-09 Thread Philip Guenther
On Mon, Apr 9, 2018 at 1:36 PM, Stephane HUC "PengouinBSD" < b...@stephane-huc.net> wrote: > what? > > please, explain-me! > As I wrote before, and you quoted before: > | Did you test that after 11pm on the day when daylight-saving time ends and > | the clock is turned back, resulting in a 25

Re: Date of yesterday

2018-04-09 Thread Philip Guenther
On Mon, Apr 9, 2018 at 11:58 AM, Stephane HUC "PengouinBSD" < b...@stephane-huc.net> wrote: > get the current timestamp, subtracting 86400 seconds is not reliable to > get yesterday's date to the nearest second? > terrible! Yes, some days are 9 seconds long.

Re: Date of yesterday

2018-04-09 Thread Philip Guenther
On Mon, Apr 9, 2018 at 2:04 AM, Stephane HUC "CIOTBSD" <b...@stephane-huc.net > wrote: > as: date -r $(( $(date +%s) - 86400)) +%F > ;) ... > > On Sun, Apr 08, 2018 at 11:12:43PM -0700, Philip Guenther wrote: > > | Did you test that after 11pm on the

Re: Date of yesterday

2018-04-09 Thread Philip Guenther
hour long day? I would use this: perl -MPOSIX=strftime,mktime -le '@d=localtime(); $d[3]--; mktime(@d); print strftime("%Y_%m_%d",@d)' Philip Guenther

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-05 Thread Philip Guenther
On Thu, Apr 5, 2018 at 9:50 PM, Philip Guenther <guent...@gmail.com> wrote: > On Thu, Apr 5, 2018 at 7:53 PM, Patrick Marchand <m...@patrickmarchand.com > > wrote: > >> Output of compiling plan9port on amd64 with the april 5 snaphot >> > ... > &

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-05 Thread Philip Guenther
ort: "uname -m" returned non-zero > dmesg from this box, please. Philip Guenther

Re: Why are so many people running and writing about current snapshots

2018-03-26 Thread Philip Guenther
s "why do you give?" you should ask yourself "how am I giving, here, in my community, in my life, in the world?" Philip Guenther

Re: segfault when exiting a program

2018-03-26 Thread Philip Guenther
h known good setup, verify that it's actually good before making any changes, and then keep better notes *next* time so you can figure out how you broke it. Philip Guenther

Re: How recursive copy to clone OS installation (devices, links, owners, privileges etc.)?

2018-03-14 Thread Philip Guenther
bout disklabel and installboot: cd /mnt && pax -rwpe . /mnt2 Philip Guenther (Replies that are mangled by protonmail will be ignored.)

Re: The sysctl(3) is changed to sysctl(2)?

2018-03-12 Thread Philip Guenther
the others just to reflect that fork(2) handles pthread_atfork() registrations, and the other four do pthread cancellation checks. At this point section 2 mean, uh, "you may see this in kdump output"? Philip Guenther

Re: Which hexeditor may I use to import binary files via shell?

2018-03-10 Thread Philip Guenther
table ASCII, vis(1) and unvis(1) may be more friendly. Philip Guenther

Re: interrupt at 50% on dell E5450

2018-03-01 Thread Philip Guenther
’ve tried to remove lot of CPU performance parameters in the > Bios settings, but this has no effects. > > > > I’ve tried to disable HW elements like wifi, bluethoot, … But this has no > effect on the number of interrupts. > After a cold boot with acpimadt *enabled*, what's the ou

Re: deadfs, fifofs

2018-02-24 Thread Philip Guenther
tors for FIFOs on all filesystem, providing the actual behavior of FIFOs everywhere. Philip Guenther

Meltdown, aka "Dear Intel, you suck"

2018-01-06 Thread Philip Guenther
* (if still though to be necessary for arm) after that. No promises on only applying it to Intel CPUs or knobs to disable it, yet: we'll see how complex that would make things. As always, our own developer laptops are the first targets, so we're invested in it working and being usable. Philip

Re: Broadcast/Multicast & NTP - CAPWAP

2017-12-30 Thread Philip Guenther
theses. As I wrote before: >> If the latter, then you should take it down a level and describe what you >> tried to do, what you expected to see "on the wire/in the air", and what >> you _actually_ saw there? Philip Guenther

Re: Broadcast/Multicast & NTP - CAPWAP

2017-12-30 Thread Philip Guenther
ut not with CAPWAP and/or LWAPP.) Philip Guenther

Re: OpenBSD SPARC T4-1 softraid boot issues

2017-12-28 Thread Philip Guenther
more information for tracking down what's going on there. The full device tree listing would also be useful to see to match against that. Philip Guenther

Re: FAQ's duplicating file systems, both methods fail to reproduce correctly

2017-12-11 Thread Philip Guenther
On Mon, Dec 11, 2017 at 9:16 AM, Otto Moerbeek wrote: > On Mon, Dec 11, 2017 at 08:30:54AM -0700, Steve Williams wrote: > > cpio has always been my "go to" for file system duplication because it > will > > re-create device nodes. > > Both pax and tar do that as well. > Come on,

  1   2   3   4   5   6   7   8   9   10   >