Re: reboot hangs at "uhid2 at uhidev9 report id 7 ..."

2021-05-05 Thread Robert Elz
Date:Wed, 5 May 2021 18:55:38 +0200 From:Rhialto Message-ID: | On Wed 05 May 2021 at 15:18:03 +0900, Henry wrote: | > The system kept booting into single user mode, but searching around I | > finally figured out that I needed to edit /etc/rc.conf. I thought I

Re: toupper and warnings

2021-05-05 Thread Greg A. Woods
At Wed, 5 May 2021 20:33:30 - (UTC), chris...@astron.com (Christos Zoulas) wrote: Subject: Re: toupper and warnings > > gcc hides warnings from system headers by default (my guess is because > the Linux system headers have a concealed firearms license). > > Our bsd.sys.mk turns it on... Try

Re: toupper and warnings

2021-05-05 Thread Christos Zoulas
In article , Greg Troxel wrote: >-=-=-=-=-=- > > >We used to get warnings when toupper was called with char, because it is >UB pe POSIX if the value is negative. > >I am not seeing this any more on NetBSD 9. > >I wonder if this is intended, and if the UB is safely avoided somhow, or >if the

toupper and warnings

2021-05-05 Thread Greg Troxel
We used to get warnings when toupper was called with char, because it is UB pe POSIX if the value is negative. I am not seeing this any more on NetBSD 9. I wonder if this is intended, and if the UB is safely avoided somhow, or if the warning is just missing, or ? example program that I think

Re: reboot hangs at "uhid2 at uhidev9 report id 7 ..."

2021-05-05 Thread Rhialto
On Wed 05 May 2021 at 15:18:03 +0900, Henry wrote: > I recently installed 9.1 on a HP 15-au123cl. The install seemed to go > fairly smoothly, and I was able to get the sets via ftp. > > The system kept booting into single user mode, but searching around I > finally figured out that I needed to

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

2021-05-05 Thread Valery Ushakov
On Wed, May 05, 2021 at 12:57:21 +0200, Rocky Hotas wrote: > On mag 03 16:42, Valery Ushakov wrote: > > > TL;DR: src/BUILDING explains most of these things. > > It has the header of a Section 8 manpage, but it is not accessible as > such (`man BUILDING', `man 8 BUILDING' or with lower keys). Is

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 Rocky Hotas
On mag 05 11:13, Martin Husemann wrote: > A MACHINE is a concrete thing, it belongs to a broader group of similar > (but not identical) other machines of the same MACHINE_ARCH. Ok! So, the reference and the "glue" is not MACHINE (as I thought), but MACHINE_ARCH. This also explains what Greg was

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

2021-05-05 Thread Rocky Hotas
On mag 05 10:57, Rocky Hotas wrote: > There are two different kinds of tools: > > 1. > The ones in obj_dir/tools, which are the result of the building of > /usr/src/tools. [...] > 2. > The ones in obj_dir/tooldir.NetBSD-9.99.81-amd64, which are the actual > toolchain. Apparently, this is

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

2021-05-05 Thread Rocky Hotas
On mag 03 16:42, Valery Ushakov wrote: > TL;DR: src/BUILDING explains most of these things. Thanks! I'm trying to read it and it clarifed some doubts, but not all. It has the header of a Section 8 manpage, but it is not accessible as such (`man BUILDING', `man 8 BUILDING' or with lower keys). Is

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: Some questions about build.sh, machine, -u and tools

2021-05-05 Thread Rocky Hotas
According to the paper let's use the terms `build host', `host' and `target'. On mag 03 8:30, Greg Troxel wrote: > I keep forgetting this and having to page it in, but a big concept is > that you can share userland among systems built for the

reboot hangs at "uhid2 at uhidev9 report id 7 ..."

2021-05-05 Thread Henry
I recently installed 9.1 on a HP 15-au123cl. The install seemed to go fairly smoothly, and I was able to get the sets via ftp. The system kept booting into single user mode, but searching around I finally figured out that I needed to edit /etc/rc.conf. I thought I had successfully changed to