Re: amd64: disable VESA madness

2021-05-15 Thread Martin Husemann
On Sat, May 15, 2021 at 05:42:52PM -0400, Eric S. Hvozda wrote: > I highly desire the old VGA console for VMware (and general use), especially > as my eyes get older. Check the "gop" command in the bootloader. Details depend on your firmware and hardware. Martin

Re: toupper and warnings

2021-05-06 Thread Martin Husemann
On Thu, May 06, 2021 at 09:26:33AM +0200, Johnny Billquist wrote: > I'm not sure I understand why you'd get a warning in the first place. > toupper should take an int as input. Which is signed. > If you pass in a char, it should always fit and work. > Why should you get a warning? Because the

Re: Some questions about build.sh, machine, -u and tools

2021-05-05 Thread Martin Husemann
On Wed, May 05, 2021 at 12:57:21PM +0200, Rocky Hotas wrote: > Ok! Even if two MACHINEs with different ABIs or endiannes have really > few common features, maybe just the commercial brand and the > partitioning scheme. Sorry, this is extreme of course, but the common > MACHINE idea still looks

Re: Some questions about build.sh, machine, -u and tools

2021-05-05 Thread Martin Husemann
On Wed, May 05, 2021 at 10:57:56AM +0200, Rocky Hotas wrote: > MACHINE is defined in the paper as a platform (par. 5.1). Intuitively, > yes, MACHINE seems related to a whole computer (so, a collection > of hardware devices with its standards and conventions) and > MACHINE_ARCH is somewhat more

Re: Issues building NetBSD with GCC 10

2021-04-29 Thread Martin Husemann
On Thu, Apr 29, 2021 at 08:32:09AM +0100, Sad Clouds wrote: > I tried building NetBSD on Linux host with GCC 10 as the default system > compiler and ran into various issues: > > - Tried building netbsd-9 and that fails to build bmake tool due to > duplicate symbols or something. This seems to

Re: NetBSD 9.1 amd64 base X11: hypersensitive touchpad

2021-04-11 Thread Martin Husemann
On Sun, Apr 11, 2021 at 11:27:15PM +0530, Mayuresh wrote: > I checked the GENERIC kernel configuration file and above line is already > uncommented there. So, shouldn't it have shown the snyaptics options in > sysctl -a (as per man pms)? What am I missing? If grep '^pms'

Re: OS-level virtualization

2021-04-06 Thread Martin Husemann
On Tue, Apr 06, 2021 at 06:11:52PM -, Christos Zoulas wrote: > In article <20210406163302.gj6...@mail.duskware.de>, > Martin Husemann wrote: > >On Tue, Apr 06, 2021 at 12:29:31PM -0400, Aaron B. wrote: > >> It's just the same chroot system call under the hood. And

Re: OS-level virtualization

2021-04-06 Thread Martin Husemann
On Tue, Apr 06, 2021 at 12:29:31PM -0400, Aaron B. wrote: > It's just the same chroot system call under the hood. And currently, > that's all there is. The kernel simply doesn't have any other way to > isolate processes at the time. Well, there is kauth(9), which can be extended by specific

Re: Installing NetBSD 9.1 on USB stick, not booting

2021-04-06 Thread Martin Husemann
On Tue, Apr 06, 2021 at 12:09:29PM +0530, Mayuresh wrote: > I think NetBSD, to a larger extent than others, used to be agnostic to a > specific hardware it is installed on, which IMHO was a great feature. It still is - on the same architecture and using the same boot method. For amd64 you can

Re: Installing NetBSD 9.1 on USB stick, not booting

2021-04-05 Thread Martin Husemann
On Tue, Apr 06, 2021 at 11:13:06AM +0530, Mayuresh wrote: > BTW isn't it good for the installer to not assume anything about the > target machine? It makes the installation more resilient to hardware > changes. The installer is supposed to run on the target machine and it tries to avoid many

Re: Installing NetBSD 9.1 on USB stick, not booting

