Progress on AMD x86 with gnumach

2024-01-22 Thread Damien Zammit
Hi, I am trying to port gnumach to HP T620 which is an AMD FAM16h board running my port of coreboot. With --disable-apic --enable-cpus=1 the board boots to a shell (but NIC locks up). Under GNU/Linux, using command line options "noapic nolapic", the same thing happens and the NIC locks up

Re: [PATCH hurd] Update rpctrace to use the new ABI for inlined port names

2024-01-22 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le dim. 21 janv. 2024 23:35:40 -0500, a ecrit: > --- > utils/rpctrace.c | 83 +++- > 1 file changed, 53 insertions(+), 30 deletions(-) > > diff --git a/utils/rpctrace.c b/utils/rpctrace.c > index f7046a0..c8635a3 100644 >

Re: [PATCH] Resurrect x86-linux build.

2024-01-22 Thread Samuel Thibault
Hello, Janneke Nieuwenhuizen, le lun. 22 janv. 2024 08:55:49 +0100, a ecrit: > This avoids using system headers, which may result in > > kern/strings.c: In function 'strchr': > kern/strings.c:188:32: error: 'NULL' undeclared (first use in this > function) > > In file included from

Re: [PATCH 6/6] added short documentation for some translators.

2024-01-22 Thread Samuel Thibault
Hello, Thanks for your contributions! Here are a few comments for the last bit. Samuel Joshua Branson, le jeu. 21 sept. 2023 12:48:22 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (fifo): added a short explanation. > * doc/hurd.texi (ifsock): added a really short

Re: [PATCH 5/6] trivial hurd manual changes.

2024-01-22 Thread Samuel Thibault
Applied, thanks! Joshua Branson, le jeu. 21 sept. 2023 12:48:21 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (Special Files): added a reference to the zero store. > * doc/hurd.texi (Translators): added a sentence about /dev/random. > * doc/hurd.texi (Invoking 'mount'): added

Re: [PATCH 4/6] add a FAT FS section to the hurd manual.

2024-01-22 Thread Samuel Thibault
Applied, thanks! Joshua Branson, le jeu. 21 sept. 2023 12:48:20 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (FAT FS): new section. > --- > doc/hurd.texi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/doc/hurd.texi b/doc/hurd.texi > index

Re: [PATCH 3/6] describe the ISO-9960 filesystem in the hurd manual.

2024-01-22 Thread Samuel Thibault
Applied, thanks! Joshua Branson, le jeu. 21 sept. 2023 12:48:19 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (ISO-9960): I added in a short explanation. > --- > doc/hurd.texi | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/doc/hurd.texi

Re: [PATCH 2/6] add a short ext2fs description to the hurd manual.

2024-01-22 Thread Samuel Thibault
Applied, thanks! Joshua Branson, le jeu. 21 sept. 2023 12:48:18 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (Linux Extended 2 FS): added a short description. > --- > doc/hurd.texi | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 1/6] describe fixing filesystem corruption in the hurd manual.

2024-01-22 Thread Samuel Thibault
Applied, thanks! Joshua Branson, le jeu. 21 sept. 2023 12:48:17 -0400, a ecrit: > From: "jbra...@dismail.de" > > * doc/hurd.texi (Repairing Filesystems): described fixing filesystem > corruption. > * doc/hurd.texi (Shutdown): added the hurd specific halt-hurd command. > --- > doc/hurd.texi |

Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Stefan Berger
On 1/22/24 15:46, Peter Maydell wrote: On Mon, 22 Jan 2024 at 19:30, Stefan Berger wrote: On 1/22/24 12:16, Peter Maydell wrote: On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: The Hurd currently doesn't have any TPM driver, compilation fails for missing symbols unless these

Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Peter Maydell
On Mon, 22 Jan 2024 at 19:30, Stefan Berger wrote: > > > > On 1/22/24 12:16, Peter Maydell wrote: > > On Thu, 18 Jan 2024 at 16:04, Manolo de Medici > > wrote: > >> > >> The Hurd currently doesn't have any TPM driver, compilation fails > >> for missing symbols unless these are left undefined. >

Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Stefan Berger
On 1/22/24 12:16, Peter Maydell wrote: On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: The Hurd currently doesn't have any TPM driver, compilation fails for missing symbols unless these are left undefined. Signed-off-by: Manolo de Medici --- backends/tpm/tpm_ioctl.h | 2 +- 1

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Daniel P . Berrangé
On Thu, Jan 18, 2024 at 05:02:23PM +0100, Manolo de Medici wrote: > qemu uses the PATH_MAX and IOV_MAX constants extensively > in the code. Define these constants to sensible values ourselves > if the system doesn't define them already. Please give details of what platform(s) lack these constants

