On 26/10/2026 10:50, Michael Kelly wrote:
Hello Gianluca,
On 26/10/2026 10:33, Gianluca Cannata wrote:
Thanks for having a look at it.
? Those libraries do not exest at the moment.
I know. Shall I leave them off for the time being or shall I
coordinate with Mike for a naming convention ?
I'll be working on this on and off throughout today. I've got as far
as the build system attempting to build the library which I expect
will be called librumpdev_nvme. I don't yet know if ld_nvme.c and
nvme.c can be linked in the same library for our purposes which would
keep things simpler.
Mike.
I've made a little progress. This is the output from rumpdisk boot when
linked with some new Nvme/ld rump libraries:
irq handler [23]: new delivery port ffffffffc0fe19d8 entry
ffffffffc03e0d80 for rumpdisk
[ 3.6100050] nvme0: interrupting at pausebreak
[ 3.6100050] nvme0: QEMU NVMe Ctrl, firmware 10.0.13, serial nvme-1
[ 3.6100050] ld at nvme0 nsid 1 not configured
[ 3.6100050] vendor 8086 product 293e (mixed mode multimedia, HD Audio
1.0, revision 0x03) at pci0 dev 27 function 0 not configured
[ 3.6100050] vendor 8086 product 2918 (ISA bridge, revision 0x02) at
pci0 dev 31 function 0 not configured
[ 3.6100050] vendor 8086 product 2930 (SMBus serial bus, revision
0x02) at pci0 dev 31 function 3 not configured
[ 3.6100050] WARNING: module error: built-in module ld failed its
MODULE_CMD_INIT, error 17
[ 3.6100050] WARNING: module error: built-in module ld_nvme
prerequisite ld failed, error 17
[ 3.6100050] WARNING: module error: built-in module ld failed its
MODULE_CMD_INIT, error 17
I'm not attempting to open the device yet as that will need the
forthcoming changes to rumpdisk code.
It took me quite a while to work out how to add an Nvme device within my
libvirt/Qemu setup but I hope that the above suggests that a logical
disk is being detected even though there are errors within the module
init for ld. It is a more significant task than I expected although
these things often are. I've a feeling that there will need to be quite
a few new rump libraries built as there are a number of 'ld_xxx' modules
that presumably relate to specific devices. I've almost had enough for
today but will give it some time tomorrow.
Mike.