Re: netbsd-9.99.93 crash

2022-01-22 Thread Martin Husemann
On Mon, Jan 10, 2022 at 10:18:02PM -, Christos Zoulas wrote: > In article > , > <6b...@6bone.informatik.uni-leipzig.de> wrote: > >Does that help? > > > >Regards > >Uwe > > I have the same issue and I can reproduce this on demand. I have disabled > IPv6 on this router. Has this been fixed? I

Re: the entropy bug, and device timeouts (was: Note: two files changed and hashes/signatures updated for NetBSD 8.1)

2022-01-27 Thread Martin Husemann
On Wed, Jan 26, 2022 at 10:56:53PM -0800, Greg A. Woods wrote: > Well, if you have a hardware RNG, or my patches, then that'll do > something, but otherwise it's just useless noise and misdirection. This is not true. Once there is enough entropy gathered (or the system has been told the administra

Re: xterm-color256: Different behavior between NetBSD 9.2 and 9.99.93?

2022-02-03 Thread Martin Husemann
This is fun: > setenv TERM xterm+256color > infocmp # Reconstructed from /usr/share/misc/terminfo.cdb xterm+256color|original xterm 256-color feature, ccc, colors#256, pairs#65536, initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}

Re: Dell Precision 3650 issues & sysinst

2022-02-10 Thread Martin Husemann
On Wed, Feb 09, 2022 at 12:51:51PM -0800, Phil Nelson wrote: > #3 The created partitions on the disk looked good, but the machine > wouldn't boot. After some looking around, it appears that > sysinst does create the MSDOS partition with the efi/boot > directory in it, but does not

Re: Re: Bug or no Bug?

2022-02-10 Thread Martin Husemann
The kernel lock is held too long while the graphics card is configured. I have seen that with some Nvidia cards, where I just have not been able to boot LOCKDEBUG kernels (example in PR 55185). You can patch out the kernel lock spinout code (so the kernel does not limit the KERNEL_LOCK() spin time

Re: Dell Precision 3650 issues & sysinst

2022-02-10 Thread Martin Husemann
On Thu, Feb 10, 2022 at 01:02:34PM +0100, Martin Husemann wrote: > Hmm, that used to work - but I may have broken it accidently when fixing > a similar issue for updates recently. I'll try to reproduce it. Yes - it was my change. Testing a fix now, thanks for noticing! Martin

Re: Bug or no Bug?

2022-02-10 Thread Martin Husemann
On Thu, Feb 10, 2022 at 08:05:36AM -0800, Jason Thorpe wrote: > Honestly, I think it's probably better to disable 'spinout' by > default and have it enabled by a sysctl / option. And possibly the > spin time adjustable by sysctl, too. I like that. Martin

Re: 9.99.93 kernel and still entropy hangs

2022-02-14 Thread Martin Husemann
On Mon, Feb 14, 2022 at 12:54:27PM +0100, Riccardo Mottola wrote: > [ 10879.215507] entropy: pid 6895 (python3.9) blocking due to lack of > entropy [..] > seed 0 0 ???collect, v The last line means your system did not load entropy at boot time, maybe becaus there

Re: Installation issues with 9.99.92 and 9.99.93

2022-03-01 Thread Martin Husemann
On Tue, Mar 01, 2022 at 06:59:46AM -0600, Robert Nestor wrote: > Any ideas? When it does not find the boot device, you should get a boot prompt like: [ 8.8237251] boot device: [ 8.8637251] root device: and when you enter a "?" there, it should give you a list, like: [ 18.6737220] use one

Re: Panics from today's sources

2022-04-04 Thread Martin Husemann
On Sun, Apr 03, 2022 at 05:20:37PM +, John Klos wrote: > [ 56496.032711] uvm_fault(0x81908580, 0xbd134d9bc000, 2) -> e > [ 56496.032711] fatal page fault in supervisor mode > [ 56496.032711] trap type 6 code 0x2 rip 0x80c4f634 cs 0x8 rflags > 0x10202 cr2 0xbd134d9bcc90 i

Re: Installing bootx64.efi on NetBSD current?

2022-04-09 Thread Martin Husemann
On Sat, Apr 09, 2022 at 09:16:28AM +1200, Lloyd Parkes wrote: > I installed NetBSD current from late March by net booting netbsd-INSTALL.gz > on and amd64 system of mine. The net boot and disk boot were both done with > UEFI and sysinst correctly offered to create GPT filesystems for me. > > Even

Re: Installing bootx64.efi on NetBSD current?

2022-04-10 Thread Martin Husemann
On Sun, Apr 10, 2022 at 03:19:33PM +1200, Lloyd Parkes wrote: > My /usr/mdec contains only boot, bootxx_ffsv1, bootxx_ffsv2, bootxx_lfsv2, > gptmbr.bin, mbr, mbr_bootsel, and mbr_ext. I think I have just fixed this... Martin

Re: NetBSD-9.99.x No Video

2022-04-26 Thread Martin Husemann
On Mon, Apr 25, 2022 at 10:19:13PM +, RVP wrote: > Intel integrated GPUs on laptops don't work in all cases in UEFI mode > (mine does not). I think it does work (mostly--there are a couple of issues > still remaining) in BIOS compatibility (CSM) mode. No, the failure is unrelated to BIOS vs UE

Branching for NetBSD 10

2022-05-02 Thread Martin Husemann
After a bit more than two years after the first NetBSD 9 release (9.0 happened February 14, 2020) and nearly a year after the last (so far) netbsd-9 release (9.2 happened May 12, 2021) we are in the final steps to prepare for the next really great release: We are planning to branch netbsd-10 in ab

Re: /dev/wsfont permissions (Was: CVS commit: src/sys/dev/wsfont)

2022-05-17 Thread Martin Husemann
On Tue, May 17, 2022 at 12:48:06PM +0300, Valery Ushakov wrote: > Any thoughts on this? The problematic scenario is that the system is > upgraded, new MAKEDEV is run after the upgrade to (re)create the > devices, it creates world readabile /dev/wsfont, and then an old > kernel is booted (which is

Re: Steinberg UR44 uaudio device

2022-06-03 Thread Martin Husemann
On Fri, Jun 03, 2022 at 10:12:44AM +0200, Eivind Nicolay Evensen wrote: > Hello. > > Is there any way to get more information to understand > what is needed to get this Steinberg UR44 to work on > NetBSD: > > [ 109,152749] uaudio0 at uhub1 port 1 configuration 1 interface 0 > [ 109,152749] ua

Re: Branching for NetBSD 10

2022-06-03 Thread Martin Husemann
On Mon, May 02, 2022 at 04:22:56PM +0200, Martin Husemann wrote: > After a bit more than two years after the first NetBSD 9 release > (9.0 happened February 14, 2020) and nearly a year after the last > (so far) netbsd-9 release (9.2 happened May 12, 2021) we are in > the final steps to

Re: Branching for NetBSD 10

2022-06-04 Thread Martin Husemann
On Sat, Jun 04, 2022 at 05:16:34AM +, Thomas Mueller wrote: > My big concern with the branch is the entropy bug, where building > many packages from pkgsrc is stopped. Yes, you are kinda right: https://wiki.netbsd.org/releng/netbsd-10/ "Waiting for Randot" as open point, although you

Re: scp -r incompatibility between -current and NetBSD releases

2022-06-11 Thread Martin Husemann
On Sat, Jun 11, 2022 at 04:12:17PM +0200, Thomas Klausner wrote: > Hi! > > I cannot use 'scp -r' from -current to NetBSD 8 or NetBSD 9. scp changed to use sftp by default in a recent OpenSSH update. It seems you can use scp -O to request the legacy protocol. Martin

Re: scp -r incompatibility between -current and NetBSD releases

2022-06-11 Thread Martin Husemann
On Sat, Jun 11, 2022 at 10:56:26AM -0400, Tom Lane wrote: > Experimenting here, it seems the only case that doesn't work is > scp -r *to* a remote directory that doesn't exist yet. Possibly > worthy of a PR. Yes, it is an upstream regression when they switched the default protocol. A NetBSD PR wi

Re: Script to create bootable arm images?

2022-06-24 Thread Martin Husemann
On Thu, Jun 23, 2022 at 02:17:28PM -0600, Brook Milligan wrote: > Is there a script somewhere that is being used to create the bootable > arm issues that are available on https://nycdn.netbsd.org/pub/arm/? If > so, where? It is build by build.sh, e.g. this is the invocation for a recent earmv7hf

Re: Script to create bootable arm images?

2022-06-24 Thread Martin Husemann
On Fri, Jun 24, 2022 at 10:41:28AM +0200, Martin Husemann wrote: > On Thu, Jun 23, 2022 at 02:17:28PM -0600, Brook Milligan wrote: > > Is there a script somewhere that is being used to create the bootable > > arm issues that are available on https://nycdn.netbsd.org/pub/arm/? I

Re: savecore weirdness

2022-06-29 Thread Martin Husemann
On Wed, Jun 29, 2022 at 10:57:55AM +0200, Thomas Klausner wrote: > I've tried overwriting the first 100MB of the 'dp' entry in my fstab > with zeroes in the hope of getting rid of the crashdump, but that > didn't help either. How can I get rid of the crashdump so savecore > doesn't try again to wri

Re: FYI: new X server in -current, among other X things

2022-07-18 Thread Martin Husemann
I have a minor (but strange) issue with the new X setup. My Radeon amdgpu does not fully work yet (strange colours, some drawing artifacts, otherwise mostly ok), so I am using vesfb and wsfb_drv (but the same effect happens with the amdgpu driver). I hadn't updated firefox before the X server upd

Re: namespace pollution? clone()

2022-07-26 Thread Martin Husemann
On Tue, Jul 26, 2022 at 03:46:14PM +0300, Valery Ushakov wrote: > On Linux clone(2) is declared only for _GNU_SOURCE, which explains why > linux doesn't run into the name clash. I gather we should follow > suit, as that's what the apps expect. Yes, that is the right thing to do here, especially a

Re: namespace pollution? clone()

2022-08-01 Thread Martin Husemann
On Mon, Aug 01, 2022 at 03:57:19PM +0200, Thomas Klausner wrote: > The attached diff survived a complete amd64-current build. Ok to commit? Looks good to me. Martin

Re: namespace pollution? clone()

2022-08-01 Thread Martin Husemann
On Mon, Aug 01, 2022 at 05:11:53PM +0200, Thomas Klausner wrote: > I don't understand why we expose __clone() in a public header at all, > but I understand your comments to result in the attached patch. It is used in tests: /tmp/build/2022.08.01.14.34.01-i386/src/tests/lib/libc/sys/t_clone.c:

Re: Checksum mismatch of -HEAD and -STABLE sets on nycdn

2022-08-04 Thread Martin Husemann
On Wed, Aug 03, 2022 at 11:21:40PM +, RVP wrote: > Obviously, (most of) the checksums fail: > > $ printf '%s\n' *.xz | fgrep -f- SHA512 | sha1 -c > (SHA512) base.tar.xz: FAILED I can reproduce this and will file an admin ticket. A good way to get more information is to use curl like this: cu

Re: Bad symbols in Installer menu in USB Stick Kingston Elite G2

2022-08-27 Thread Martin Husemann
On Sat, Aug 27, 2022 at 07:58:51PM -0700, Paul Goyette wrote: > Looks to me like there's a string that is not null-terminated, thus > we see garbage following the string/label (serial number?) which > reads ``PMAPPAMP1234'' Yes, it is a bug in the ioctl code used in the sysinst installer to get th

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Martin Husemann
On Wed, Sep 07, 2022 at 08:37:43PM -0700, Paul Goyette wrote: > On a positive front, the BIOS seems to now recognize the NVMe as > having a UEFI OS. Trying to boot it takes me down some new path > having to do with SecureBoot, and I don't have time for that now. There is typicaly a setting in the

Re: Finding memory bugs automatically

2022-10-02 Thread Martin Husemann
On Sun, Oct 02, 2022 at 12:28:41AM +0200, Roland Illig wrote: > Hi, > > Do any of the releng builds and tests run with MALLOC_CONF=junk:true? No. > If not, why isn't there such a mode, and is there an alternative memory > allocator that can find these kinds of bugs? Using COPTS -fsanitize=addre

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow

2022-11-21 Thread Martin Husemann
On Mon, Nov 21, 2022 at 10:10:57PM -0800, Chuck Silvers wrote: > yes, there should be a way to tell sysinst to create UFS2ea rather than UFS2 > (or vice-versa if we make UFS2ea the default in sysinst). this was on my > list of outstanding issues but I think I was thinking that Martin would > take

Branching for netbsd-10 next week

2022-12-08 Thread Martin Husemann
Hey folks, after the EA changes are in current now and all tests look good, we can finally move on and branch for netbsd-10. Proposed date is next wednsday. We have quite a few things to finish before the final release, but this gets things moving - and I hope it will not take more than three mon

Re: Branching for netbsd-10 next week

2022-12-09 Thread Martin Husemann
On Fri, Dec 09, 2022 at 10:03:46AM +0100, Matthias Petermann wrote: > compatibility. However, if I understand correctly, this only affects new > installations? If I migrate an existing NetBSD 9 to 10, nothing changes in > the file system format. I.e. as long as I do not actively initite the > migra

Re: Branching for netbsd-10 next week

2022-12-10 Thread Martin Husemann
On Sat, Dec 10, 2022 at 03:28:14PM +0100, Reinoud Zandijk wrote: > related, I think we should really iron out all installation issues that > plagued NetBSD before and were scorned on say Slashdot i.e. provide easy > install/live images with a gui installed, with optional extra variants with > say a

Re: Branching for netbsd-10 next week

2022-12-15 Thread Martin Husemann
Just to wrap up this thread: - branch will probably happen in the next ~10h - default file system for new installations will be FFSv2 I will update docs and extend the wiki page about FFS2ea to show how to switch later, and also provide installation instructions how to select FFSv2ea right dur

Re: /etc/protocols generation

2022-12-16 Thread Martin Husemann
On Thu, Dec 15, 2022 at 08:35:42PM -0500, Jan Schaumann wrote: > This, then would speak in favor of leaving the tools > in pkgsrc. Yes, and stop there. No point in automating more - just like the web files are generated by various tools from the meta-pkgs/netbsd-www pkg, the IANA-derived files can

Re: Branching for netbsd-10 next week

2022-12-16 Thread Martin Husemann
On Thu, Dec 15, 2022 at 07:59:35PM +, Thomas Mueller wrote: > I will want to update my NetBSD installation from 9.99.82 from source > and am inclined toward 10.99.1 rather than 10.0_BETA. I use "cvs up > -dP -A" to update the source on base system and pkgsrc, currently am on > native X. As y

Re: Branching for netbsd-10 next week

2022-12-17 Thread Martin Husemann
On Sat, Dec 17, 2022 at 01:41:18AM -0500, Tom Lane wrote: > but I suppose that just reflects a branch existing in the CVS repo. Yes, and also that pullup ticket queues for -10 exist. > I don't see any sign of the branch being supported at, say, > > https://nycdn.netbsd.org/pub/NetBSD-daily/ > ht

Re: 10_BETA: Nice QOL improvements to the installer

2022-12-21 Thread Martin Husemann
On Thu, Dec 22, 2022 at 08:05:02AM +0530, Mayuresh wrote: > Ok. So, it appears the -bios image has become redundant now. Or hasn't it? No, there are BIOSes out there that don't work with the hybrid bootloader. Martin

Re: 10.0 BETA: How to boot using UEFI or grub

2022-12-25 Thread Martin Husemann
On Sun, Dec 25, 2022 at 07:03:31PM +0530, Mayuresh wrote: > However the firmware shows only Ubuntu among UEFI options. Do I need to > copy some more files so that netbsd option shows up? IIRC you have to create a "boot option" in uefi vars and store it to use a non-default path for most UEFI imple

Re: tools build failure

2022-12-25 Thread Martin Husemann
You may need to clean the binutils objdir, as the binutils vs. binutils.old switch happened recently. Martin

Re: -current build failure?

2022-12-30 Thread Martin Husemann
On Fri, Dec 30, 2022 at 01:04:46PM +, Chavdar Ivanov wrote: > Hi, > > I am getting again a failure in binutils.old, after having cleaned four days > ago the entire obj: binutils.old is the wrong directory, your build should use binutils now. You need to clean the tools/binutils obj dir. Mart

Re: binutils still failing on amd64

2023-01-02 Thread Martin Husemann
On Mon, Jan 02, 2023 at 12:17:11PM +1100, matthew green wrote: > oh yeah - this is only going to break r/o src tree builds, which is > also something i use as much as possible. Note that the official daily builds also use this (and have been failing since new binutils have been enabled for x86).

Re: Difference between i915drm and i915drmkms

2023-01-07 Thread Martin Husemann
Side note: we are collecting all bug reports for the new DRM/KMS that should be fixed before the 10.0 release here: https://wiki.netbsd.org/releng/netbsd-10/ If you know of any other PRs that should be listed there, please let me know. Martin

Re: Very recent NetBSD-current Xorg panic

2023-01-08 Thread Martin Husemann
On Sun, Jan 08, 2023 at 11:28:18AM +, Chavdar Ivanov wrote: > This morning I upgraded the instance to my yesterday's build - as of > 07/01/2023. Now Xorg dumps core as follows: Can you show the output of readelf -l /usr/X11R7/lib/modules/dri/i965_dri.so for the new build? It probably has 4

Re: Very recent NetBSD-current Xorg panic

2023-01-08 Thread Martin Husemann
On Sun, Jan 08, 2023 at 01:15:01PM +, Chavdar Ivanov wrote: > As far as I understand it, there was a change with the dynamic loader at > this time? Yes, and after the ld.elf_so change the default linker options were adjusted, which makes testing this now a bit tricky (you can't just downgrad l

Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 02:12:49PM +0100, Riccardo Mottola wrote: > I just upgraded to 10.99.2 via sysinst. I updated pkgsrc and started > rolling-replace. You need to update (at least /libexec/ld.elf_so). Martin

Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 07:36:53PM +0100, Riccardo Mottola wrote: > I don't think it updatedm today is the 13th, I'd expected today or > yesterday.. how often does releng kick it out? I thought daily Usually about twice a day, but currently the build is broken so "latest" does not update. Martin

Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 06:37:50PM +0100, Martin Husemann wrote: > On Fri, Jan 13, 2023 at 07:36:53PM +0100, Riccardo Mottola wrote: > > I don't think it updatedm today is the 13th, I'd expected today or > > yesterday.. how often does releng kick it out? I thought daily &

Re: How to build only one part of NetBSD system

2023-01-18 Thread Martin Husemann
On Thu, Jan 19, 2023 at 05:33:03AM +, Thomas Mueller wrote: > >From /usr/src/UPDATING, > > Recent changes: > ^^^ > > 20230112: > New binutils require an updated ld.elf_so. If you are doing > (unsupported) in-place self builds (with the -E flag to build.sh), >

Re: GZIP warnings when building

2023-02-15 Thread Martin Husemann
On Wed, Feb 15, 2023 at 03:09:37PM +0100, Christian Groessler wrote: > Hi, > > probably known and considered not important, but I wanted to mention that > I'm getting warnings like this when building a release: Sounds like a local problem - what is in your $GZIP (and why)? Martin

Re: GZIP warnings when building

2023-02-15 Thread Martin Husemann
On Thu, Feb 16, 2023 at 06:18:54AM +1300, Lloyd Parkes wrote: > I saw this too. I think the way we select the gzip compression level (using > the GZIP environment variable) is now deprecated for some reason. I have not seen it anywhere, but I see we set GZIP=-9n for pax -z in src/distrib/sets/make

Re: GZIP warnings when building

2023-02-15 Thread Martin Husemann
On Thu, Feb 16, 2023 at 06:37:36AM +1300, Lloyd Parkes wrote: > Oh, it's used to pass the compression level though pax to gzip. That's > explain it. Maybe we should switch to --use-compress-program="nbgzip > -LEVEL"??? The problem is that we only have ${TOOLDIR}/nbpax, but that invokes gunzip via

Re: DNS name resolution not working in 10beta installer?

2023-02-24 Thread Martin Husemann
On Fri, Feb 24, 2023 at 06:22:50PM -0500, Tom Lane wrote: > So it doesn't seem to be a problem with DNS infrastructure, but the > installer doing something wrong. You should be able to test this again easily w/o doing a real installation and gather more information by using the Utility menu/Config

Re: LLONG_MAX not available from c++

2023-03-31 Thread Martin Husemann
On Fri, Mar 31, 2023 at 02:10:46PM +0200, Thomas Klausner wrote: > g++ in -current doesn't get this symbol when you include limits.h > (which lua does, since this is still C code) because of (from > /usr/include/machine/limits.h): > > #if defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901

Re: LLONG_MAX not available from c++

2023-03-31 Thread Martin Husemann
On Fri, Mar 31, 2023 at 02:27:17PM -, Michael van Elst wrote: > c++ also doesn't define __STDC_VERSION__ nor _ISOC99_SOURCE. It defines the former but not the latter: > c++ -dM -E - < /dev/null | fgrep __STDC_VERSION__ #define __STDC_VERSION__ 201710L > c++ -dM -E - < /dev/null | fgrep __IS

Re: LLONG_MAX not available from c++

2023-03-31 Thread Martin Husemann
On Fri, Mar 31, 2023 at 03:30:56PM -, Michael van Elst wrote: > There is magic involved. You mean: there are bugs - bah :-/ Martin

Re: -current build failure

2023-06-04 Thread Martin Husemann
On Sun, Jun 04, 2023 at 02:40:16PM +0200, Thomas Klausner wrote: > Hi! > > I just tried updating my -current but the build failed: > > build.sh -j 32 -x -V MKDEBUG=yes -V MKDEBUGLIB=yes -V MKLLVM=yes -V > NOGCCERROR=yes -T /usr/obj/tools.gcc -m amd64 -O /usr/obj/src.amd64 -D > /usr/obj/amd64.gc

Re: Redirecting 80 to 443

2023-06-06 Thread Martin Husemann
On Wed, Jun 07, 2023 at 08:55:46AM +1200, Lloyd Parkes wrote: > The httpd manual page describes how to invoke Lua scripts, but these > aren't CGI scripts. The manual page also describes how to invoke CGI > scripts of course. I would try a special document root for the port 80 instance and place (a

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Martin Husemann
On Wed, Jun 21, 2023 at 12:12:35PM +0200, Sagar Acharya wrote: > My NetBSD system has gotten corrupted. How do I mount my NetBSD partition on > voidlinux? The typical recovery doesn't involve any other OS. If your kernel works and finds the / partition you can "boot -sa" and select /rescue/init a

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Martin Husemann
On Wed, Jun 21, 2023 at 02:20:25PM +0200, Sagar Acharya wrote: > Also, linux doesn't have fsck_ffs and debian had support for ufs in ufsutils > a long time ago. > > I highly recommend that for such cases you have a small standalone source > which can be built for correcting such errors which can

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Martin Husemann
On Wed, Jun 21, 2023 at 08:39:45PM +0200, Sagar Acharya wrote: > I am on a NetBSD 10 install now after sabotaging my fully good alpine due to > constraints of sd card. The memory card from which I want to retrieve data is > mounted at sd0 > > $ fsck_ffs /dev/sd0a > /dev/rsd0a[1] Floating point e

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Martin Husemann
On Wed, Jun 21, 2023 at 08:43:45PM +0200, Sagar Acharya wrote: > $ dkctl sd0 listwedges > /dev/rsd0: no wedges configured > > What are wedges? I get sectors which are 512 bytes long on physical disk. With "dkctl sd0 addwedge " you can use arbitrary "partitions" on disk sd0 without modifying i

Re: Mounting NetBSD partition on voidlinux

2023-06-22 Thread Martin Husemann
On Thu, Jun 22, 2023 at 03:47:27PM +0200, Sagar Acharya wrote: > I need something to repair this ufs2 partition. You did not answer the partitioning questions and it is hard to follow what you are doing and seeing. You can repair it easily with NetBSD's fsck(8). You can analyze it close with dump

Re: tweaks needed for 10 branch

2023-07-02 Thread Martin Husemann
On Sat, Jul 01, 2023 at 05:47:53PM -0400, Andrew Cagney wrote: > just fyi, had to tweak this when building; to be honest I'm a bit puzzled Yes, puzzling - it is not clear what standard apple tools default to after latest updates. The easy fix is to use HOST_CFLAGS= (or is it HOST_CXXFLAGS?) t

Re: Remove extra unlock in dm9000 driver

2023-07-07 Thread Martin Husemann
On Thu, Jul 06, 2023 at 10:10:37PM -0400, Lwazi Dube wrote: > ec->ec_flags |= ETHER_F_ALLMULTI; > -ETHER_UNLOCK(ec); I fixed it slightly different, thanks for catching it! Martin

Re: fdisk and alignment

2023-07-09 Thread Martin Husemann
On Sun, Jul 09, 2023 at 02:52:01PM +0100, David Brownlee wrote: > Does anyone know offhand what alignment Linux/FreeBSD/OpenBSD pick for > MBR formatting? You should avoid MBR :-) I don't know other systems defaults, but sysinst uses 4k for small disks and 2m for bigger, unless you switch to sing

Re: fdisk and alignment

2023-07-10 Thread Martin Husemann
On Sun, Jul 09, 2023 at 08:54:56PM +0100, David Brownlee wrote: > In practice I think it would be better not to penalise current use of > "small" (120GB SSD or 64GB or or CF/USB devices) for an edge case of > older hardware I am not sure what you see as penalty here. I think two factors made the

Re: i386/openssl on amd64?

2023-07-30 Thread Martin Husemann
On Sun, Jul 30, 2023 at 10:05:15AM +0200, Jan-Hinrich Fessel wrote: > Hej there, > > tried that on several fresh installations now with src grabbed via cvs > checkout. No one else seeing this? > I am somewhat lost in how to fix this apart from modifying the source list > (md.amd64 that would be

Re: i386/openssl on amd64?

2023-07-30 Thread Martin Husemann
On Sun, Jul 30, 2023 at 03:18:32PM +0200, Jan-Hinrich Fessel wrote: > Oh yes: > build.sh command:./build.sh -U -j 2 -M /usr/obj -O /usr/obj -R > /usr/src/releasedir.NetBSD-10.99.6-amd64 -D > /usr/obj/destdir.NetBSD-10.99.6-amd64 -X /usr/xsrc -x -V MKCOMPAT=no release > install-image > > so,

Re: Why can't a WireGuard interface route packets to itself?

2023-08-01 Thread Martin Husemann
On Mon, Jul 31, 2023 at 11:59:12PM +0200, logothesia wrote: > route(8) for a while, and all my attempts to coax it into inserting a > route to an interface in a different subnet than the gateway's so far > have failed. route add -iface should work. > > I expect that you will need to dig deeper

Re: 10.0_BETA w/MKNSD=yes build fails after OpenSSL update

2023-08-12 Thread Martin Husemann
On Sat, Aug 12, 2023 at 06:41:14AM -0500, John D. Baker wrote: > The recent mega-pull-up of heimdal, bind, and OpenSSL 3.0 to > NetBSD-10.0_BETA: > > https://mail-index.netbsd.org/source-changes/2023/08/11/msg146890.html > > breaks builds which set MKNSD=YES. Should be fixed now. Martin

Re: i386 -current build failure

2023-08-14 Thread Martin Husemann
On Mon, Aug 14, 2023 at 09:23:37AM +0100, Chavdar Ivanov wrote: > Hi, > ERROR: nbctfmerge: Input file adiantum_selftest.o was partially built > from C sources, but no CTF data was present Can you reproduce it after removing that .o file (or the whole kernel build directory)? This symptom often sh

NetBSD 10.0 timeline and branch status

2023-08-20 Thread Martin Husemann
Hey folks, after some unusual rough days for the netbsd-10 branch last week, we now have a state that is building fine again and all tests look as expected. We also made great progress on the icky DRM/KMS issues and overal stability. The tricky pullups are done (thanks to everyone who helped with

Re: builds fail w/undef ref in rump tests

2023-08-20 Thread Martin Husemann
On Sun, Aug 20, 2023 at 12:08:01PM +, Taylor R Campbell wrote: > > /r0/build/current/tools/amd64/bin/mips64el--netbsd-gcc > > --sysroot=/r0/build/current/DEST/evbmips64-el -Wl,--warn-shared-textrel > > -pie -shared-libgcc -o t_workqueue t_workqueue.o > > -Wl,-rpath-link,/r0/buil

Re: possible NFS trouble

2023-08-24 Thread Martin Husemann
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 much better. What network adapters are involved? Does i

Re: NetBSD 10.0 timeline and branch status

2023-09-10 Thread Martin Husemann
On Sun, Aug 20, 2023 at 02:07:25PM +0200, Martin Husemann wrote: > The tricky pullups are done (thanks to everyone who helped with it), and > package builds are going - so now it looks like we will be able to > switch from BETA to release candidate state soonish. > > See &

Re: NetBSD 10.0 timeline and branch status

2023-09-10 Thread Martin Husemann
On Sun, Sep 10, 2023 at 11:59:33AM +0200, Havard Eidnes wrote: > With the caveat that I've not verified this myself, I *think* > this depends on how you got to where you are at the moment. If > your current up-to-date 10.0 BETA using openssl 3 was initially > installed in the pre-openssl3 era and

Re: NetBSD 10.0 timeline and branch status

2023-09-11 Thread Martin Husemann
On Sun, Sep 10, 2023 at 11:56:16AM -, Michael van Elst wrote: > I hope that the library changes are completed soon and that we can quickly > rebuild 2023Q2. AFAIK they are complete now. Martin

Re: NetBSD 10.0 timeline and branch status

2023-09-11 Thread Martin Husemann
On Mon, Sep 11, 2023 at 09:37:19AM +0200, Christian Groessler wrote: > Has port-evbarm/57551 been fixed? It's not running stable on my Raspberry Pi > 3. Unfortunately not yet. Martin

Re: NetBSD 10.0 timeline and branch status

2023-09-14 Thread Martin Husemann
On Wed, Sep 13, 2023 at 11:07:48PM +0200, rudolf wrote: > FWIW, the list of DRM/KMS bugs (or the list of regressions since 9) is > missing PR #57268. I have just added it (to the DRM/KMS list). Martin

Re: heartbeat panic by heavy traffic

2023-09-14 Thread Martin Husemann
On Fri, Sep 15, 2023 at 12:17:58PM +0900, Masanobu SAITOH wrote: > I think it would be good to change the default behavior from > panic to something others because GENERIC kernel enables HEARTBEAT. > by default. One of idea is to print warning message at sufficient intervals. I disagree. It is ver

Re: 10.99.9 amd64 panic

2023-09-29 Thread Martin Husemann
On Fri, Sep 29, 2023 at 09:52:42AM +, Chavdar Ivanov wrote: > Sep 29 01:53:13 ymir /netbsd: [ 228407.9443196] panic: kernel diagnostic > assertion "offset < map->dm_mapsize" failed: file > "/home/sysbuild/src/sys/arch/x86/x86/bus_dma.c", line 826 >  bad offset 0x0 >= 0x0 [..] > Sep 29 01:53:1

Re: Automated report: NetBSD-current/i386 test failure

2023-10-13 Thread Martin Husemann
On Fri, Oct 13, 2023 at 05:11:47PM +0300, Andreas Gustafsson wrote: > Even though some of the test failures were reported as an excessive > number of separate emails and attributed to the wrong commit, the > failures themselves are real. Indeed, on my real hardware tests the jumps are impressive:

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

2023-10-26 Thread Martin Husemann
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 > sys/atomic.h so it shouldn't be c

Re: weird hangs in current (ghc, gnucash)

2023-11-02 Thread Martin Husemann
On Wed, Nov 01, 2023 at 10:49:12AM +0100, Thomas Klausner wrote: > Should we back out ad's changes until he has time to look at them? I just did that on behalf of core. Can you test if this solves your problem? Martin

Re: How to raise iwm0?

2023-11-19 Thread Martin Husemann
On Sun, Nov 19, 2023 at 02:44:04PM +0100, Lizbeth Mutterhunt, Ph.D wrote: > As axen0 fails to connect, I want to try the wlan0, but it won?t be able to > make a wlan0. I can?t find the iwm module in kernel config. Does it be named > differently (I?ve got it from FreeBSD) or is just the hardware

Re: Mediatek 7601U wireless chip porting

2023-12-21 Thread Martin Husemann
On Thu, Dec 21, 2023 at 07:51:07AM +0100, Fekete Zoltán wrote: > Is anybody working on the same driver? > Has anybody tried it so far? > Is there any known hard limitation which blocks the porting to NetBSD? We have patches for that chipset for the new FreeBSD based wifi stack (and I have hardwar

Re: Mediatek 7601U wireless chip porting

2023-12-21 Thread Martin Husemann
On Thu, Dec 21, 2023 at 04:59:36PM +0100, Fekete Zoltán wrote: > Is there any usb wifi chipset left on the list without a maintainer? I could > take one for my study if I could purchase hardware for that. Might be a > win-win. I think we have everything covered for the USB chipsets where we curr

Re: Mediatek 7601U wireless chip porting

2023-12-22 Thread Martin Husemann
On Fri, Dec 22, 2023 at 08:06:40AM +0700, Robert Elz wrote: > Date:Thu, 21 Dec 2023 20:26:29 +0100 > From:=?ISO-8859-1?Q?Fekete_Zolt=E1n?= > Message-ID: <8bc45468-b662-4615-9c61-9981bd2b1...@minux.hu> > > | Using USB would have been a good starting point from a hard

Re: Router setup

2023-12-25 Thread Martin Husemann
On Mon, Dec 25, 2023 at 12:58:27PM -0500, xuser wrote: > Does any one know how to setup ip forwarding on netbsd? In /etc/sysctl.conf add: net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1 Martin

Re: unlink_if_ordinary undefined...

2023-12-31 Thread Martin Husemann
On Sun, Dec 31, 2023 at 02:19:01PM +, Chavdar Ivanov wrote: > As far as I could tell, the only place where this is defined in the system is > in > > nm /usr/libexec/lto-wrapper | grep unlink_if > 0006a842 T unlink_if_ordinary > > No idea about this, my google-fu apparently is not so

Re: Can't build evbarm

2024-01-20 Thread Martin Husemann
On Sat, Jan 20, 2024 at 10:50:27AM +0100, Adam wrote: > NetBSD-current fails to build on aarch64. > > Please, help :) As you can see here: https://releng.NetBSD.org/cgi-bin/builds.cgi it was not only evbarm/aarch64 affected, but all builds were broken. Robert fixed it in the meantime.

Re: Can't build evbarm

2024-01-20 Thread Martin Husemann
On Sat, Jan 20, 2024 at 05:19:25PM +0700, Robert Elz wrote: > Not that particular one I didn't, didn't know about that particular > breakage, will look at it now. Oops, mixed the breakage - but thanks for fixing it now :-) Martin

Re: Can't build evbarm

2024-01-25 Thread Martin Husemann
On Thu, Jan 25, 2024 at 09:20:50AM +0100, Adam wrote: > Reverting lib/libc/hash/md2/md2.c to v1.7 fixes the build. All builds are working again, if this still fails for you there must be a local problem in your setup. Martin

Re: Can't build evbarm

2024-01-25 Thread Martin Husemann
On Thu, Jan 25, 2024 at 10:52:30AM +0100, Adam wrote: > > All builds are working again, if this still fails for you there must be > > a local problem in your setup. > > > > Martin > > My setup is cross-building NetBSD on macOS. But that doesn't explain the issues you are seeing, no host tools sh

Re: Can't build evbarm

2024-01-26 Thread Martin Husemann
On Fri, Jan 26, 2024 at 03:03:24AM +0700, Robert Elz wrote: > Date:Thu, 25 Jan 2024 20:12:36 +0100 > From:Adam > Message-ID: > > | Correct, _LIBC_INTERNAL is not defined for tools/compat. > > I wonder what the difference is between your environment, and > a standa

Re: Can't build evbarm

2024-01-26 Thread Martin Husemann
On Fri, Jan 26, 2024 at 04:42:43PM +0100, Adam wrote: > % cat /tmp/pkgsrc/obj.aarch64/tools/compat/md2.d [..] > md2.o: > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h > md2.o: /dist/src/tools/compat/md2.h > md2.o: /dist/src/too

Re: Can't build evbarm

2024-01-26 Thread Martin Husemann
On Sat, Jan 27, 2024 at 02:49:09AM +0700, Robert Elz wrote: > | It doesn't accept implicit function declarations. > > Yes, that's fine - you do not need to explain the issue, we all > understand that --- but there's supposed to be a prototype for > the function, it isn't intended to be implicit.

<    1   2   3   4   5   6   7   8   >