kern.maxfiles / MAXFILES default value updated

2020-11-12 Thread Simon Burge
Hi folks, The default setting of the kern.maxfiles sysctl, indicating the maximum number of files that may be open in the system, is controlled by the maxusers kernel config option. It is able to be explicitly configured in your kernel config with "options MAXFILES=integer" as well as being able

Re: [HEADS UP] pkgsrc default database directory changed

2020-12-10 Thread Simon Burge
Thomas Klausner wrote: > (The problem is that pkg_install and pkgsrc/mk need to be changed at > the same time, which is why this change is so difficult in the first > place.) Can one of either pkg_install or pkgsrc/mk be changed now to cater for the change in advance, at the other changed "soon"

Re: Any TCP VTW users?

2022-09-15 Thread Simon Burge
Ryota Ozaki wrote: > Hi, > > Are there any users of TCP Vestigial Time-Wait (VTW)? > The feature is disabled by default and we need to explicitly > enable via sysctl to use it. > > I just want to know if we should still maintain it. I wouldn't be unhappy if it just disappeared. It's totally undo

Re: NET4501 kernel build fails

2022-10-31 Thread Simon Burge
"John D. Baker" wrote: > On Mon, 31 Oct 2022, John D. Baker wrote: > > > After this change: > > > > https://mail-index.netbsd.org/source-changes/2022/10/26/msg141745.html > > Correction: After THIS change: > > https://mail-index.netbsd.org/source-changes/2022/10/25/msg141682.html > > > The "

Re: configuring raid using gpt, large drives

2020-02-02 Thread Simon Burge
MLH wrote: > Thanks. The -s 5m is for the swap partition just in front of the > raid partition. [ ... ] Somewhat unrelated to your other issues, but why are you swapping direct to disk but using RAID for everything else? If you get disk error on one of your swap partitions that might lead to a

Re: Proposal to remove driver for the Cabletron EA41x SCSI Ethernet adapter

2020-03-15 Thread Simon Burge
Hi Jason, Jason Thorpe wrote: > We have a driver for this device in sys/dev/scsipi/if_se.c. It was > pretty popular with the pc532 crowd back in the day because SCSI was > the only expansion bus the pc532 had. Oi! What's this "back in the day" business, young fella? > There are changes coming

Re: recent changes to pthread_fork.c:fork() cause static linking to fail if the app provides its own malloc()

2020-07-14 Thread Simon Burge
Kamil Rytarowski wrote: > On 14.07.2020 06:28, Martin Husemann wrote: > > On Tue, Jul 14, 2020 at 02:49:00AM +0200, Joerg Sonnenberger wrote: > >> Replacing malloc is just as invalid from a strict standard compliance > >> perspective, so *shrug* > > > > Why is that? > > > > We have e.g. shells/s

Re: new fork issues; preventing shutdown

2017-11-09 Thread Simon Burge
G'day Thomas, Thomas Klausner wrote: > I updated to 8.99.6 from yesterday and then started a bulk build. > After a very short while it was hung and I couldn't connect from > outside. When I came back to the console, I saw that it had run out of > resources and couldn't fork anything. > > There w

ntpd stratum 1 funny offset with NetBSD 6 branch

2013-07-18 Thread Simon Burge
Hi folks, Is anyone happily running a stratum 1 NTP server with a GPS with a PPS signal on NetBSD 6? I've got a Garmin GPS18x on a Soekris net4801 where the GPS clock has a funny offset. Here's the output from "ntpq -pn": remote refid st t when poll reach delay offset

Re: ntpd stratum 1 funny offset with NetBSD 6 branch

2013-07-19 Thread Simon Burge
Hi Johhny, Johnny Billquist wrote: > On 2013-07-19 06:30, Simon Burge wrote: > > Hi folks, > > > > Is anyone happily running a stratum 1 NTP server with a GPS with a PPS > > signal on NetBSD 6? > > My first reaction is that your first paste is from having ntpd

Re: ntpd stratum 1 funny offset with NetBSD 6 branch