2021-04-05 Thread Martin Husemann
On Tue, Apr 06, 2021 at 07:41:39AM +0530, Mayuresh wrote: > Device Boot Start End Sectors Size Id Type > /dev/sdb1 64 262207 262144 128M ef EFI (FAT-12/16/32) > /dev/sdb2 *262272 30031871 29769600 14.2G a9 NetBSD A device booted via UEFI (as you are apparently

Re: blocklistd: How to keep my dynamic IP from getting blocked

2021-04-03 Thread Martin Husemann
On Sat, Apr 03, 2021 at 12:30:46PM +0530, Mayuresh wrote: > Between these two: 1. Let blocklistd try to block and let npf overrule vs > 2. Let blocklistd not block. Isn't the latter more economical? Pretty sure there would be no measurable performance difference. It is just a matter of what seems

Re: blocklistd: How to keep my dynamic IP from getting blocked

2021-04-03 Thread Martin Husemann
On Sat, Apr 03, 2021 at 11:45:59AM +0530, Mayuresh wrote: > On Fri, Apr 02, 2021 at 11:20:18AM -0700, Greg A. Woods wrote: > > Just tell blocklistd not to block that IP! > > I posed my question like that originally! Something led me to believe that > this needs to be done at npf level, which

Re: Where is NetBSD-9.1-amd64-install.img.gz

2021-03-20 Thread Martin Husemann
On Fri, Mar 19, 2021 at 08:23:05PM -0400, Bob Bernstein wrote: > I believe this is the file I want to put on my USB stick. The ftp looked to > be taking over a half an hour at ftp.netbsd.org. Is there a better site for > a simple download? Use https://cdn.NetBSD.org/... where ... is the same path

Re: Output on audio jack

2021-03-19 Thread Martin Husemann
On Fri, Mar 19, 2021 at 04:15:32PM -0400, Julien Savard wrote: > Hi, > I'm running NetBSD 9.1 on my old sparcstation5. I'm trying to use it to > play some mp3 with mpg321 while working however I can't find how to > output audio on the headphone jack. Sound keeps coming out of the internal >

Re: A sane way to remove `-Werror` from `build.sh` build procedure?

2021-03-03 Thread Martin Husemann
On Wed, Mar 03, 2021 at 12:17:38PM +0300, Lord Vader wrote: > Is there a sane way to do the same? Try NOGCCERROR=1 Martin

Re: IPfilter and Nintendo Switch

2021-02-26 Thread Martin Husemann
On Sat, Feb 27, 2021 at 07:44:51AM +0100, Emmanuel Dreyfus wrote: > The Nintendo Switch reports a B grade. However, I do not understand how > source ports can be preserved on a 1:n IP addresses mapping, I suspect > they get preserved most of the time? I would guess the console tries to learn its

Re: Unicode to ASCII

2021-02-19 Thread Martin Husemann
On Fri, Feb 19, 2021 at 08:08:25PM -0700, Bob Proulx wrote: > I'll be honest and say I did not look but on another system I am using > "iconv" for this type of thing routinely. I will cross my fingers and > hope it is available in pkgsrc. iconv(1) is also in NetBSD base. martin

Re: [9.1 AMD64 gcc] How to distinguish between AMD64 and I386 from C code?

2021-01-27 Thread Martin Husemann
On Wed, Jan 27, 2021 at 04:07:09PM +0300, Lord Vader wrote: > Hi! > > On different linuxes with gcc 8.x and 9.x there is __WORDSIZE, that is > either 32 or 64 depending on the architecture. The classic test is #ifdef _LP64 You can check (assuming you are on amd64) with something like:

Re: Is the SIIG Legacy 2 port serial adapter supported?

2021-01-17 Thread Martin Husemann
On Sun, Jan 17, 2021 at 09:17:15PM -0600, flint pyrite wrote: > Dmesg shows output: > vendor 9710 product 9900 (serial communications, 16550-compat) at pci6 > dev 0 function 0 not configured > > vendor 9710 product 9900 (serial communications, 16550-compat) at pci6 > dev 0 function 1 not

Re: [9.1 i386] Slow domain name resolution on some wifi networks

2021-01-14 Thread Martin Husemann
On Thu, Jan 14, 2021 at 04:13:42PM +0300, Lord Vader wrote: > On a laptop (asus eeepc900) running NetBSD, when it is connected to that > network, there is exceptionally slow domain name resolution like the > following: Indeed this looks like name resolution delays. You need to check what domain

Re: postfix for 2 domains on 1 vps 1 ip

2021-01-05 Thread Martin Husemann
Sorry if this has already been made clear, but somehow I missed it: - what problem are we trying to solve here? - why would anyone ever want to run two (independent) mail servers on a single machine? The use of two different certificates for TLS depending on mail routing or whatever sounds

Re: Speed up unbundling of hg bundles

2020-12-12 Thread Martin Husemann
On Sat, Dec 12, 2020 at 01:18:29PM +0100, Matthias Petermann wrote: > I remember that I had discussed the problem here before. At that time I had > tried direct cloning, which had taken 11 hours or more. It sounds more like you are hitting a python (or NetBSD library) bug here (unless your

Re: RPI 1 and Netbsd 9.1

2020-12-07 Thread Martin Husemann
On Mon, Dec 07, 2020 at 07:13:55PM -0500, Clark Chapman wrote: > I have an RPI1 running Netbsd 8.1. I tried to install release 9.1 using the > earmv6hf install image. After the installer starts to create the filesystems > I get > > Command Failed > /sbin/newfs_msdos /dev/rlb0d > > and > >

Re: npf questions

2020-12-01 Thread Martin Husemann
On Tue, Dec 01, 2020 at 09:49:39AM -0500, Greg Troxel wrote: > I don't see why part of npf is built in and the other part isn't. Indeed, for architectures supported by bpfjit (and where it works) they should go together. Martin

Re: npf questions

2020-12-01 Thread Martin Husemann
On Tue, Dec 01, 2020 at 09:37:05AM -0500, Greg Troxel wrote: > So which of these is a bug? > - that bpfjit is not compiled in > - that there isn't a way to load modules that are signed, even at > higher securelevel > - that the big scary warning is printed > - something else? None?

Re: NetBSD 8 VPS server refusing to reboot: please help

2020-11-28 Thread Martin Husemann
On Sat, Nov 28, 2020 at 06:51:04PM +0530, Mayuresh wrote: > I accidentally powered off a Hetzner VPS server running NetBSD 8 and it is > refusing to reboot. Console screen shot attached. In deep trouble as the > server is critical to get up. Request help. > > It was powered off after a year or

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-28 Thread Martin Husemann
On Sat, Nov 28, 2020 at 09:15:15AM +0100, tlaro...@polynum.com wrote: > It is also caused by knowledge of C: one imagine that strcpy is > implemented doing _string_ manipulation (because of its name) and what one > will do programming it directly that is: > > p = buf; > q = buf + positive_shift;

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-27 Thread Martin Husemann
On Fri, Nov 27, 2020 at 11:29:13PM -0500, Jeffrey Walton wrote: > > Concerning the core dumps, there is another thing to look at: > > _FORTIFY_SOURCE. There are checks about the use of strings functions > > that can cause an abort even if the actual use is probably, with > > a classic C

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-27 Thread Martin Husemann
On Fri, Nov 27, 2020 at 01:52:02PM +0100, tlaro...@polynum.com wrote: > BTW, are these packages "cross-compiled" on a system with an arm > processor that is not the target one (a more "muscled" machine than is > generally available with a earmv7)? Because the fix was for > elf32-arm.h and I wonder

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-27 Thread Martin Husemann
On Fri, Nov 27, 2020 at 12:46:36PM +0100, tlaro...@polynum.com wrote: > The strtab errors come from the linking hence from binutils. The only > causes I can imagine is whether there is a lib used that has been > compiled with an old version of the binutils, or a component was > compiled requering

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-20 Thread Martin Husemann
On Thu, Nov 19, 2020 at 05:46:53PM +0100, Martin Husemann wrote: > On Thu, Nov 19, 2020 at 05:38:20PM +0100, tlaro...@polynum.com wrote: > > Patches were commited on 27 Aug 2019 by Robert Swindells, and we were at > > 8.99 at this time. > > Ok, the pkg builder runs with a 9.

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-19 Thread Martin Husemann
On Thu, Nov 19, 2020 at 05:38:20PM +0100, tlaro...@polynum.com wrote: > Patches were commited on 27 Aug 2019 by Robert Swindells, and we were at > 8.99 at this time. Ok, the pkg builder runs with a 9.0_STABLE userland, so it should have those fixes. Maybe something in the firefox build system

Re: Bump - Non-functional xfreerdp2 on 8.1 STABLE - missing POSIX timer_create?

2020-11-17 Thread Martin Husemann
On Wed, Nov 18, 2020 at 07:26:34AM +0100, Bodie wrote: > [07:01:46:382] [19612:dbca8000] [INFO][com.freerdp.gdi] - Remote framebuffer > format PIXEL_FORMAT_RGB16 --- sparc64 crashes here --- > [07:01:46:439] [19612:dbca8000] [INFO][com.winpr.clipboard] - initialized > POSIX local file subsystem

Re: Bump - Non-functional xfreerdp2 on 8.1 STABLE - missing POSIX timer_create?

2020-11-17 Thread Martin Husemann
On Tue, Nov 17, 2020 at 05:06:45PM +, nia wrote: > I can't test this because I don't have a Windows machine to connect to... I only can test on -current where it just seems to work (to some degree, it crashes for me on sparc64 right after a successfull logon - will have a look in the next few

Re: Bump - Non-functional xfreerdp2 on 8.1 STABLE - missing POSIX timer_create?

2020-11-17 Thread Martin Husemann
On Tue, Nov 17, 2020 at 09:32:39AM +0100, Bodie wrote: > [09:28:48:378] [2337:82f08000] [ERROR][com.winpr.synch.timer] - > InitializeWaitableTimer: os specific implementation is missing I don't get that, so the failure does not happen for all architectures/ versions of NetBSD. Maybe something is

Re: Bump - Non-functional xfreerdp2 on 8.1 STABLE - missing POSIX timer_create?

2020-11-17 Thread Martin Husemann
On Mon, Nov 16, 2020 at 07:54:38PM +0100, Bodie wrote: > [19:45:55:337] [2861:67ec4000] [ERROR][com.freerdp.core] - > transport_read_layer:freerdp_set_last_error_ex > ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D] > [19:45:55:358] [2861:67ec4000] [INFO][com.freerdp.core] - >

Re: firefox and maxfiles and rlimit.descriptors

2020-11-15 Thread Martin Husemann
On Sun, Nov 15, 2020 at 09:56:43AM +0100, tlaro...@polynum.com wrote: > I would suggest, though, to kernel developers, to increase the default > value in GENERIC because firefox, at least 82.0 is quite fd hungry and > the default seems to be too low for a desktop use. This has happened (sometime

Re: NetBSD 9.1 upgrade and file system crash - reboot fails

2020-10-30 Thread Martin Husemann
On Fri, Oct 30, 2020 at 03:41:55PM +0100, Riccardo Mottola wrote: > A lot of errors and the system is not bootable anymore! I get: > NetBSD MBR boot > Non-System disk or disk error This is very early MBR boot sector failure, it should not be related to the fsck issue - but maybe your disk

Re: npf syntax: port ranges, negation of a condition, and map rules

2020-10-28 Thread Martin Husemann
On Wed, Oct 28, 2020 at 12:16:36PM +0100, Rocky Hotas wrote: > 1) How to represent port ranges? I tried with > > beginning_port:end_port (which for example is used in OpenBSD's pf) > beginning_port,end_port > beginning_port-end_port > > $port_range = { beginning_port, end_port } > > but none of

Re: ctwm craches in NetBSD 9.1 if move cursor from up to down to apps pictogram on intel driver

2020-10-24 Thread Martin Husemann
On Sat, Oct 24, 2020 at 08:22:54AM +0100, Sad Clouds wrote: > Also, a very long time ago I tried ctwm on NetBSD sparc64 and it was > dying due to misaligned memory access, or similar. Not sure if this has > been fixed over the years, I haven't yet tried NetBSD-9.1 Hmm, good point - I need to test

Re: Use of disklabel, MBR and GPT

2020-10-23 Thread Martin Husemann
On Fri, Oct 23, 2020 at 03:27:42PM -0400, Bruce Lilly wrote: > On Fri, Oct 23, 2020 at 4:59 AM Martin Husemann wrote: > > So it is inside the NetBSD MBR partition (not in the MBR itself). [..] > The specific disklabel(8) examples, e.g. > >disklabel -i -I sd0

Re: Use of disklabel, MBR and GPT

2020-10-23 Thread Martin Husemann
On Fri, Oct 23, 2020 at 11:43:27AM +0200, Hauke Fath wrote: > On 2020-10-22 17:48, Bruce Lilly wrote: > > For example, a type of disklabel > > can be written to an OpenBSD > > GPT partition rather than to the disk [P]MBR. > > The NetBSD disklabel(8) will happily do that, too... But the kernel

Re: Use of disklabel, MBR and GPT

2020-10-23 Thread Martin Husemann
On Thu, Oct 22, 2020 at 02:01:39PM -0400, Greg Troxel wrote: > disklabels are usually in reserved space at the beginning of an ffs > filesystem. I have not heard of them being in the MBR. There is an interaction between MBR and disklabel location. If you have a MBR that specifies a NetBSD

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-19 Thread Martin Husemann
On Sun, Oct 18, 2020 at 02:40:17PM -0700, Jordan Geoghegan wrote: > [..] As I see it, it's just a couple TLS > handshakes which look identical to DNS over HTTPS traffic (which use the > ubiquitous port 443). Heh, that is kinda funny. If you haven't disabled DNS over HTTPS network wide you

Re: Configure NetBSD as a gateway for LAN hosts

2020-10-17 Thread Martin Husemann
On Sat, Oct 17, 2020 at 04:39:47PM +0200, Rocky Hotas wrote: > > In general it is best to get packet flow working first and then start caring > > about filtering, but with NAT this is tricky. > > Why is this tricky with NAT? Because when a request exits from the > gateway, it exits from a port

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-17 Thread Martin Husemann
On Sat, Oct 17, 2020 at 02:18:34PM +0100, Sad Clouds wrote: > [..] It is reasonable to assume that they may be able to track you, > but that is the price you pay for using something for free. This is > pretty normal these days. Yes, if you are using their services, you should expect that. But

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-17 Thread Martin Husemann
On Sat, Oct 17, 2020 at 01:16:57PM +0100, Sad Clouds wrote: > I'm not an expert on NTP, but what sort of information do you think it > could leak that could compromise your system security? There are ways > for hackers to abuse NTP protocol, but that is where you should be using > NTS extensions.

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-17 Thread Martin Husemann
On Sat, Oct 17, 2020 at 08:41:05AM +0100, Sad Clouds wrote: > OK but you still need to connect to some server, be it NTP or HTTPS in > order to get the initial time. If you can't rely on DNS (and you don't > want to dynamically modify DNS server/resolver config to ignore clock > skew), then you

Re: Use of disklabel, MBR and GPT

2020-10-16 Thread Martin Husemann
I have a few clarifications... > Maybe this is trivial, but during the installation of NetBSD a > disklabel is actually nested inside a primary MBR partition. This is true for some architectures (like amd64), but others do use plain disklabel on a disk without any MBR. This also works on amd64

Re: sysinst bug in changing gpt partition type?

2020-10-13 Thread Martin Husemann
On Tue, Oct 13, 2020 at 05:38:37PM -0400, Jason Mitchell wrote: > (I was doing this as a test). It seems as if sysinst is using 'gpt > label' where it should use 'gpt type'. If you take the original command > substitute 'type' for 'label': Good catch - copy & pasto from the code that modifies the

Re: Configure NetBSD as a gateway for LAN hosts

2020-10-13 Thread Martin Husemann
On Tue, Oct 13, 2020 at 12:01:17PM +0200, Rocky Hotas wrote: > I probably have no difficulties in configuring the routing as regards the > netbsd_gateway host itself. Something like: > > Internet: > DestinationGatewayFlagsRefs UseMtu > Interface > default

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-11 Thread Martin Husemann
On Sun, Oct 11, 2020 at 07:03:53PM -0400, Greg Troxel wrote: > Which sounds like "the right approach is not yet widely agreed on so > NetBSD being leading edge in paranoia is not necessarily helpful". Nothing of this is special to NetBSD, besides the question how we can work around the issue in

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-11 Thread Martin Husemann
On Sun, Oct 11, 2020 at 12:04:19PM -0400, Greg Troxel wrote: > I think reasonable is in the eye of the beholder, balancing the security > goodness from tight replay protection and the pain of trouble when the > clock is wrong. Clearly in such a setup (ntpd enabled, DNSSEC used) the default should

Re: ntpdate(8) and unbound(8) dependencies during boot

2020-10-10 Thread Martin Husemann
On Sat, Oct 10, 2020 at 09:04:08AM +0100, Sad Clouds wrote: > Anyway, has anyone come across this issue before and how did you > manage to solve it? You can specify an ip address (or several) as args to ntpdate. Try: ntpdate=YES ntpdate_args=${IP-of-your-ntpd-sever} or something along

Re: Suggestions for a discrete NIC compatible with NetBSD 9.0

2020-10-09 Thread Martin Husemann
On Fri, Oct 09, 2020 at 03:03:50PM +0200, Rocky Hotas wrote: > Thanks! I found almost only cards with some flavours of chip RTL8111: > RTL8111E, RTL8111G, RTL8111H. re(4) mentions only 8111 (with no suffix) > and just in the name of the manpage. >From a few random PCs I have running right now:

Re: Suggestions for a discrete NIC compatible with NetBSD 9.0

2020-10-08 Thread Martin Husemann
On Thu, Oct 08, 2020 at 12:29:57PM +0200, Rocky Hotas wrote: > I am looking for a discrete card, which is at least 10/100 Mbps full > duplex. Gigabit ethernet is optional but welcome. The case is Small Form > Factor, so the card should be Low Profile. > > Available slots are: PCI, PCI Express x1,

Re: Installation woes, NetBSD 9.0

2020-09-29 Thread Martin Husemann
On Tue, Sep 29, 2020 at 12:37:59PM -0700, Paul Makinen wrote: > > I'm upgrading an old laptop from NetBSD 7.1 to 9.0 using an install CD. The > only problem is that the install step in which the installer mounts the CD > fails, because the CD drive is currently busy with the install disk. This >

Re: Drive ID changed

2020-09-28 Thread Martin Husemann
On Mon, Sep 28, 2020 at 01:47:07AM -0700, Jordan Geoghegan wrote: > I found this snippet in some NetBSD documentation: > > "You will the be asked if you want to use DUID notation in > /etc/fstab, instead of traditional device names. You are strongly > advised to use DUIDs, as they allow you to

Re: Looking for java an android devs on netbsd environment

2020-09-24 Thread Martin Husemann
On Thu, Sep 24, 2020 at 09:24:54PM +0200, r0ller wrote: > Wow, this got pretty much truncated. This was the original: The mail header has: X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: part did not end with expected boundary; ; error: unexpected end of parts before epilogue

Re: Unusable Realtek NIC after upgrading to NetBSD 9

2020-09-17 Thread Martin Husemann
On Thu, Sep 17, 2020 at 10:52:48AM +0200, Rocky Hotas wrote: > If the NIC never worked, a BIOS update could be meaningful. But this is > a different case. If with 8.1 the NIC worked, it should also work with > 9.0. The ACPI component in the kernel is newer, so it might trigger different bugs in

Re: Unusable Realtek NIC after upgrading to NetBSD 9

2020-09-16 Thread Martin Husemann
Can you please provide full dmesg, and output and from pcictl dump -b 3 -d 0 -f 0 Could be anyhting, like newer ACPI version or whatever. Have you checked for firmware updates for your machine? Martin

Re: Unusable Realtek NIC after upgrading to NetBSD 9

2020-09-15 Thread Martin Husemann
On Tue, Sep 15, 2020 at 05:33:03PM +0200, Rocky Hotas wrote: > Also, 8.1 used ukphy(4), while 9.0 uses rlphy(4), which is specific for > Realtek. Good point, can you try disabling rlphy in your kernel config? Martin

Re: Unusable Realtek NIC after upgrading to NetBSD 9

2020-09-13 Thread Martin Husemann
On Sun, Sep 13, 2020 at 07:33:19PM +0200, Rocky Hotas wrote: > [ 1.004075] re0 at pci3 dev 0 function 0: RealTek > 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x05) > [ 1.004075] re0: interrupting at msix3 vec 0 With the old working kernel, what interrupt target did you get? The MSI

Re: A single-board computer for NetBSD

2020-08-28 Thread Martin Husemann
I have used APU systems for a different purpose too, and only have good experiences. The CPUs are relatively slow, the boxes are rock solid even when used outside of normal office conditions. But (since this started with an ERLITE3) there is one downside: as amd64 the CPUs unfortunately have the

Re: Send-PR form gone?

2020-08-25 Thread Martin Husemann
On Tue, Aug 25, 2020 at 11:22:50AM +0200, Jörn Clausen wrote: > Hi! > > Is > > http://www.netbsd.org/cgi-bin/sendpr.cgi > > gone only temporarily? Or is there a new page for this? > > http://www.netbsd.org/support/send-pr.html > > still points to it. Some server maintenance happened earlier

Re: Stable kernel 9.0 compilation fail

2020-08-17 Thread Martin Husemann
On Mon, Aug 17, 2020 at 12:31:08PM +0200, Pierre Dupond wrote: > Could you Please indicate me what instructions are useful in this file > to compile > correctly the kernel (I was successful when compiling the tools)? I would suggest to let the "base system part" completely empty: --8<-- # The

Re: Stable kernel 9.0 compilation fail

2020-08-17 Thread Martin Husemann
On Mon, Aug 17, 2020 at 09:55:16AM +0200, Pierre Dupond wrote: > -Wall -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers > -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow > -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter

Re: NetBSD test suite

2020-08-16 Thread Martin Husemann
> Right now my older 2014 HP Pavilion is running the tests for the 14 Aug > -current snapshot I installed last night. I have it set to: > > $ atf-run | tee ~/tests.log | atf-report > > Is anyone interested in these reports? It is always interesting to see unexpected failures, especially on less

Re: Booting CDs in Qemu

2020-08-07 Thread Martin Husemann
On Fri, Aug 07, 2020 at 06:54:08AM -0500, Robert Nestor wrote: > OK, I tried doing this with just the rEFInd CD and it still didn't boot - > just get a blank screen. Since you did this by copying the rEFInd files over > to a bootable NetBSD CD (or did you copy them to an installed NetBSD disk?)

Re: amd-64 NetBSD9: Get laptop keyboard functions to work

2020-08-07 Thread Martin Husemann
On Fri, Aug 07, 2020 at 08:47:35AM +, Ahi Brown wrote: > Hi. > > Only the audio keys were detected. Screen brightness and Wireless were not > read. OK, please check your /var/run/dmesg.boot for things at acpi0 that are not configured. Martin

Re: amd-64 NetBSD9: Get laptop keyboard functions to work

2020-08-06 Thread Martin Husemann
On Fri, Aug 07, 2020 at 03:38:51AM +, Ahi Brown wrote: > I would like to bind the brightness keys to 'xrandr'. First you have to find out if the key generates a key press/release event for the normal keyboard - that is not always the case (e.g. some notebooks require special ACPI key drivers

Re: Sysinst creates gaps between GPT partitions - why?

2020-08-03 Thread Martin Husemann
On Mon, Aug 03, 2020 at 06:22:12AM -0400, Greg Troxel wrote: > But 2048 is 11 bits of sector address alignment, and wastes an entire > MB. Yes, that doesn't really matter on a 4T disk, but on a 256 MB flash > drive it seems like a lot. (I'm perhaps overly sensitive, having used > Unix on a

Re: Sysinst creates gaps between GPT partitions - why?

2020-08-03 Thread Martin Husemann
On Mon, Aug 03, 2020 at 11:08:22AM +0200, Matthias Petermann wrote: >2 32 Pri GPT table > 342014 Unused That part is expected... > 2048 262144 1 GPT part - EFI System ... to align the start here. >

Re: Weird tty* error messages in a qemu guest with "-vga none".

2020-08-02 Thread Martin Husemann
On Sun, Aug 02, 2020 at 12:34:23PM +0100, Ottavio Caruso wrote: > In /var/run/rc.log: > [running /etc/rc.d/wscons] > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured > wsconscfg: Cannot open `/dev/ttyEcfg': Device not

Re: I finally bricked my NetBSD system

2020-07-16 Thread Martin Husemann
On Thu, Jul 16, 2020 at 09:54:06PM -0700, Andy Ruhl wrote: > What about booting from install media and dropping /rescue/sh into > whatever the defined shell path is? Isn't that a statically linked > binary that should work pretty much anywhere? Isn't that kinda what > it's for? Yes, that works

Re: I finally bricked my NetBSD system

2020-07-16 Thread Martin Husemann
On Thu, Jul 16, 2020 at 06:21:57PM -0400, Bob Bernstein wrote: > On Thu, 16 Jul 2020, Greg Troxel wrote: > > > 2) boot single user, by hitting space during the countdown and "boot > > -s". hit return for sh. Once there, type "fsck -p" to fix any issues. > > Then "mount -a". Then put back the

Re: Error message for NetBSD UEFI install:

2020-07-13 Thread Martin Husemann
On Mon, Jul 13, 2020 at 12:25:34AM -0500, Clay Daniels wrote: [..] > message above appears and the install stops. The disk previously had this > week's FreeBSD 13 current snapshot that I cleared with Gparted and placed a > new gpt partition table on the ssd. > > I can reload FreeBSD and send you

Re: Error message for NetBSD UEFI install:

2020-07-12 Thread Martin Husemann
On Sun, Jul 12, 2020 at 02:04:49AM -0500, Clay Daniels wrote: > assertion "p ->gp_flags & GPEF_WEDGE" failed: file > "/usr/src/usr.sbin/sysinst/arch/amd64/../../gpt.c" > line 1391 - function 'gpt_get_part_device= > [1] Abort trap ${cmd} Try a 9.0_STABLE instead:

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Martin Husemann
On Thu, Jun 25, 2020 at 02:49:25PM +0530, Mayuresh wrote: > But that's not the primary concern. Concern is to allow for spikes in > space usage which some builds require. And want to achieve it without > pre-reserving too much space and reclaiming space for the host. I add a new file system for

Re: netbsd 9 upgrade experience

2020-06-20 Thread Martin Husemann
On Sat, Jun 20, 2020 at 08:13:42PM -0400, Greg Troxel wrote: > This is the easy one. postinstall expects sources. You can use the -s > option. I unpack etc.tgz and xetc.tgz to /usr/netbsd-etc and pass that. > Amazingly, this is even in the manual, but it doesn't really say that > you need a

Re: cvs better than git?

2020-06-17 Thread Martin Husemann
On Wed, Jun 17, 2020 at 10:40:36AM +0200, mayur...@kathe.in wrote: > i am not an expert at version control systems to understand this by myself. > would like to understand why 'cvs' is preferred over "git" under netbsd. It is not prefered. Just moving from one system to another is an enormous

Re: How do I know which module to load for my wifi card?

2020-06-14 Thread Martin Husemann
On Sun, Jun 14, 2020 at 12:51:49PM -0500, Clay Daniels wrote: > My Realtek card shows up as re0. But that is not wifi, but ethernet. We need to see the full output of dmesg to help with the original question (and nitpick: it is unlikey that any loading of modules would help, most likely the

Re: Postfix and local mail delivery - still relevant in 2020?

2020-06-07 Thread Martin Husemann
On Sun, Jun 07, 2020 at 10:35:09AM -0700, Greg A. Woods wrote: > That's very interesting. > > The slowest machine I have running at the moment is a little old Soekris > box, with a FLASH disk as root: Interesting test - the slowest machine I had running (my VAX is actually slightly faster) is a

Re: Postfix and local mail delivery - still relevant in 2020?

2020-06-06 Thread Martin Husemann
On Sat, Jun 06, 2020 at 04:54:04PM +0100, Sad Clouds wrote: > I've been wondering - why have Postfix in the base system and why have > it enabled by default? Many people think that "sending mail", vis a sendmail-like interface, is a feature that a unix like system should support out of the box.

Re: kernel source : compile from a ubuntu (gnu/linux) system : possible?

2020-05-27 Thread Martin Husemann
On Wed, May 27, 2020 at 04:03:50PM +0200, mayur...@kathe.in wrote: > On Wednesday, May 27, 2020 06:26 PM IST, Martin Husemann > wrote: > > > On Wed, May 27, 2020 at 02:47:44PM +0200, mayur...@kathe.in wrote: > > > i've also heard that it's possible to cross-

Re: kernel source : compile from a ubuntu (gnu/linux) system : possible?

2020-05-27 Thread Martin Husemann
On Wed, May 27, 2020 at 02:47:44PM +0200, mayur...@kathe.in wrote: > i've also heard that it's possible to cross-compile the whole system > for a different target 'isa'. Basically what you do is something like: cd $(top-dir-where-you-put-the-netsbd-tree) ./build.sh -m evbarm64-el tools

Re: [SOLVED-ish] Performance weirdness with netbsd-9 /usr/bin/grep

2020-05-23 Thread Martin Husemann
On Sat, May 23, 2020 at 10:19:28AM +0100, Sad Clouds wrote: > rp3$ locale > LANG="" > LC_CTYPE="C" > LC_COLLATE="C" > LC_TIME="C" > LC_NUMERIC="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_ALL="" I get the same for netbsd-8 and netbsd-7. Martin

Re: Trouble installing NetBSD 9.0 amd64

2020-05-19 Thread Martin Husemann
On Tue, May 19, 2020 at 07:10:01PM +, Ahi Brown wrote: > Hi. > > gpt resize -i 1 -s80m wd0 > > That command worked, as the new block size on the dk0 was smaller, I then did > newfs_msdos -F 12 /dev/rdk0 > mount_msdos /dev/dk0 /mnt > mkdir -p /media/EFI/boot > cp /usr/mdec/*.efi

Re: Trouble installing NetBSD 9.0 amd64

2020-05-19 Thread Martin Husemann
On Tue, May 19, 2020 at 11:27:22AM +, Ahi Brown wrote: > I'm having trouble with this part. I had to use `dkctl wd0 delwedge` > to remove the EFI wedges. I also had trouble trying to gpt resize -a 2m > -s 80m my efi diskwedge. And when I added a new EFI wedge it went to > the end of the list

Re: Trouble installing NetBSD 9.0 amd64

2020-05-17 Thread Martin Husemann
On Mon, May 18, 2020 at 02:35:02AM +, Ahi Brown wrote: > Hi. > > I am having trouble trying to install NetBSD 9.0 amd64 on a old ASUS S200E > Laptop (2012). I used to play around a bit with NetBSD during the BIOS days > but ever since 2013 when the UEFI laptops have been released I am

Re: NetBSD install experiences

2020-05-14 Thread Martin Husemann
On Thu, May 14, 2020 at 10:00:14AM +, Thomas Mueller wrote: > It seems that setting up a wireless connection with ifconfig and > wpa_supplicant is much simpler in FreeBSD than in NetBSD; not sure > about Linux. I would say there is no difference, but I'd like to avoid needing the shell here

Re: NetBSD install experiences

2020-05-14 Thread Martin Husemann
On Thu, May 14, 2020 at 06:04:48AM +, Jan Icetrov wrote: > Autoconfigure is also strange with wired connections. It doesn't let you > choose hostname or disable ipv6, which in turn makes pkgin install > impossible if you have ipv6 on your LAN but ipv4 only uplink. That sounds more like a bug

Re: NetBSD install experiences

2020-05-13 Thread Martin Husemann
On Wed, May 13, 2020 at 01:23:59PM -0700, Salil Wadnerkar wrote: > I also want to raise one issue about the install. > When we try to configure networking, it lets us choose the interface and > when we select wireless interface, asks us to choose autoconfigure, or > configure everything manually.

Re: NetBSD install experiences

2020-05-13 Thread Martin Husemann
On Wed, May 13, 2020 at 08:59:44PM +0200, Rhialto wrote: > On the other hand, when you're doing an update, I had to guess whether I > should select the GPT partition that was my root partition, or the whole > disk. I guessed the root partition and apparently that was correct :-) I think both work

Re: NetBSD install experiences

2020-05-13 Thread Martin Husemann
On Wed, May 13, 2020 at 07:41:45AM -0400, Greg Troxel wrote: > I realize this is a major change, but I wonder about the installer > having an option to zeroize the disk, so that if someone is trying to > do an install getting rid of everything, they can, and then not have > these issues. Yes, I

Re: NetBSD install experiences

2020-05-12 Thread Martin Husemann
On Tue, May 12, 2020 at 12:14:52PM -0500, Robert Nestor wrote: > With GPT, at least on a disk that already has some GPT wedges, > it seems one selects GPT wedges to ?partition?, not the disk. > At least it seemed to me that all the existing GPT wedges were > displayed and I don?t recall seeing an

Re: NetBSD install experiences

2020-05-12 Thread Martin Husemann
On Tue, May 12, 2020 at 02:07:18PM -0400, MLH wrote: > Thanks. Maybe my bios is just too old. It doesn't boot efi correctly > and maybe it doesn't quite handle gpt partitions quite correctly > either. Might be why I had so much trouble with that. I still > haven't found a way to have the biosboot

Re: NetBSD install experiences

2020-05-12 Thread Martin Husemann
On Tue, May 12, 2020 at 12:10:21PM -0400, MLH wrote: > Hmm. I tried the -current installer and though it appeared to > indicate it could, I couldn't determine how to without manually > creating the gpt partitions. See the top part about 9.0 here:

Re: NetBSD install experiences

2020-05-12 Thread Martin Husemann
On Tue, May 12, 2020 at 10:51:41AM -0400, MLH wrote: > One thing I would like to see is to have the installer be able to > use gpt to parition and install on large disks when mbr can't be > used, both for efi and ffs biosbooting. It can do that (with 9.0 or newer). Martin

<    1   2   3   4   5   6   7   >