bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Almost working pci-arbiter with rumpdisk


From: Samuel Thibault
Subject: Re: Almost working pci-arbiter with rumpdisk
Date: Sat, 20 Feb 2021 12:16:33 +0100
User-agent: NeoMutt/20170609 (1.8.3)

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 disk driver?
> 
> Do I need to call fsys_getroot somewhere in the arbiter?

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. file_name_lookup_under translates to calling
netfs_S_dir_lookup inside pci-arbiter, does that happen properly? Where
in there does it return ENOTDIR? The type of port itself is probably
correct, since otherwise you'd rather get EOPNOTSUPP or EMIG_BAD_ID.

Just to make sure: did you try your modified libpciaccess on the
installed system itself, to make sure that file_name_lookup_under is
called properly?

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]