Re: [PATCH x3] hurd: pci arbiter bootstrap

2021-02-01 Thread Damien Zammit
Hi, Here is the tail of my start up log with some extra debug mach_prints: I think the "Must be started as a translator" is coming from the netfs start up when it tries to create a node for the pci filesystem. start pci-arbiter: PCI start PCI machdev start Hurd bootstrap pci PCI machdev done

[PATCH 2/3] Bootstrappable pci-arbiter

2021-02-01 Thread Damien Zammit
--- pci-arbiter/Makefile | 2 +- pci-arbiter/main.c| 72 --- pci-arbiter/options.c | 19 +++ pci-arbiter/options.h | 8 + pci-arbiter/pcifs.h | 3 ++ pci-arbiter/startup-ops.c | 2 ++ 6 files changed, 100 insertions(+),

[PATCH 3/3] rumpdisk: Don't pretend to be the arbiter anymore

2021-02-01 Thread Damien Zammit
--- rumpdisk/main.c | 5 - 1 file changed, 5 deletions(-) diff --git a/rumpdisk/main.c b/rumpdisk/main.c index 150dc996..b35cbfa7 100644 --- a/rumpdisk/main.c +++ b/rumpdisk/main.c @@ -31,11 +31,6 @@ #include #include -/* TODO: Add api to pciaccess to allow selecting backend. - * For no

[PATCH 1/3] libnetfs: Fix mapping of time fallback to mach device 'time'

2021-02-01 Thread Damien Zammit
--- libnetfs/init-init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libnetfs/init-init.c b/libnetfs/init-init.c index 984a5e71..b63e7ffa 100644 --- a/libnetfs/init-init.c +++ b/libnetfs/init-init.c @@ -39,6 +39,8 @@ netfs_init () { error_t err; err = maptime_map (0, 0, &netfs_mti

[PATCH x3] hurd: pci arbiter bootstrap

2021-02-01 Thread Damien Zammit
Hi all, [PATCH 1/3] libnetfs: Fix mapping of time fallback to mach device This could be merged as is. [PATCH 2/3] Bootstrappable pci-arbiter This is a work in progress, I would like some comments on how I can make the arbiter start up without a / filesystem when it needs to expose the pci inte

Re: [hurd,commited] hurd TIOCFLUSH: Cope BSD 4.1 semantic

2021-02-01 Thread Samuel Thibault
Andreas Schwab, le lun. 01 févr. 2021 19:55:05 +0100, a ecrit: > On Feb 01 2021, Samuel Thibault wrote: > > > BSD 4.1 did not have an argument for TIOCFLUSH, BSD 4.2 added it. There > > are still a lot of applications out there that pass a NULL argument to > > TIOCFLUSH, so we should rather cope w