Re: Upgrade of current pkgsrc fails due to gtk3 on 10.99

2024-04-16 Thread Greg Troxel
Riccardo Mottola writes: > should I unkeep all stuff I don't know, including dependencies? > sometimes packages are important, but unknown since dependencies. > Python is an extreme example: I don't want it (except 2.7 core I need > to build certain things) but it is pulled in as dependency and

Re: Upgrade of current pkgsrc fails due to gtk3 on 10.99

2024-04-15 Thread Greg Troxel
Riccardo Mottola writes: > *** pkg_chk reports the following packages need replacing, but they > are not installed: py311-tomli > *** Please read the errors listed above, fix the problem, > *** then re-run pkg_rolling-replace to continue. > # pkg_info | grep tomli > py310-tomli-2.0.1nb1

Re: Upgrade of current pkgsrc fails due to gtk3 on 10.99

2024-04-14 Thread Greg Troxel
Riccardo Mottola writes: > I am running 10.99.10 and updated pkgsrc and want to upgrade with > pkg_rolling-replace > > gtk3 fails with the error below. This is about 'make replace', not pkg_rr. > I see the issue on freetype, which is a little scary. > The blocking problem whough is that

Re: make replace failing with python module conflicts

2024-03-18 Thread Greg Troxel
Riccardo Mottola writes: > I have the issue below, python upgrade conflicts with its modules. > > Usually I jsut remove these modules and retry, but here the dependency > tree is borader. > What's the best to handle this? Beyond hating the python hell. > ===> Updating using binary package of

Re: Upgrading a 90s laptop from 5.1 to 10 -- no FD or CDROM

2023-12-21 Thread Greg Troxel
"Jeremy C. Reed" writes: > On Wed, 20 Dec 2023, Greg Troxel wrote: > >> - beware that 5->10 is almost certainly not going to work. I have >> generally been doing N->N+1 on most machines, but had occasion to do >> 5->9. I found that th

Re: Upgrading a 90s laptop from 5.1 to 10 -- no FD or CDROM

