Re: Almost working pci-arbiter with rumpdisk

2021-02-20 Thread Damien Zammit
Hi, On 21/2/21 12:24 pm, Samuel Thibault wrote: > Ah, possibly. Perhaps you could make libnetfs to accept any access when > auth/proc are not available Done this! > ? once libpciaccess gets a port on pci-arbiter's root, it can use > file_name_lookup_under to open directories and files in it. lib

Re: Almost working pci-arbiter with rumpdisk

2021-02-20 Thread Samuel Thibault
Damien Zammit, le dim. 21 févr. 2021 12:15:11 +1100, a ecrit: > On 20/2/21 10:16 pm, Samuel Thibault wrote: > > It's hard to tell exactly without seeing what exactly you have done > > already. As I wrote before, device_open should return a port to the > > root directory of the pci-arbiter tree. I'm

Re: Almost working pci-arbiter with rumpdisk

2021-02-20 Thread Damien Zammit
Hi Samuel, On 20/2/21 10:16 pm, Samuel Thibault wrote: > It's hard to tell exactly without seeing what exactly you have done > already. As I wrote before, device_open should return a port to the > root directory of the pci-arbiter tree. I'm not sure exactly what you > wrote to achieve that. I thi

Re: [PATCH] Change variable name from spd to det in ahci.c, to reflect specs

2021-02-20 Thread Samuel Thibault
Hello, Andrea G. Monaco, le dim. 21 févr. 2021 00:21:28 +0100, a ecrit: > while working on this bug > (https://mail.gnu.org/archive/html/help-hurd/2020-12/msg3.html) > and reading the AHCI specification, I found out that a variable is named > incorrectly though used properly. > The correct nam

[PATCH] Change variable name from spd to det in ahci.c, to reflect specs

2021-02-20 Thread Andrea G. Monaco
Hello, while working on this bug (https://mail.gnu.org/archive/html/help-hurd/2020-12/msg3.html) and reading the AHCI specification, I found out that a variable is named incorrectly though used properly. The correct name is det, while spd is another field. Maybe it's worth correcting for co

Re: Almost working pci-arbiter with rumpdisk

2021-02-20 Thread Samuel Thibault
Hello, Damien Zammit, le sam. 20 févr. 2021 19:45:43 +1100, a ecrit: > Ok so the problem is that its returning ENODIR on the file_name_lookup_under > call. > How do I get the root filesystem of pci arbiter to exist so it can look up > paths on the hurd pci arbiter > before rumpdisk initiates the

Re: Almost working pci-arbiter with rumpdisk

2021-02-20 Thread Damien Zammit
Ok so the problem is that its returning ENODIR on the file_name_lookup_under call. How do I get the root filesystem of pci arbiter to exist so it can look up paths on the hurd pci arbiter before rumpdisk initiates the disk driver? Do I need to call fsys_getroot somewhere in the arbiter? pci0 at