Re: [PATCH v2 2/4] Avoid conflicting types for 'copy_file_range'

2024-01-22 Thread Sergey Bugaev
On Mon, Jan 22, 2024 at 9:23 PM Sergey Bugaev wrote: > call such a function. For example on GNU/Linux, remove(2) is a stub, (That was supposed to say revoke(2), of course.)

Re: [PATCH v2 2/4] Avoid conflicting types for 'copy_file_range'

2024-01-22 Thread Sergey Bugaev
Hello, On Mon, Jan 22, 2024 at 8:05 PM Peter Maydell wrote: > > On Thu, 18 Jan 2024 at 16:03, Manolo de Medici > wrote: > > > > Compilation fails on systems where copy_file_range is already defined as a > > stub. > > What do you mean by "stub" here ? If the system headers define > a prototype

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Peter Maydell
On Mon, 22 Jan 2024 at 17:27, Daniel P. Berrangé wrote: > > On Thu, Jan 18, 2024 at 05:02:23PM +0100, Manolo de Medici wrote: > > qemu uses the PATH_MAX and IOV_MAX constants extensively > > in the code. Define these constants to sensible values ourselves > > if the system doesn't define them

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:03, Manolo de Medici wrote: > > qemu uses the PATH_MAX and IOV_MAX constants extensively > in the code. Define these constants to sensible values ourselves > if the system doesn't define them already. > > Signed-off-by: Manolo de Medici > --- > include/qemu/osdep.h | 8

Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: > > The Hurd currently doesn't have any TPM driver, compilation fails > for missing symbols unless these are left undefined. > > Signed-off-by: Manolo de Medici > --- > backends/tpm/tpm_ioctl.h | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 3/4] Add the GNU/Hurd as a target host

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: > > Signed-off-by: Manolo de Medici > --- > configure | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configure b/configure > index 21ab9a64e9..fb11ede5b2 100755 > --- a/configure > +++ b/configure > @@ -353,6 +353,8 @@ elif

Re: [PATCH v2 2/4] Avoid conflicting types for 'copy_file_range'

2024-01-22 Thread Peter Maydell
(Cc'ing the block folks) On Thu, 18 Jan 2024 at 16:03, Manolo de Medici wrote: > > Compilation fails on systems where copy_file_range is already defined as a > stub. What do you mean by "stub" here ? If the system headers define a prototype for the function, I would have expected the meson

Re: [PATCH v2 0/4] Port qemu to GNU/Hurd

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:02, Manolo de Medici wrote: > > Recently, a testsuite for gnumach, the GNU/Hurd microkernel, was developed > that uses qemu. Currently qemu cannot be compiled for the GNU/Hurd, as such, > this testsuite is available only for GNU/Linux users. > > This patcheset allows

Re: [PATCH gnumach] Resurrect x86-linux build.

2024-01-22 Thread Janneke Nieuwenhuizen
Janneke Nieuwenhuizen writes: As you have probably seen, this patch is for gnumach, but I failed to say so in Subject. Greetings, Janneke -- Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com