2013-07-19 Thread Simon Burge
Hi Frank! Frank Kardel wrote: > Hi Simon ! > > Two observations: > NetBSD 5 has 4.2.4p6. > > NetBSD 6+current have 4.2.6p5. I did try 4.2.4p6 (from NetBSD 5) on NetBSD 6 and behaves the same broken way. Just for kicks, I tried a NetBSD 6 kernel on NetBSD 5 but ntpd reports refclock_

Re: ntpd stratum 1 funny offset with NetBSD 6 branch

2013-07-21 Thread Simon Burge
Frank Kardel wrote: > The NMEA driver has a section that checks the relation between > the time code and the PPS time stamps (refclock_ppsrelate). > > This code attempts to determine if the last PPS time stamp matches > the received timecode within bounds. This code is sensible to > time1 (pps of

Re: ntpd stratum 1 funny offset with NetBSD 6 branch

2013-07-21 Thread Simon Burge
Christos Zoulas wrote: > In article <20130719161217.0e11359...@thoreau.thistledown.com.au>, > Simon Burge wrote: > > >Just for kicks, I tried a NetBSD 6 kernel on NetBSD 5 but ntpd reports > > > > refclock_nmea: time_pps_setparams failed: Inappropriate

Re: panic with UFS_DIRHASH

2023-06-30 Thread Simon Burge
Hi FeZ, Fekete_Zolt wrote: > I have just built my own kernel in -current. > It seems that there is a panic on certain directory operations. I > experienced in the install phase of a slightly large package with pkgin. > Last call on the stack is ufsdirhash_findslot(). > > The panic causes also fi

Re: dtracing unlink

2023-10-20 Thread Simon Burge
Hi Thomas, Thomas Klausner wrote: > On Fri, Oct 20, 2023 at 11:20:00PM +0200, Roland Illig wrote: > > Am 20.10.2023 um 22:38 schrieb Thomas Klausner: > > > Hi! > > > > > > I'm trying to find out what a program does, and found it does a lot of > > > unlink syscalls, so I wanted to see what it unli

Re: sys/clock.h

2023-10-26 Thread Simon Burge
Hi Jan, Jan Schaumann wrote: > > It looks like in order to be able to use sys/clock.h, > > one needs to first include either inttypes.h or > > stdint.h _before_ sys/clock.h. > > > > I've long made it a habit of sorting includes > > alphabetically and according to /usr/share/misc/style, > > which

Re: Can't cross-build on macOS: clock.h

2023-10-27 Thread Simon Burge
Martin Husemann wrote: > On Fri, Oct 27, 2023 at 08:49:53AM +0200, Tobias Nygren wrote: > > The header being used from the tools build was an unexpected surprise > > but such reasons are why those ifdef guards exist. So I think it > > just just be put back the way it was. The example came from > >

Re: Can't cross-build on macOS: clock.h

2023-10-27 Thread Simon Burge
Valery Ushakov wrote: > On Fri, Oct 27, 2023 at 19:10:09 +1100, Simon Burge wrote: > > > isn't installed on all architectures? The original > > change was to include but then that added #ifdef magic. > > > > Since is already a system header file, wouldn&

Re: random lockups (now suspecting zfs)

2023-11-03 Thread Simon Burge
Hi Greg, Greg Troxel wrote: > Fri, Oct 20, 2023 at 01:11:15PM -0400, Greg Troxel wrote: >> A different machine has locked up, running recent netbsd-10. I was >> doing pkgsrc rebuilds in zfs, in a dom0 with 4G of RAM, with 8G total >> physical. It has a private patch to reduce the amount of mem

Re: LinkQuotaExceeded

2023-11-27 Thread Simon Burge
Chavdar Ivanov wrote: > I wonder if it is because of some limitation in the (ufs2) filesystem > the build is going on. UFS has a limit of 32767 links per file and this limit applies to the number of subdirectories a directory can have too. Does find . -links +3 find anything when you see

Re: Problem with umass/scsibus/wd0

2024-03-12 Thread Simon Burge
Michael van Elst wrote: > p...@whooppee.com (Paul Goyette) writes: > > >[ 29641.773703] umass0 at uhub11 port 4 configuration 1 interface 0 > >[ 29641.773703] umass0: Western Digital (0x1058) Elements 2621 (0x2621), rev > >3.20/10.34, addr 4 > >[ 29641.773703] umass0: using SCSI over Bulk-Only >