Hi João,
On 25/11/2026 08:26, João Pedro Malhado wrote:
> Hello Michael,
>
> Thank you very much for looking into this.
>
> On Mon, Nov 23, 2026 at 12:54:01PM +0000, Michael Kelly wrote:
>> 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
You need to examine the memory pointed to by this address. Try reading a range with something like:
(gdb) x /40x 0x1079000
If that works, perhaps try a write. This is the write that netdde would attempt:
(gdb) set *(short *)0x107903c = 0
Cheers,
Mike.