2023-12-20 Thread Greg Troxel
jo...@sdf.org writes: > The days are short and work has slowed down. 'Tis the season to get the > old hardware out! I know what you mean. > I have a '98 Toshiba Satellite Pro laptop running a 2010 build of NetBSD > 5.1. It runs great including X11. No tmux though :( > > So how do I get NetBSD

Re: random lockups (now suspecting zfs)

2023-11-08 Thread Greg Troxel
Stephen Borrill writes: > On Sat, 4 Nov 2023, Simon Burge wrote: >> Greg Troxel wrote: >> >>> So to me this feels like a locking botch in a rare path in zfs. >> >> This appears to be the case. Chuck Silvers has some understanding of >> the probl

Re: Static IPv6, dhcpcd, and defaultroute6 issue

2023-11-05 Thread Greg Troxel
jo...@sdf.org writes: > I want to configure a static IPv6 along with a DHCP IPv4 on my Rock64 > running NetBSD10_beta. However, I'm not able to get the default route for > IPv6 set on boot. > > Here are my interface specific dhcpcd.conf entries: > interface awge0 > noipv6rs > static

Re: updating kernel AND modules

2023-11-04 Thread Greg Troxel
Thomas Klausner writes: > The NetBSD guide does not talk about kernel modules at all in the > updating section > (https://www.netbsd.org/docs/guide/en/chap-kernel.html, > http://netbsd.org/docs/guide/en/chap-updating.html) > > What is the current best-practice method for that? My update method

Re: random lockups (now suspecting zfs)

2023-11-04 Thread Greg Troxel
Simon Burge writes: > 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 >>

Re: file-backed cgd backup question

2023-11-01 Thread Greg Troxel
Paul Ripke writes: >> #!/bin/sh >> >> dd if=/dev/zero of=VND bs=1m count=1 >> cat VND > VND.000 >> vnconfig vnd0 VND >> cat VND > VND.001 >> newfs /dev/rvnd0a >> cat VND > VND.002 >> vnconfig -u vnd0 >> cat VND > VND.003 > > At least this DTRT: > > dd if=VND of=VND.004 iflag=direct That (and

Re: random lockups (now suspecting zfs)

2023-11-01 Thread Greg Troxel
Paul Ripke writes: > 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

Re: file-backed cgd backup question

2023-10-22 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: > g...@lexort.com (Greg Troxel) writes: > >>> vnd opens the backing file when the unit is created and closes >>> the backing file when the unit is destroyed. Then you can access >>> the file again. > >>

Re: file-backed cgd backup question

2023-10-21 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: > g...@lexort.com (Greg Troxel) writes: > >>I dimly knew this, but keep forgetting. Reading vndconfig(8), it does >>not explain that the normal path leads to incorrect behavior (stale >>reads from file cache even afte

Re: random lockups

2023-10-20 Thread Greg Troxel
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 memory used for ARC, which has been working well. All 3 tmux windows show something like [

Re: file-backed cgd backup question

2023-10-20 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: > vnd has an optimization where the backing file isn't touched, but > the underlying device is accessed directly. Then file cache and > device aren't in sync and a backup program reading the file might > read stale data. vnd should probably update the

random lockups

2023-10-18 Thread Greg Troxel
I have a 2019 Dell SFF computer, which I think has 9th gen i7, with 32G ram and a samsung ssd total memory = 32577 MB cpu0: "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz" wd0: i915drmkms0 at pci0 dev 2 function 0: Intel UHD Graphics 630 (rev. 0x02) It's running netbsd-10 with modesetting,

Re: Call for testing: certctl, postinstall, TLS trust anchors

2023-10-09 Thread Greg Troxel
Taylor R Campbell writes: >> Date: Sun, 08 Oct 2023 10:54:13 -0400 >> From: Greg Troxel > See above: if you know of applications that rely on /etc/openssl/certs > for S/MIME, and it's not just a joke (which most open-ended > interorganizational use of

Re: Call for testing: certctl, postinstall, TLS trust anchors

2023-10-08 Thread Greg Troxel
(I've been putting off thinking about and dealing with this due to juggling too many other things.) Taylor R Campbell writes: > The new certctl(8) tool is provided to manage the TLS trust anchors > configured in /etc/openssl/certs with a simple way to change the > source of trust anchors or

Re: cgd questions

2023-10-03 Thread Greg Troxel
Thomas Klausner writes: > IIUC the cgdconfig man page correctly, this is how you do that: > > To create a new parameters file that will generate the same key as an old > parameters file: > > # cgdconfig -G -o newparamsfile oldparamsfile > old file's

Re: cgd questions

2023-10-01 Thread Greg Troxel
Thomas Klausner writes: > When I pick up a cgd disk and want to use it on a NetBSD system to > which it was not connected before, what do I need? > > - the passphrase > - the /etc/cgd/foo file? > > If you need the /etc/cgd/foo file too, how do people handle those for > cgds used as backup disks?

Re: security/mozilla-rootcerts-openssl post certificate inclusion in base

2023-09-26 Thread Greg Troxel
Chavdar Ivanov writes: > lack cause anything? On top of this, I seem not to be able to remove > mozilla-rootcerts-openssl, as it is required by hs-x509-system, itself > required eventually by converters/pandoc. (I sorted this out by That's a bug. It is against policy for a package to require

Re: possible NFS trouble

2023-09-20 Thread Greg Troxel
David Brownlee writes: > On Thu, 24 Aug 2023 at 15:27, Greg Troxel wrote: >> >> I did not try this build with the new computer under 9. >> >> It occurred to me that I need to find a parallel filesystem exerciser >> and try that, as simpler than the thunderb

Re: modesetting vs intel in 10.0

2023-09-04 Thread Greg Troxel
nia writes: > On Sat, Aug 26, 2023 at 06:47:01AM -0400, Greg Troxel wrote: >> I am new to modern intel graphics. I have a UHD 630 with a 9th >> generation (coffee lake?) CPU. It is using intel, and it works for >> xterm :-) But I see artifacts while typing into

Re: ERROR: No valid Python version

2023-09-04 Thread Greg Troxel
Chavdar Ivanov writes: > Yes, it was replacing cmake at the time, which eventually needed libxslt. In that case your choice is to fix the real issue first, work around with a large number of -X, or use -k and see what gets done. >> I don't know what's going on, and would suggest turning on

Re: ERROR: No valid Python version

2023-08-31 Thread Greg Troxel
Chavdar Ivanov writes: > > --- > ===> Building binary package for libxslt-1.1.38nb1 > => Creating binary package /usr/pkgsrc/packages/All/libxslt-1.1.38nb1.tgz > ===> Installing binary package of libxslt-1.1.38nb1 > pkg_add: A different version of libxslt-1.1.38nb1 is already > installed:

Re: ERROR: No valid Python version

2023-08-30 Thread Greg Troxel
Riccardo Mottola writes: > Hi, > > Greg Troxel wrote: >> did you cd to devel/scons (or really the PKGPATH of the installed pkg) >> and type "make replace". The pkg_rr man page says, or should say, to do >> that, and then to deal with that error as if it w

Re: ERROR: No valid Python version

2023-08-29 Thread Greg Troxel
Riccardo Mottola writes: > Hi, > > pkg_rolling-replace of current pksgrc on 10.99.7 stops with this error: > > RR> Replacing py310-scons-3.1.2nb4 > ===> Cleaning for none-scons-3.1.2nb7 > ERROR: This package has set PKG_FAIL_REASON: > ERROR: No valid Python version > *** Error code 1 did you cd

Re: modesetting vs intel in 10.0

2023-08-27 Thread Greg Troxel
David Brownlee writes: > That would be correct, though current and -10 support is better than > -9. On a 9th gen cpu, UHD 630 graphics, netbsd-9 is wsfb, but intel driver and modesetting function at least mostly with netbsd-10. I'm typing this from intel driver working totally ok except for

Re: modesetting vs intel in 10.0

2023-08-26 Thread Greg Troxel
nia writes: > On Fri, Aug 25, 2023 at 08:55:13PM +0100, David Brownlee wrote: >> Picking up on this, particularly with netbsd-10 looming, I think we >> should at least whitelist some known good-with-modesetting Intel GPUs, >> with a plan to swapping over to whitelisting keep-on-intel Intel over

Re: possible NFS trouble

2023-08-24 Thread Greg Troxel
Martin Husemann writes: > On Thu, Aug 24, 2023 at 09:22:13AM -0400, Greg Troxel wrote: >> I ran a build, and it was erroring out with IO errors, and restarting >> kept having errors. I suspected NFS concurrency, and reran it with >> MAKE_JOBS=1 and it seems to have gone

possible NFS trouble

2023-08-24 Thread Greg Troxel
My situation is a little complicated; hence "possible". I had a setup where things were ok: 2010 computer with 4 cores, 24G RAM, 67% tmpfs (so 16G), SSD with UFS2. netbsd-9 amd64 lower-end 2010 computer 'xen' with 2 cores, 8G RAM, SSD with / and /usr UFS2 and most of it zfs. Sometimes

Re: Growth in pool usage between netbsd-9 and -10?

2023-08-19 Thread Greg Troxel
Paul Ripke writes: >> That seems a little excessive, to my eye? Is this "normal"? Having >1/4 of >> RAM >> apparently used mostly for file metadata, if I'm reading this correctly? I >> don't recall the usage under -9, unfortunately, but I also never had a reason >> to look. In general, kernel

Re: Growth in pool usage between netbsd-9 and -10?

2023-08-19 Thread Greg Troxel
Paul Ripke writes: > Following up, I see buf2k allocated when I run 'git status' under > netbsd/pkgsrc, > netbsd/src, etc repos. I also see growth during /etc/daily. The filesystem is > ffsv2 with log, on raidframe raid1 of wd[01]a. You might try setting kern.maxvnodes to 64 and then back and

Re: 10.99.7 panic: defibrillate

2023-08-13 Thread Greg Troxel
Would it be useful for heartbeat to have a just-log-don't-panic option? It feels like are in a state where we know there is a problem somewhere, and we don't know if it is in heartbeat, the kernel, or hardware. I would not want to run a watchdog that reboots the system unless the FP rate is well

Re: Strange behavior for route(8)

2023-07-28 Thread Greg Troxel
Paul Goyette writes: Paul Goyette writes: > Can anyone exlpain what I'm doing wrong? > {184} route show -inet net 192.168.0/24 > route: botched keyword: 192.168.0/24 > Usage: route [-dfLnqSsTtv] cmd [[-] args] route show is documented to print the table. It does not take narrowing

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-24 Thread Greg Troxel
Brian Buhrow writes: > Hello. The ARP cache timeout used to be 1200 seconds or 20 minutes, > hard coded. Now, it > looks like it's either 1200 seconds or 300 seconds, I'm not sure after a > quick romp through the > kernel source. In any case, The fact that you're getting regular

Re: error installing libiconv-1.17

2023-03-27 Thread Greg Troxel
> I think this is a bug, since it prevents a proper upgrade. Certainly it is. These bugs are not that rare. There is typically a link line to make a binary that needs libs that are part of the package and libs that are in pkgsrc (in dependencies). So it ends up being something that sort of is

Re: clang-built NetBSD and rust

2023-03-27 Thread Greg Troxel
Havard Eidnes writes: > I've looked at > > ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD-llvm/latest/amd64/binary/sets/ > > and specifically the base.tar.xz file, and it doesn't look like it has > libgcc_s at all, but apparently MKGCC=yes will build it, but that > doesn't appear to be the

Re: lang/guile30 build issue: lto support missing in ar/ranlib

2023-01-08 Thread Greg Troxel
Thomas Klausner writes: > On 10.99.2 after the load sections 2->4 change I see the following > when building lang/guile30: > > ar: libguile_3.0_la-alist.o: plugin needed to handle lto object > ranlib: .libs/libguile-3.0.a(libguile_3.0_la-alist.o): plugin needed to > handle lto object > CCLD

Re: 10_BETA: Nice QOL improvements to the installer

2022-12-21 Thread Greg Troxel
Salil Wadnerkar writes: > Mayuresh wrote: >> On Wed, Dec 21, 2022 at 09:25:30AM +1300, Lloyd Parkes wrote: >>> I was installing on amd64 and the installer let me choose either MBR or GPT, >> I notice a separate image marked "bios" >> >> NetBSD-10.0_BETA-amd64-bios-install.img.gz >>

Re: /etc/protocols generation

2022-12-16 Thread Greg Troxel
Jan Schaumann writes: > 1) Since this is solving the same problem using the > same input and producing the same output, the awk > scripts there resemble those from pkgsrc/net/iana-etc/ > necessarily. Those, however, are released under the > Open Software License ("OSL") v. 3.0. I don't know >

Re: Branching for netbsd-10 next week

2022-12-09 Thread Greg Troxel
Robert Elz writes: > | And it's not just NetBSD > > The relevant issue is, in that NetBSD10 might have EA support, but > perhaps without them being enabled by default on anything, for which > the solution, and its ramifications are a peculiarly NetBSD issue > (the same thing does not apply to

Re: Branching for netbsd-10 next week

2022-12-09 Thread Greg Troxel
Robert Elz writes: > | - packets from pkgsrc (like samba) will continue to have the > | corresponding options disabled by default > > Those packages could have warnings in DESCR and MESSAGE (or whatever it > is called) advising of the need for FFSv2ea for full functionality. > How

Re: ghc and current aarch64

2022-11-20 Thread Greg Troxel
Clay Daniels writes: > I'm impressed with your patience, Greg. I always do a fresh install, > mostly just writing over the one before, but sometimes I use Gparted > on a usb stick to get it really clean.  It gives me a chance to > install fresh copies, or even versions, of my basic apps, like >

Re: ghc and current aarch64

2022-11-20 Thread Greg Troxel
Clay Daniels writes: > Thanks for the clue. compat90 has other libs like libterminfo that I > have been missing in 9.99.106 for the last week or so. I had given up > and loaded the 9.3 release, which I will say is really good. But I > can't seem to give up current, it's some kind of odd

Re: namespace pollution? clone()

2022-07-26 Thread Greg Troxel
Thomas Klausner writes: > When compiling inkscape I found a weird compilation error that I > traced down to clone() being in the visible namespace. > > https://gitlab.com/inkscape/inbox/-/issues/7378 It's too bad they are expressing 'not supported' to avoid a reasonable change. Normally 'not

Re: Script to create bootable arm images?

2022-06-24 Thread Greg Troxel
Brook Milligan writes: >> On Jun 24, 2022, at 12:45 PM, Jason Thorpe wrote: >> >>> On Jun 24, 2022, at 11:02 AM, Brook Milligan wrote: >>> >>> build.sh works great to create, for example, binary/gzimg/armv7.img.gz. >>> >>> However, that is not necessarily a bootable image, at least on

Re: CVS commit: src

2022-05-25 Thread Greg Troxel
Alistair Crooks writes: > On Wed, May 25, 2022 at 15:13 Greg Troxel wrote: > >> >> Slightly, but not really. Back then, there was multicast routing, and >> then there was the mbone project for wide-area multicast because the >> internet didn't yet support it lik

Re: CVS commit: src

2022-05-25 Thread Greg Troxel
On May 25, 2022 4:55:58 PM UTC, nia wrote: >On Wed, May 25, 2022 at 09:50:29PM +0700, Robert Elz wrote: >> What is in pkgsrc/mbone is mostky tge ancient mbone tools >> (I don't recognise everything) and the name fits for that. >> We have nothing mbone in base that I know if, nomkmbone >> (or

Re: CVS commit: src

2022-05-25 Thread Greg Troxel
nia writes: > On Wed, May 25, 2022 at 08:42:20AM -0400, Greg Troxel wrote: >> I was really surprisd that we had mbone applications in base; to me, >> that would mean things like vic and vat. >> >> This is not about about MBONE; it's about multicast routing. The mbon

Re: CVS commit: src

2022-05-25 Thread Greg Troxel
"Nia Alarie" writes: > Module Name: src > Committed By: nia > Date: Wed May 25 10:18:30 UTC 2022 > > Modified Files: > src/distrib/sets/lists/base: mi > src/distrib/sets/lists/etc: mi > src/distrib/sets/lists/man: mi > src/etc: Makefile > src/etc/mtree:

Re: File system corruption due to UFS2 extended attributes

2022-05-24 Thread Greg Troxel
Chuck Silvers writes: > The introduction in NetBSD's implementation of UFS2 of the extended > attribute code from FreeBSD has introduced a compatibility problem > with previous releases of NetBSD. The explanation of this problem is > a bit involved and requires knowing some history, so please

Re: error upgrading packages on current / pkg database

2022-05-01 Thread Greg Troxel
Riccardo Mottola writes: > *** pkg_chk reports the following packages need replacing, but they > are not installed: py37-gobject > *** Please read the errors listed above, fix the problem, > *** then re-run pkg_rolling-replace to continue. > > Indeed it is not installed, I only have the py27

Re: error upgrading packages on current / pkg database

2022-04-15 Thread Greg Troxel
Mike Pumford writes: > On 15/04/2022 17:19, Riccardo Mottola wrote: >> Hello, >> >> I did a full system upgrade (running now ) and then got current pkgsrc. >> >> Now I try to run pkg_rolling-replace -uv ; it compiled for days, then stops. >> >> disc# pkg_admin check >>

Re: error upgrading packages on current / pkg database

2022-04-15 Thread Greg Troxel
Riccardo Mottola writes: > disc# pkg_admin check > ...pkg_admin: can't open > /usr/pkg/pkgdb/glib2-2.70.2nb1/+CONTENTS: No such file or directory > > disc# pkg_admin rebuild > pkg_admin: glib2-2.70.2nb1: can't open `+CONTENTS' > > disc# pkg_admin rebuild-tree >

Re: Status of NetBSD virtualization roadmap - support jails like features?

2022-04-15 Thread Greg Troxel
However, this week I read a post on Reddit[2] that was a bit disturbing to me. Meaningfully, it proclaims that the main development platform for nvmm is now DragonflyBSD rather than NetBSD. It also claims that the implementation in NetBSD is now "stale and broken". Comparing the

Re: odd setlist failure

2022-02-25 Thread Greg Troxel
matthew green writes: > this should be fixed now. sorry for the fallout. Thanks. I can confirm that current as of 25th 1802Z builds and boots as a XEN3_DOM0 (but I'm not really running X11 on it)a. signature.asc Description: PGP signature

odd setlist failure

2022-02-25 Thread Greg Troxel
current fails to build for me, complaining about ati_drv.so.19 in destdir but not in setlist. I see that .6 is in the setlists now. It my destdir I have: -r--r--r-- 1 gdt wheel 7420 Jan 26 10:48 /usr/obj/gdt-current/destdir/i386/usr/X11R7/lib/modules/drivers/ati_drv.so.6 -r--r--r-- 1

Re: pkg_rolling-relace reports mismatch

2022-02-16 Thread Greg Troxel
Riccardo Mottola writes: > pkg_rolling-replace reports me this: yes but > *** pkg_chk reports the following packages need replacing, but they are > not installed: py37-gobject > *** Please read the errors listed above, fix the problem, > *** then re-run pkg_rolling-replace to continue. it

Re: Bug or no Bug?

2022-02-09 Thread Greg Troxel
6b...@6bone.informatik.uni-leipzig.de writes: > Hello, > > I have installed the 9.99.xx kernel on several systems. On most > systems there are no problems. On a Dell 2800, the kernel crashes > during boot. The problem only occurs if the option LOCKDEBUG is set. > > options LOCKDEBUG

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Greg Troxel
Valery Ushakov writes: > On Wed, Dec 15, 2021 at 07:53:55 -0500, Greg Troxel wrote: > >> I wonder if "rm -rf" should actually succeed with these modes, by doing >> a chmod when necessary. It has always seem to me that -f is supposed to >> really mean -

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Greg Troxel
Andreas Gustafsson writes: > m...@netbsd.org wrote: >> I hope fixing this is enough to fix all the cryptic issues. > > The build is now fixed, but I still need to give the testbeds the > ability to automatically remove objdirs containing non-writable > directories, because otherwise they will

Re: backward compatibility: how far can it reasonably go?

2021-12-09 Thread Greg Troxel
ya...@sdf.org writes: >> "Greg A. Woods" writes: >> I am unclear if ipf has been removed by default from current. > > Even in NetBSD 9, ipf is not in the GENERIC kernel config. > > Was the kernel compiled to use ipf? > > e.g. add to kernel config: > options IPFILTER_LOG# ipmon(8)

Re: backward compatibility: how far can it reasonably go?

2021-12-08 Thread Greg Troxel
"Greg A. Woods" writes: > So I've got a couple of old but important machines (Xen amd64 domUs) > running NetBSD-5, and I've finally decided that I'm reasonably well > enough prepared to try upgrading them. > > However it seems a "modern" (9.99.81, -current from about 2021-03-10) > kernel with

the openssl 3 question

2021-09-30 Thread Greg Troxel
This discussion belongs, I think, on tech-userlevel, but as that may be sparse I wanted to point out once that with openssl 3's release, a number of questions arise. Please follow up on tech-userlevel unless somebody like martin@ wants to have the discussion some place else (fine with me, but

Re: Problem reports for version control systems

2021-05-02 Thread Greg Troxel
Robert Swindells writes: > Lloyd Parkes wrote: >>The network is a 1Gb/s LAN through to a smaller NetBSD router running >>NPF with MSS clamping enabled so that I can get Netflix. My ISP does not >>use CGN for my IPv4 connection. My IPv6 connection is tunnelled through >>to Hurricane Electric

Re: posix_spawn issue?

2021-05-01 Thread Greg Troxel
The actual POSIX spec may be useful: https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html signature.asc Description: PGP signature

Re: math/cgal and gcc10

2021-04-25 Thread Greg Troxel
Chavdar Ivanov writes: > Hi, > > Update to gcc10 requires > > cvs diff -u > cvs diff: Diffing . > Index: Makefile > === > RCS file: /cvsroot/pkgsrc/math/cgal/Makefile,v > retrieving revision 1.62 > diff -u -r1.62 Makefile > ---

Re: IPv6 default route flapping

2021-04-20 Thread Greg Troxel
Joerg Sonnenberger writes: > On Wed, Apr 21, 2021 at 12:54:36AM +0700, Robert Elz wrote: >> It seems as if what is happening, is that the router is sending RA's with >> the source-link addr option, which isn't being added to the neighbour >> cache. >> >> Then NetBSD is doing a NS to discover

Re: IPv6 default route flapping

2021-04-20 Thread Greg Troxel
Martin Husemann writes: > Well, adding -v or -vv would help here, especially to show the RA lifetime. > > But more interesting is what happens on the routing socket, as that is > where dhcpcd gets the idea of reachability from. A great suggestion and I 'll add turning on dhcpcd debugging and

Re: IPv6 default route flapping

2021-04-20 Thread Greg Troxel
Jan Schaumann writes: > Apr 20 01:32:32 netbsd dhcpcd[17397]: xennet0: soliciting an IPv6 router > Apr 20 01:32:34 netbsd dhcpcd[17397]: xennet0: Router Advertisement from > fe80::caa:49ff:feaf:1815 > Apr 20 01:32:35 netbsd dhcpcd[17397]: xennet0: fe80::caa:49ff:feaf:1815 is > unreachable >

Re: extra files in DESTDIR

2021-02-27 Thread Greg Troxel
bch writes: questions I still wonder about: >>> what arch are you building for >>> what was the build host >>> what was your build.sh line > So I nuked the /usr/obj directory completely (which contained the DESTDIR), > used the -A switch to confirm cvs co is properly tracking -current,

Re: extra files in DESTDIR

2021-02-26 Thread Greg Troxel
Bch writes: > I've been getting this (and worse) for a while, and just living with it: > > === 1 extra files in DESTDIR = > Files in DESTDIR but missing from flist. > File is obsolete or flist is out of date ? > -- > ./usr/libexec/ld.elf_so

how to get nodev for zfs?

2021-02-23 Thread Greg Troxel
I'm contemplating using zfs over NFS for domU package builders, and I'm basically allergic to NFS for security reasons but it should be confined. So I'm trying to reduce exposure, and have set setuid=off on zfs filesystems. That successfully prevented a suid binary from working. The other

Re: zpool import lossage

2021-02-17 Thread Greg Troxel
Lloyd Parkes writes: > You should be able to create the symlink in any directory and tell zfs > import which directory to use. Thanks for the great hint; it works, reduces ick, and limits scope of ick. In a directory searched via -d, all files are searched, not just whole disks. > I think

zpool import lossage

2021-02-16 Thread Greg Troxel
(I'm testing on 9, but am guessing this is similar on current and will if anywhere be fixed there and not necessarily pulled up to 9.) I'm starting to try out zfs. So far I don't have any data that matters. On a 1T SSD I have wd0[abe] as root/swap/usr as an unremarkable netbsd-9 system, on an

zfs howto

2021-02-12 Thread Greg Troxel
Long ago I rototilled to zfs howto adding far more questions than answers. I just did another rototill pass. https://wiki.netbsd.org/zfs/ While many \todos remain, the biggest questions I have are about NFS: If I want to export a zfs filesystem over NFS, what specifically do I need to

zfs: 9 vs current, and ZIL/L2ARC on ssd?

2021-02-11 Thread Greg Troxel
I am about to try to use zfs for the first time and have a few questions. I have a machine that is running NetBSD-9/amd64 with 2 cores, 8G of RAM, a single 1T SSD, with a smallish root/swap/usr, and about 870 GiB free intended for zfs. I am heading for one po0l that is not raid at all. I'm not

Re: cannot allocate memory running mame

2020-10-01 Thread Greg Troxel
Thomas Klausner writes: >> > /* >> > * Virtual memory related constants, all in bytes >> > */ >> > #define MAXTSIZ (256*1024*1024) /* max text size */ >> >> AFAICT for amd64 the limit is arbitrary, if you only need it temporarily for >> debugging purposes, just bump it to 512

Re: ctype and gcc9

2020-09-21 Thread Greg Troxel
Patrick Welche writes: > Since gcc9, essentially every ctype using piece of software fails with > >error: array subscript has type 'char' [-Werror=char-subscripts] > > which prompts a style question: cast every argument of every call to > a ctype function in every piece of software to

Re: arp: ioctl(SIOCGNBRINFO): Inappropriate ioctl for device

2020-09-16 Thread Greg Troxel
Thomas Klausner writes: > On Wed, Sep 16, 2020 at 11:10:55AM +0200, Martin Husemann wrote: >> On Wed, Sep 16, 2020 at 11:05:49AM +0200, Thomas Klausner wrote: >> > The one with 192.168.0.x configured is wm0. (I only have an lo0 except for >> > that.) >> >> Strange, your kernel is newer or

Re: hang (not about pkg_rolling-replace) building libvdpau

2020-09-03 Thread Greg Troxel
Chavdar Ivanov writes: > In this case I don't think it is anything to do with > pkg_rolling-replace; I've reported a few of these hangs, which happen > to happen during pkg_rolling-replace, but involve most often cmake, > but other programs as well. Apparently there are similarities in the >

Re: hang while updating pkg_rolling-replace libvdpau

2020-09-03 Thread Greg Troxel
Riccardo Mottola writes: > I finished updating all my core system to current on i386-64, kernel, > userland, etc. > > Now I launched pkg_rolling replace, it crunches through several > packages, but then hangs. > > > I tried running it several times, rebooting in between... but > nothing. What

Re: RPI3 serlial clock confusion?

2020-07-11 Thread Greg Troxel
Michael van Elst writes: > We (and others) use the mini uart for console on RPI3 to keep the > real UART for bluetooth. The mini uart has a limited FIFO, which > means you cannot run bluetooth at best speed. It would also be > subject to the changes in the core frequencies like the console is >

Re: USB cardreader under netbsd-9 "failed to create xfers"?

2020-06-27 Thread Greg Troxel
Usually this is about lack of available memory, due to fragmentation. Different parts of the USB stack do allocation differently. could be xhci vs ehci or something. does this happen if you plug it in when you have just rebooted?

Re: PATCH: Relax fdatasync checks to IEEE Std 1003.1-2008

2020-05-24 Thread Greg Troxel
Yorick Hardy writes: (I realize you later say this isn't it.) >> @@ -4141,10 +4140,6 @@ sys_fdatasync(struct lwp *l, const struct >> sys_fdatasync_args *uap, register_t *r >> /* fd_getvnode() will use the descriptor for us */ >> if ((error = fd_getvnode(SCARG(uap, fd), )) != 0) >>

Re: How long to build from source?

2020-05-08 Thread Greg Troxel
nottobay writes: > I have a 5 year old a8 laptop. How can I figure out how long compiling the > current source will take? Actually compile it and report back. Why do you need to know? It will almost certainly be less than a day. Is that going to cause you do try netbsd, or not try netbsd?

Re: sdmmc_mem_enable failed with error 60

2020-04-08 Thread Greg Troxel
Patrick Welche writes: > Having seen TSC related commits, I tried TSC again, and noticed that > I could read/write SD cards again, and irritating pckb command timeouts > stopped happening. This laptop seems stable apart from the incorrect > time. Does the time work ok with TSC, with the new

Re: PATCH: Relax fdatasync checks to IEEE Std 1003.1-2008

2020-03-25 Thread Greg Troxel
Paul Ripke writes: > On Mon, Mar 16, 2020 at 08:47:27AM -0400, Greg Troxel wrote: >> [lots of test reports about fdatasync patch] >> >> Thanks -- that's enough for me to be comfortable. >> and it's been proposed for more than long enough, with no adverse >> co

Re: PATCH: Relax fdatasync checks to IEEE Std 1003.1-2008

2020-03-16 Thread Greg Troxel
[lots of test reports about fdatasync patch] Thanks -- that's enough for me to be comfortable. and it's been proposed for more than long enough, with no adverse comments, so I'll commit it soonish.

Re: PATCH: Relax fdatasync checks to IEEE Std 1003.1-2008

2020-03-13 Thread Greg Troxel
Paul Ripke writes: >> Running atf on a GCP VM. Never run atf before, we'll see how it goes. > > Failed test cases: > dev/fss/t_fss:basic, include/t_paths:paths, > lib/libarchive/t_libarchive:libarchive, > lib/libc/sys/t_ptrace_sigchld:traceme_raise1, >

Re: PATCH: Relax fdatasync checks to IEEE Std 1003.1-2008

2020-03-12 Thread Greg Troxel
Paul Ripke writes: > Currently, fdatasync requires a file descriptor open for writing, as > per IEEE Std 1003.1, 2004: > [EBADF] > The fildes argument is not a valid file descriptor open for writing. > https://pubs.opengroup.org/onlinepubs/009695399/functions/fdatasync.html > > While, IEEE Std

Re: XEN 4.11 and 9.99.48 DOMU performance

2020-03-10 Thread Greg Troxel
I wonder if the issue is that the dom0 is single threaded, serializing all the IO. Have you done dd bs=1m from the dom0 raw disk, the dom0 backing file, and the domU ('raw disk')? I used to see X, 0.9X, and (0.9)^2 X, ish, on somewhat old Xen and older NetBSD. I would run "systat vmstat" in

Re: benchmark results on ryzen 3950x with netbsd-9, -current, and -current (no DIAGNOSTIC)

2020-03-03 Thread Greg Troxel
matthew green writes: Thanks for the very interstesting data. > below has a full summary, but the highlights: > > - DIAGNOSTIC costs 3-8% This seems higher than it ought to be. I don't doubt your measurements; I mean that probably things are being done under DIAGNOSTIC that aren't really

Re: USB umass hard drive "failed to create xfers" when attaching

2020-02-17 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: > g...@lexort.com (Greg Troxel) writes: > >>My impression is that something, perhaps more umass than *hci, needs a >>very large chunk of memory. > > umass allocates two 64k (MAXPHYS sized) DMA buffers and a few smaller ones. &g

Re: USB umass hard drive "failed to create xfers" when attaching

2020-02-17 Thread Greg Troxel
Paul Goyette writes: > First, this is on a amd64 system, witwh 8core/16thread and 128GB of RAM. > > On IRC it was suggested (thanks, maya!) that the error message might be > related to memory fragmentation. I didn't believe it (given how much > RAM I have), but a quick check with top(1) showed

Re: File corruption?

2020-01-19 Thread Greg Troxel
Robert Nestor writes: > Sorry for not being specific. When I do the shutdown on a subsequent > reboot all the filesystems are dirty forcing fsck to run. Sometimes > it finds some minor errors and repairs them. ok - I am trying to separate "corruption", which means that files that were not in

Re: File corruption?

2020-01-19 Thread Greg Troxel
Robert Nestor writes: > I’ve downloaded and installed 9.99.38 (Jan 17 build) and the original > problem I was seeing with “git” is gone. However, I’m now seeing a > new problem with file corruption, but it only seems to happen when I > do a normal shutdown. If I do a “shutdown -r now” to

Re: net/net-snmp build failure on 9.99.37

2020-01-14 Thread Greg Troxel
This appears to be a broken tar issue surounding hardlinks and Christos has backed it out. So perhaps update and rebuild and try again. I can see why you refer to 9.33.37 as a version of NetBSD, but really it is not a name for a specific version. That last number is increased when there is an

  1   2   3   >