Thread View: linux.debian.ports.hurd
13 messages
13 total messages
Started by João Pedro Malhado
Sat, 14 Nov 2026 14:10
Regression in recent netdde?
Author: João Pedro Malhado
Date: Sat, 14 Nov 2026 14:10
Date: Sat, 14 Nov 2026 14:10
14 lines
3360 bytes
3360 bytes
Hello everyone, Netdde is crashing for me on a Realtek card using driver r8169. I do get a core file from the crash but opening it on gdb a warning about unexpected size of section '.reg2/5055' in the core file. I can get a backtrace but no symbols are loaded so I'm not sure how useful that is. Is there anything that I can do to provide useful information about this crash? On a related note, when other translators crash, a message about a core dump is shown but I can actually not find any core file. Is this a known issue? Regards, João
Re: Regression in recent netdde?
Author: David Kahurani
Date: Sat, 14 Nov 2026 14:20
Date: Sat, 14 Nov 2026 14:20
29 lines
4759 bytes
4759 bytes
On Sat, Nov 14, 2026 at 5:01āÆPM JoĆ£o Pedro Malhado <phlogiston@sapo.pt> wrote: > > Hello everyone, Uhmmm... If you run the program in gdb, watch where it crashes then set a breakpoint just before that? > > Netdde is crashing for me on a Realtek card using driver r8169. I do get a core > file from the crash but opening it on gdb a warning about unexpected size of > section '.reg2/5055' in the core file. I can get a backtrace but no symbols are > loaded so I'm not sure how useful that is. > > Is there anything that I can do to provide useful information about this crash? > > On a related note, when other translators crash, a message about a core dump is > shown but I can actually not find any core file. Is this a known issue? > > Regards, > JoĆ£o >
Re: Regression in recent netdde?
Author: Michael Kelly
Date: Sat, 14 Nov 2026 18:20
Date: Sat, 14 Nov 2026 18:20
15 lines
3007 bytes
3007 bytes
Hi João, On 14/11/2026 13:55, João Pedro Malhado wrote: > Hello everyone, > > Netdde is crashing for me on a Realtek card using driver r8169. I do get a core > file from the crash but opening it on gdb a warning about unexpected size of > section '.reg2/5055' in the core file. I can get a backtrace but no symbols are > loaded so I'm not sure how useful that is. Netdde uses libdde-linux26 which has recently been altered to compile with 64 bit physical address size. It's quite likely that this is connected to your problem assuming that the device worked well before. Mike.
Re: Regression in recent netdde?
Author: Samuel Thibault
Date: Sat, 14 Nov 2026 18:40
Date: Sat, 14 Nov 2026 18:40
9 lines
2008 bytes
2008 bytes
João Pedro Malhado, le sam. 14 nov. 2026 13:55:26 +0000, a ecrit: > Netdde is crashing for me on a Realtek card using driver r8169. I do get a core > file from the crash but opening it on gdb a warning about unexpected size of > section '.reg2/5055' in the core file. I can get a backtrace but no symbols are > loaded so I'm not sure how useful that is. Do you have the netdde-dbgsym package installed? Samuel
Re: Regression in recent netdde?
Author: João Pedro Malhado
Date: Sat, 14 Nov 2026 18:50
Date: Sat, 14 Nov 2026 18:50
257 lines
13061 bytes
13061 bytes
--h3BItOfgJ6NY8cd4
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Hello everyone,
On Sat, Nov 14, 2026 at 01:55:26PM +0000, João Pedro Malhado wrote:
> Netdde is crashing for me on a Realtek card using driver r8169. I do get a core
> file from the crash but opening it on gdb a warning about unexpected size of
> section '.reg2/5055' in the core file. I can get a backtrace but no symbols are
> loaded so I'm not sure how useful that is.
I managed to get the symbols by specifying the executable explicitly.
I attach the backtrace.
In this process I also tried to use settrans with the -P flag suggested in
https://darnassus.sceen.net/~hurd-web/hurd/debugging/translator/gdb/
but the translator started immediately instead of the expected pause.
Regards,
João
--h3BItOfgJ6NY8cd4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=netdde_bt
Thread 7 (process 6):
warning: Unexpected size of section `.reg2/6' in core file.
#0 0x010c0a52 in ?? ()
No symbol table info available.
#1 0x013b6a8f in ?? ()
No symbol table info available.
#2 0x0116480a in ?? ()
No symbol table info available.
#3 0x0116494e in ?? ()
No symbol table info available.
#4 0x0104b5ae in ?? ()
No symbol table info available.
#5 0x08162dca in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x0
#6 0x08166e95 in worker_thread (__cwq=0x1c43c04) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
cwq = 0x4801dec
wait = {flags = 0, private = 0x2502460, func = 0x8166ad0 <autoremove_wake_function>, task_list = {next = 0x1c43c1c, prev = 0x1c43c1c}}
#7 0x08164bd9 in kthread (_create=0x1038cb0) at ./libdde-linux26/contrib/kernel/kthread.c:83
create = 0x1038cb0
threadfn = 0x8166db0 <worker_thread>
data = 0x1c43c04
ret = -4
#8 0x0816296a in __kthread_helper (arg=0x25017d0) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x25017d0
_fn = 0x8164b90 <kthread>
_arg = 0x1038cb0
#9 0x0104b075 in ?? ()
No symbol table info available.
#10 0x0115dc89 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (process 5):
warning: Unexpected size of section `.reg2/5' in core file.
#0 0x010c0a52 in ?? ()
No symbol table info available.
#1 0x013b6a8f in ?? ()
No symbol table info available.
#2 0x0116480a in ?? ()
No symbol table info available.
#3 0x0116494e in ?? ()
No symbol table info available.
#4 0x0104b5ae in ?? ()
No symbol table info available.
#5 0x08162dca in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x0
#6 0x08166e95 in worker_thread (__cwq=0x1c43d44) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
cwq = 0x4000dec
wait = {flags = 0, private = 0x3700c10, func = 0x8166ad0 <autoremove_wake_function>, task_list = {next = 0x1c43d5c, prev = 0x1c43d5c}}
#7 0x08164bd9 in kthread (_create=0x1038cb0) at ./libdde-linux26/contrib/kernel/kthread.c:83
create = 0x1038cb0
threadfn = 0x8166db0 <worker_thread>
data = 0x1c43d44
ret = -4
#8 0x0816296a in __kthread_helper (arg=0x25009f0) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x25009f0
_fn = 0x8164b90 <kthread>
_arg = 0x1038cb0
#9 0x0104b075 in ?? ()
No symbol table info available.
#10 0x0115dc89 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (process 4):
warning: Unexpected size of section `.reg2/4' in core file.
#0 0x010c0a52 in ?? ()
No symbol table info available.
#1 0x013b6a8f in ?? ()
No symbol table info available.
#2 0x0116480a in ?? ()
No symbol table info available.
#3 0x0116494e in ?? ()
No symbol table info available.
#4 0x0104b5ae in ?? ()
No symbol table info available.
#5 0x0818296d in __timer_sleep (to=4294967295) at ../../libddekit/timer.c:259
err = 0
#6 ddekit_timer_thread (arg=0x0) at ../../libddekit/timer.c:301
timer = <optimized out>
to = 4294967295
#7 0x0104b075 in ?? ()
No symbol table info available.
#8 0x0115dc89 in ?? ()
No symbol table info available.
#9 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (process 3):
warning: Unexpected size of section `.reg2/3' in core file.
#0 0x010c0a52 in ?? ()
No symbol table info available.
#1 0x013b6a8f in ?? ()
No symbol table info available.
#2 0x0116480a in ?? ()
No symbol table info available.
#3 0x0116494e in ?? ()
No symbol table info available.
#4 0x0104b5ae in ?? ()
No symbol table info available.
#5 0x081634fe in l4dde26_softirq_thread (arg=0x0) at ./libdde-linux26/lib/src/arch/l4/softirq.c:263
No locals.
#6 0x0104b075 in ?? ()
No symbol table info available.
#7 0x0115dc89 in ?? ()
No symbol table info available.
#8 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (process 2):
warning: Unexpected size of section `.reg2/2' in core file.
#0 0x010c0a52 in ?? ()
No symbol table info available.
#1 0x013b6a8f in ?? ()
No symbol table info available.
#2 0x0116480a in ?? ()
No symbol table info available.
#3 0x0116494e in ?? ()
No symbol table info available.
#4 0x0104b5ae in ?? ()
No symbol table info available.
#5 0x08162dca in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x0
#6 0x08165135 in kthreadd (unused=0x0) at ./libdde-linux26/contrib/kernel/kthread.c:250
tsk = <optimized out>
#7 0x0816296a in __kthread_helper (arg=0x20002690) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x20002690
_fn = 0x8164ec0 <kthreadd>
_arg = 0x0
#8 0x0104b075 in ?? ()
No symbol table info available.
#9 0x0115dc89 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (process 1):
warning: Unexpected size of section `.reg2/1' in core file.
#0 0x0109ee6c in ?? ()
No symbol table info available.
#1 0x01396c61 in ?? ()
No symbol table info available.
#2 0x010be7fb in ?? ()
No symbol table info available.
#3 0x010c044e in ?? ()
No symbol table info available.
#4 0x010b6f52 in ?? ()
No symbol table info available.
#5 0x0135a8b8 in ?? ()
No symbol table info available.
#6 0x0135a944 in ?? ()
No symbol table info available.
#7 0x010e2c9d in ?? ()
No symbol table info available.
#8 0x0109fb1a in ?? ()
No symbol table info available.
#9 0x0109fc54 in ?? ()
No symbol table info available.
#10 0x010e2d20 in ?? ()
No symbol table info available.
#11 0x0115dc89 in ?? ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
Thread 1 (process 5055):
#0 0x08196c54 in writew (val=0, addr=0x24a703c) at /usr/share/libdde_linux26/build/include/linux-headers/asm/io.h:28
No locals.
#1 rtl8169_init_one (pdev=0x249c304, ent=0x8257e5c <rtl8169_pci_tbl+28>) at ./dde/r8169.c:3111
cfg = 0x81d3d50 <rtl_cfg_infos+48>
region = <optimized out>
tp = 0x24a14a0
mii = 0x24a1b80
dev = 0x24a1020
ioaddr = 0x24a7000
i = <optimized out>
rc = 0
#2 0x08174ab2 in local_pci_probe (_ddi=<synthetic pointer>) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:203
ddi = <synthetic pointer>
#3 pci_call_probe (drv=0x8257dc0 <rtl8169_pci_driver>, dev=0x249c304, id=<optimized out>) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:229
error = <optimized out>
node = -1
ddi = <optimized out>
cpu = <optimized out>
nodecpumask = <optimized out>
#4 __pci_device_probe (drv=0x8257dc0 <rtl8169_pci_driver>, pci_dev=0x249c304) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:252
id = <optimized out>
error = -19
#5 pci_device_probe (dev=0x249c35c) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:270
error = 0
drv = 0x8257dc0 <rtl8169_pci_driver>
pci_dev = 0x249c304
#6 0x0816fce5 in really_probe (dev=0x249c35c, drv=0x8257df0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:120
ret = 0
__func__ = "really_probe"
#7 driver_probe_device (drv=0x8257df0 <rtl8169_pci_driver+48>, dev=0x249c35c) at ./libdde-linux26/contrib/drivers/base/dd.c:216
ret = 0
__func__ = <optimized out>
#8 0x0816fe82 in __driver_attach (dev=0x249c35c, data=0x8257df0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:284
drv = 0x8257df0 <rtl8169_pci_driver+48>
#9 0x0816df8e in bus_for_each_dev (bus=0x8267d00 <pci_bus_type>, start=0x0, data=0x8257df0 <rtl8169_pci_driver+48>, fn=0x816fdc0 <__driver_attach>) at ./libdde-linux26/contrib/drivers/base/bus.c:291
i = {i_klist = 0x1c43b04, i_cur = 0x249c394}
dev = <optimized out>
error = 0
#10 0x0816ff07 in driver_attach (drv=0x8257df0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:303
No locals.
#11 0x0816e5a2 in bus_add_driver (drv=0x8257df0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/bus.c:669
bus = 0x8267d00 <pci_bus_type>
priv = 0x2446484
error = 0
__func__ = '\000' <repeats 14 times>
#12 0x08170989 in driver_register (drv=<optimized out>) at ./libdde-linux26/contrib/drivers/base/driver.c:233
ret = <optimized out>
other = <optimized out>
#13 0x08174b69 in __pci_register_driver (drv=<optimized out>, owner=0x0, mod_name=0x81ad1d4 "") at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:867
error = <optimized out>
#14 0x081036d4 in rtl8169_init_module () at ./dde/r8169.c:4953
No locals.
#15 0x08180a92 in ddekit_do_initcalls () at ../../libddekit/initcall.c:23
list = 0x824be5c <__l4ddekit_initcall_rtl8169_init_module>
#16 0x08161fa5 in l4dde26_do_initcalls () at ./libdde-linux26/lib/src/arch/l4/init.c:30
No locals.
#17 0x0804b643 in main (argc=1, argv=0x1038e64) at ./main.c:27
No locals.
--h3BItOfgJ6NY8cd4--
Re: Regression in recent netdde?
Author: Samuel Thibault
Date: Sat, 14 Nov 2026 19:00
Date: Sat, 14 Nov 2026 19:00
28 lines
2686 bytes
2686 bytes
João Pedro Malhado, le sam. 14 nov. 2026 18:49:08 +0000, a ecrit: > Hello everyone, > > On Sat, Nov 14, 2026 at 01:55:26PM +0000, João Pedro Malhado wrote: > > Netdde is crashing for me on a Realtek card using driver r8169. I do get a core > > file from the crash but opening it on gdb a warning about unexpected size of > > section '.reg2/5055' in the core file. I can get a backtrace but no symbols are > > loaded so I'm not sure how useful that is. > > I managed to get the symbols by specifying the executable explicitly. > I attach the backtrace. > > In this process I also tried to use settrans with the -P flag suggested in > https://darnassus.sceen.net/~hurd-web/hurd/debugging/translator/gdb/ > but the translator started immediately instead of the expected pause. > > Regards, > João > > Thread 7 (process 6): > warning: Unexpected size of section `.reg2/6' in core file. > #0 0x010c0a52 in ?? () > No symbol table info available. Do you have the libc0.3-dbg package installed? Samuel
Re: Regression in recent netdde?
Author: João Pedro Malhado
Date: Sat, 14 Nov 2026 19:40
Date: Sat, 14 Nov 2026 19:40
19 lines
3527 bytes
3527 bytes
Hello Samuel, On Sat, Nov 14, 2026 at 07:50:31PM +0100, Samuel Thibault wrote: > João Pedro Malhado, le sam. 14 nov. 2026 18:49:08 +0000, a ecrit: > > I managed to get the symbols by specifying the executable explicitly. > > I attach the backtrace. > > > > Thread 7 (process 6): > > warning: Unexpected size of section `.reg2/6' in core file. > > #0 0x010c0a52 in ?? () > > No symbol table info available. > > Do you have the libc0.3-dbg package installed? Yes the package is installed, but the symbols are not being loaded. Would you have any advice on how to point gdb to load the relevant symbols? Regards, João
Re: Regression in recent netdde?
Author: Samuel Thibault
Date: Sat, 14 Nov 2026 21:00
Date: Sat, 14 Nov 2026 21:00
25 lines
2824 bytes
2824 bytes
João Pedro Malhado, le sam. 14 nov. 2026 19:37:04 +0000, a ecrit: > Hello Samuel, > > On Sat, Nov 14, 2026 at 07:50:31PM +0100, Samuel Thibault wrote: > > João Pedro Malhado, le sam. 14 nov. 2026 18:49:08 +0000, a ecrit: > > > I managed to get the symbols by specifying the executable explicitly. > > > I attach the backtrace. > > > > > > Thread 7 (process 6): > > > warning: Unexpected size of section `.reg2/6' in core file. > > > #0 0x010c0a52 in ?? () > > > No symbol table info available. > > > > Do you have the libc0.3-dbg package installed? > > Yes the package is installed, but the symbols are not being loaded. Would you > have any advice on how to point gdb to load the relevant symbols? This probably needs fixing some bugs in gdb or exec about symbols vs core file. Another way to get useful core files is to run netdde.static instead of netdde, to avoid issues with dynamic libraries. Samuel
Re: Regression in recent netdde?
Author: João Pedro Malhado
Date: Sat, 14 Nov 2026 21:20
Date: Sat, 14 Nov 2026 21:20
261 lines
14345 bytes
14345 bytes
--KjdaymBLpRnz7xMs
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Hello Samuel,
On Sat, Nov 14, 2026 at 09:49:53PM +0100, Samuel Thibault wrote:
> Another way to get useful core files is to run netdde.static instead of
> netdde, to avoid issues with dynamic libraries.
With netdde.static I get the attached backtrace.
Regards,
João
--KjdaymBLpRnz7xMs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=netdde_bt2
Thread 7 (process 6):
#0 0x08212a72 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1 0x0829bccf in gsync_wait_intr ()
No symbol table info available.
#2 0x081cdfba in __sem_timedwait_internal ()
No symbol table info available.
#3 0x081ce0ce in sem_wait ()
No symbol table info available.
#4 0x081851b6 in _sem_timedwait_internal (sem=0x20006b30, timeout=0) at ../../libddekit/thread.c:248
ret = <optimized out>
ts = <optimized out>
#5 ddekit_sem_down (sem=0x20006b30) at ../../libddekit/thread.c:268
No locals.
#6 0x0816594a in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x200065e0
#7 0x08169995 in worker_thread (__cwq=0x1016c04) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
cwq = 0x1016c04
wait = {flags = 0, private = 0x20006660, func = 0x81695d0 <autoremove_wake_function>, task_list = {next = 0x1016c1c, prev = 0x1016c1c}}
#8 0x08167759 in kthread (_create=0x1001d00) at ./libdde-linux26/contrib/kernel/kthread.c:83
create = 0x1001d00
threadfn = 0x81698b0 <worker_thread>
data = 0x1016c04
ret = -4
#9 0x081654ea in __kthread_helper (arg=0x2301460) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x2301460
_fn = 0x8167710 <kthread>
_arg = 0x1001d00
#10 0x08184da6 in _priv_fun (arg=<optimized out>) at ../../libddekit/thread.c:101
priv_arg = 0x2301510
#11 0x081caa59 in entry_point ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (process 5):
#0 0x08212a72 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1 0x0829bccf in gsync_wait_intr ()
No symbol table info available.
#2 0x081cdfba in __sem_timedwait_internal ()
No symbol table info available.
#3 0x081ce0ce in sem_wait ()
No symbol table info available.
#4 0x081851b6 in _sem_timedwait_internal (sem=0x1101230, timeout=0) at ../../libddekit/thread.c:248
ret = <optimized out>
ts = <optimized out>
#5 ddekit_sem_down (sem=0x1101230) at ../../libddekit/thread.c:268
No locals.
#6 0x0816594a in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x1100ce0
#7 0x08169995 in worker_thread (__cwq=0x1016d44) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
cwq = 0x1016d44
wait = {flags = 0, private = 0x1100d60, func = 0x81695d0 <autoremove_wake_function>, task_list = {next = 0x1016d5c, prev = 0x1016d5c}}
#8 0x08167759 in kthread (_create=0x1001d00) at ./libdde-linux26/contrib/kernel/kthread.c:83
create = 0x1001d00
threadfn = 0x81698b0 <worker_thread>
data = 0x1016d44
ret = -4
#9 0x081654ea in __kthread_helper (arg=0x2300a10) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x2300a10
_fn = 0x8167710 <kthread>
_arg = 0x1001d00
#10 0x08184da6 in _priv_fun (arg=<optimized out>) at ../../libddekit/thread.c:101
priv_arg = 0x2300ac0
#11 0x081caa59 in entry_point ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (process 4):
#0 0x08212a72 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1 0x0829bccf in gsync_wait_intr ()
No symbol table info available.
#2 0x081cdfba in __sem_timedwait_internal ()
No symbol table info available.
#3 0x081ce0ce in sem_wait ()
No symbol table info available.
#4 0x081851b6 in _sem_timedwait_internal (sem=0x23009f0, timeout=0) at ../../libddekit/thread.c:248
ret = <optimized out>
ts = <optimized out>
#5 ddekit_sem_down (sem=0x23009f0) at ../../libddekit/thread.c:268
No locals.
#6 0x081858f9 in __timer_sleep (to=4294967295) at ../../libddekit/timer.c:259
err = 0
#7 ddekit_timer_thread (arg=0x0) at ../../libddekit/timer.c:301
timer = <optimized out>
to = 4294967295
#8 0x08184da6 in _priv_fun (arg=<optimized out>) at ../../libddekit/thread.c:101
priv_arg = 0x20003ec0
#9 0x081caa59 in entry_point ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (process 3):
#0 0x08212a72 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1 0x0829bccf in gsync_wait_intr ()
No symbol table info available.
#2 0x081cdfba in __sem_timedwait_internal ()
No symbol table info available.
#3 0x081ce0ce in sem_wait ()
No symbol table info available.
#4 0x081851b6 in _sem_timedwait_internal (sem=0x20002d00, timeout=0) at ../../libddekit/thread.c:248
ret = <optimized out>
ts = <optimized out>
#5 ddekit_sem_down (sem=0x20002d00) at ../../libddekit/thread.c:268
No locals.
#6 0x0816606e in l4dde26_softirq_thread (arg=0x0) at ./libdde-linux26/lib/src/arch/l4/softirq.c:263
No locals.
#7 0x08184da6 in _priv_fun (arg=<optimized out>) at ../../libddekit/thread.c:101
priv_arg = 0x20002db0
#8 0x081caa59 in entry_point ()
No symbol table info available.
#9 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (process 2):
#0 0x08212a72 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1 0x0829bccf in gsync_wait_intr ()
No symbol table info available.
#2 0x081cdfba in __sem_timedwait_internal ()
No symbol table info available.
#3 0x081ce0ce in sem_wait ()
No symbol table info available.
#4 0x081851b6 in _sem_timedwait_internal (sem=0x23009a0, timeout=0) at ../../libddekit/thread.c:248
ret = <optimized out>
ts = <optimized out>
#5 ddekit_sem_down (sem=0x23009a0) at ../../libddekit/thread.c:268
No locals.
#6 0x0816594a in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
t = 0x2300450
#7 0x08167cb5 in kthreadd (unused=0x0) at ./libdde-linux26/contrib/kernel/kthread.c:250
tsk = <optimized out>
#8 0x081654ea in __kthread_helper (arg=0x20001d10) at ./libdde-linux26/lib/src/arch/l4/process.c:169
k = 0x20001d10
_fn = 0x8167a40 <kthreadd>
_arg = 0x0
#9 0x08184da6 in _priv_fun (arg=<optimized out>) at ../../libddekit/thread.c:101
priv_arg = 0x20001fc0
#10 0x081caa59 in entry_point ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (process 1):
#0 0x081f603c in mach_msg_trap ()
No symbol table info available.
#1 0x0819ff00 in mach_msg ()
No symbol table info available.
#2 0x082920c1 in crash_dump_task ()
No symbol table info available.
#3 0x082113e3 in post_signal ()
No symbol table info available.
#4 0x0821244e in _hurd_internal_post_signal ()
No symbol table info available.
#5 0x0829bed0 in _S_catch_exception_raise ()
No symbol table info available.
#6 0x082908a8 in _Xexception_raise ()
No symbol table info available.
#7 0x08290932 in _S_exc_server ()
No symbol table info available.
#8 0x0821895d in msgport_server ()
No symbol table info available.
#9 0x081a0238 in mach_msg_server_timeout ()
No symbol table info available.
#10 0x081a0348 in mach_msg_server ()
No symbol table info available.
#11 0x082189e0 in _hurd_msgport_receive ()
No symbol table info available.
#12 0x081caa59 in entry_point ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
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
cfg = 0x8311410 <rtl_cfg_infos+48>
region = <optimized out>
tp = 0x10734a0
mii = 0x1073b80
dev = 0x1073020
ioaddr = 0x1079000
i = <optimized out>
rc = 0
#2 0x081773b2 in local_pci_probe (_ddi=<synthetic pointer>) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:203
ddi = <synthetic pointer>
#3 pci_call_probe (drv=0x83c3cc0 <rtl8169_pci_driver>, dev=0x106e304, id=<optimized out>) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:229
error = <optimized out>
node = -1
ddi = <optimized out>
cpu = <optimized out>
nodecpumask = <optimized out>
#4 __pci_device_probe (drv=0x83c3cc0 <rtl8169_pci_driver>, pci_dev=0x106e304) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:252
id = <optimized out>
error = -19
#5 pci_device_probe (dev=0x106e35c) at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:270
error = 0
drv = 0x83c3cc0 <rtl8169_pci_driver>
pci_dev = 0x106e304
#6 0x081725e5 in really_probe (dev=0x106e35c, drv=0x83c3cf0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:120
ret = 0
__func__ = "really_probe"
#7 driver_probe_device (drv=0x83c3cf0 <rtl8169_pci_driver+48>, dev=0x106e35c) at ./libdde-linux26/contrib/drivers/base/dd.c:216
ret = 0
__func__ = <optimized out>
#8 0x08172782 in __driver_attach (dev=0x106e35c, data=0x83c3cf0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:284
drv = 0x83c3cf0 <rtl8169_pci_driver+48>
#9 0x0817088e in bus_for_each_dev (bus=0x83d3c80 <pci_bus_type>, start=0x0, data=0x83c3cf0 <rtl8169_pci_driver+48>, fn=0x81726c0 <__driver_attach>) at ./libdde-linux26/contrib/drivers/base/bus.c:291
i = {i_klist = 0x1016b04, i_cur = 0x106e394}
dev = <optimized out>
error = 0
#10 0x08172807 in driver_attach (drv=0x83c3cf0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/dd.c:303
No locals.
#11 0x08170ea2 in bus_add_driver (drv=0x83c3cf0 <rtl8169_pci_driver+48>) at ./libdde-linux26/contrib/drivers/base/bus.c:669
bus = 0x83d3c80 <pci_bus_type>
priv = 0x1018484
error = 0
__func__ = '\000' <repeats 14 times>
#12 0x08173289 in driver_register (drv=<optimized out>) at ./libdde-linux26/contrib/drivers/base/driver.c:233
ret = <optimized out>
other = <optimized out>
#13 0x08177469 in __pci_register_driver (drv=<optimized out>, owner=0x0, mod_name=0x82dfcc2 "") at ./libdde-linux26/lib/src/drivers/pci/pci-driver.c:867
error = <optimized out>
#14 0x08102614 in rtl8169_init_module () at ./dde/r8169.c:4953
No locals.
#15 0x08183372 in ddekit_do_initcalls () at ../../libddekit/initcall.c:23
list = 0x83b5210 <__l4ddekit_initcall_rtl8169_init_module>
#16 0x08164b25 in l4dde26_do_initcalls () at ./libdde-linux26/lib/src/arch/l4/init.c:30
No locals.
#17 0x0804a4c3 in main (argc=1, argv=0x1001ec4) at ./main.c:27
No locals.
--KjdaymBLpRnz7xMs--
Re: Regression in recent netdde?
Author: Michael Kelly
Date: Mon, 23 Nov 2026 13:00
Date: Mon, 23 Nov 2026 13:00
44 lines
4482 bytes
4482 bytes
João On 14/11/2026 21:18, João Pedro Malhado wrote: > Hello Samuel, > > On Sat, Nov 14, 2026 at 09:49:53PM +0100, Samuel Thibault wrote: >> Another way to get useful core files is to run netdde.static instead of >> netdde, to avoid issues with dynamic libraries. > With netdde.static I get the attached backtrace. 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? ioremap() is implemented by an L4 overloading of the Linux code and this code does traverse data structures involving physical addresses. 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. Mike.
Re: Regression in recent netdde?
Author: João Pedro Malhado
Date: Wed, 25 Nov 2026 08:30
Date: Wed, 25 Nov 2026 08:30
79 lines
5896 bytes
5896 bytes
--OrFMUPDN2UgKGvrD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
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
--OrFMUPDN2UgKGvrD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=netdde_bp1
Breakpoint 1 at 0x82c96c1: file ./dde/r8169.c, line 3100.
Starting program: /hurd/netdde.static
[bogus thread id 1 (id 1) exited]
[bogus thread id 2 (id 2) exited]
[bogus thread id 3 (id 3) exited]
[New Thread 6309.5 (id 5)]
[New Thread 6309.6 (id 6)]
[New Thread 6309.7 (id 7)]
[New Thread 6309.8 (id 8)]
[New Thread 6309.9 (id 9)]
[New Thread 6309.10 (id 10)]
Thread 4 hit Breakpoint 1, rtl8169_init_one (pdev=0x106e304,
ent=0x83c3d5c <rtl8169_pci_tbl+28>) at ./dde/r8169.c:3100
warning: 3100 ./dde/r8169.c: No such file or directory
$1 = (void *) 0x1079000
--OrFMUPDN2UgKGvrD--
Re: Regression in recent netdde?
Author: Michael Kelly
Date: Wed, 25 Nov 2026 13:10
Date: Wed, 25 Nov 2026 13:10
33 lines
3919 bytes
3919 bytes
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.
Re: Regression in recent netdde?
Author: João Pedro Malhado
Date: Wed, 25 Nov 2026 22:20
Date: Wed, 25 Nov 2026 22:20
20 lines
3807 bytes
3807 bytes
Hello Michael, On Wed, Nov 25, 2026 at 01:09:03PM +0000, Michael Kelly wrote: > 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 Thank you for guiding me through. It says it cannot read the memory at that address. I will contact you off list not to generate too much noise here. Best regards, João
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads