Hello Michael,
Thank you very much for looking into this.
On Mon, Nov 23, 2026 at 12:54:01PM +0000, Michael Kelly wrote:
> The only 2 threads that I see anything useful in are:
>
> Thread 1 (process 4594):
> #0 0x082c9764 in writew (val=0, addr=0x107903c) at
> /usr/share/libdde_linux26/build/include/linux-headers/asm/io.h:28
> No locals.
> #1 rtl8169_init_one (pdev=0x106e304, ent=0x83c3d5c <rtl8169_pci_tbl+28>) at
> ./dde/r8169.c:3111
>
> Thread 2 (process 1):
> #0 0x081f603c in mach_msg_trap ()
>
> ....
> #5 0x0829bed0 in _S_catch_exception_raise ()
> ....
>
> It's quite hard for me to make progress with this personally without the
> actual hardware, but there's a possibility there is something amiss with the
> mapping made by ioremap (r8169.c:3098). The last call from the main thread
> attempts to write into 'ioaddr+3c' and perhaps that address is not mapped
> properly and results in the exception.
>
> Perhaps you can run by adding a breakpoint at line 3099 and see if gdb can
> read the memory pointed to by ioaddr at this point?
printing ioaddr at that point I get
$1 = (void *) 0x1079000
I don't know if this is telling in any way.
I attach the gdb session in case it is informative.
> In the
> event that all this starts to get too difficult to progress, perhaps I
> should look for an alternative solution to the "prevent 64bit PCI-BAR
> disable patch" which necessitated switching to 64 bit physical addresses.
> Alternatively perhaps it will be a driving force to start porting more
> ethernet drivers to rumpnet.
Yes, one should wonder where best apply the effort. On this machine rumpdisk
does not work, and I don't know if it is an issue with the rump kernel or the
driver itself.
Regards,
João