IRC channel logs

2025-07-17.log

back to list of logs

<damo22>i know spl was tiered but since we removed that why not clean up spl.S as well?
<damo22>youpi: i think i fixed interrupts and now i have a new deadlock in gnumach
<damo22>Thread 5 (Thread 1.5 (CPU#4 [running])):
<damo22>#0 0xc1006093 in vm_map_pageable_scan (map=map@entry=0xf6782588, start_entry=start_entry@entry=0xf622b3d0, end=end@entry=539291648) at ../vm/vm_map.c:1445
<damo22>#1 0xc100b379 in vm_map_protect (map=<optimized out>, start=<optimized out>, end=539291648, new_prot=3, set_max=0) at ../vm/vm_map.c:1725
<damo22>#2 0xc1014316 in vm_protect (map=0xf6782588, start=539136000, size=155648, set_maximum=0, new_protection=3) at ../vm/vm_user.c:172
<damo22>#3 0xc105b9f8 in _Xvm_protect (InHeadP=0xf5446010, OutHeadP=0xfa0aa010) at kern/mach.server.c:1151
<damo22>#4 _Xvm_protect (InHeadP=0xf5446010, OutHeadP=0xfa0aa010) at kern/mach.server.c:1055
<damo22>#5 0xc1038193 in ipc_kobject_server (request=0xf5446000) at ../kern/ipc_kobject.c:179
<damo22>#6 0xc1068b67 in mach_msg_trap (msg=0x1037764, option=3, send_size=56, rcv_size=32, rcv_name=4, time_out=0, notify=0) at ../ipc/mach_msg.c:1310
<damo22>#7 0xc10250dc in syscall () at ../i386/i386/locore.S:1187
<damo22>#8 0x01037764 in ?? ()
<youpi>deadlocks are usually not about just one cpu
<youpi>and you need to look at all cpu states
<damo22>i did, the rest are idle or halted
<damo22>this thread is stuck
<damo22>i will mail in my irq fix
<damo22>it fixes the usb stack from affecting the rumpnet irq
<youpi>stuck: it's looping forever in that for loop?
<damo22>let me reproduce and check
<damo22>it hasnt happened again yet
<damo22>{cpu4} ../vm/vm_fault.c:709: vm_fault_page: Assertion `!must_be_resident' failed
<damo22>.Debugger invoked: assertion failure
<damo22>Kernel Breakpoint trap, eip 0xc1000ba4, code 0, cr2 f550dc94
<damo22>Stopped at Debugger+0x13: int $3
<damo22>Debugger(c107ce6d,c107faff,f54645a0,c1000bcc,1)+0x13
<damo22>Assert(c107faff,c107faee,2c5,c107695c,1)+0x7c
<damo22>vm_fault_page(f5544c08,0,0,1,0,f550dd90,f550dd94,f550dd98,0,0,46,c10a310c)+0x15ba
<damo22>vm_fault(f67b9530,0,0,1,0)+0x558
<damo22>vm_fault_unwire(f67b9530,f67b9384,8,200286)+0x11e
<damo22>vm_map_pageable_scan(f67b9530,f6143ab0,202af000,3)+0x175
<damo22>vm_map_protect(f67b9530,20287000,202af000,3,0,20287000,202af000,c103ae7a)+0x149
<damo22>vm_protect(f67b9530,20287000,28000,0,3)+0x56
<damo22>_Xvm_protect(f6267010,fa0a6010,f550df40,0,f550df58)+0x58
<damo22>ipc_kobject_server(f6267000,1,0,1000)+0x93
<damo22>mach_msg_trap(10375b4,3,38,20,4)+0x997
<damo22>>>>>> user space <<<<<
<damo22>db{4}>