https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584
--- Comment #9 from m...@sentex.net --- (In reply to Eugene Grosbein from comment #7) Hi, apart from KDB_UNATTENDED these options are all part of a standard GENERIC kernel on HEAD, no ? I added that as well as BREAK_TO_DEBUGGER. The kernel does not (nor has it ever) panic. I start the compile, and the compile gets stuck during the build. Forcing it to go to the debugger telnet> send break KDB: enter: Break to debugger [ thread pid 11 tid 100003 ] Stopped at kdb_break+0x4d: movq $0,kdb_why db> ps pid ppid pgrp uid state wmesg wchan cmd 5814 5813 5814 0 S+ ttyin 0xfffff8000510dcb0 csh 5813 5807 5813 1001 S+ wait 0xfffff8018bbb5538 su 5807 5806 5807 1001 Ss+ pause 0xfffff800165350a8 csh 5806 5804 5804 1001 S select 0xfffff80006746d40 sshd 5804 985 5804 0 Ss select 0xfffff800063222c0 sshd 5772 5771 1076 0 S+ (threaded) python2.7 100821 S usem 0xfffff80016833b80 python2.7 100852 S umtxn 0xfffff80006864800 python2.7 100853 S umtxn 0xfffff80003debc80 python2.7 100854 S umtxn 0xfffff80006864600 python2.7 100855 S umtxn 0xfffff80006865280 python2.7 100856 S umtxn 0xfffff80006864400 python2.7 100857 S umtxn 0xfffff80006864300 python2.7 100858 S umtxn 0xfffff80006865380 python2.7 100859 S umtxn 0xfffff80003debd80 python2.7 100860 S umtxn 0xfffff80006864200 python2.7 100861 S umtxn 0xfffff80006864500 python2.7 100862 S umtxn 0xfffff80006865180 python2.7 100863 S umtxn 0xfffff80006864700 python2.7 5771 1101 1076 0 S+ wait 0xfffff80016535a70 sh 1101 1076 1076 0 S+ wait 0xfffff800064a0000 make 1076 1070 1076 0 S+ wait 0xfffff80016e3b000 make 1070 1069 1070 0 S+ pause 0xfffff800039025e0 csh 1069 1066 1069 1001 S+ wait 0xfffff80016536a70 su 1066 1065 1066 1001 Ss+ pause 0xfffff80016537b18 csh 1065 1063 1063 1001 S select 0xfffff800066ea7c0 sshd 1063 985 1063 0 Ss select 0xfffff800039d6f40 sshd 1062 1 1062 0 Ss+ ttyin 0xfffff8000510e0b0 getty 1061 1 1061 0 Ss+ ttyin 0xfffff800066c0cb0 getty 1060 1 1060 0 Ss+ ttyin 0xfffff800066c10b0 getty 1059 1 1059 0 Ss+ ttyin 0xfffff800066c14b0 getty 1058 1 1058 0 Ss+ ttyin 0xfffff800066c18b0 getty 1057 1 1057 0 Ss+ ttyin 0xfffff800066c1cb0 getty 1056 1 1056 0 Ss+ ttyin 0xfffff800066c20b0 getty 1055 1 1055 0 Ss+ ttyin 0xfffff800066c24b0 getty 1054 1 1054 0 Ss+ ttyin 0xfffff800066c28b0 getty 995 1 995 0 Ss nanslp 0xffffffff81ceb8c0 cron 991 1 991 25 Ss pause 0xfffff80016b36b18 sendmail 988 1 988 0 Ss select 0xfffff800033b0bc0 sendmail 985 1 985 0 Ss select 0xfffff80003da9840 sshd 860 1 860 0 Ss select 0xfffff800039d7040 syslogd 625 1 625 0 Ss select 0xfffff80003da98c0 devd 624 1 624 65 Ss select 0xfffff80006738a40 dhclient 580 1 580 0 Ss select 0xfffff80003da9940 dhclient 577 1 577 0 Ss select 0xfffff800066ea840 dhclient 141 1 141 0 Ss pause 0xfffff80016df95e0 adjkerntz 33 0 0 0 DL syncer 0xffffffff81e90e40 [syncer] 32 0 0 0 DL vlruwt 0xfffff800066f6538 [vnlru] 31 0 0 0 DL psleep 0xffffffff81e90168 [bufdaemon] 30 0 0 0 DL - 0xffffffff81e9038c [bufspacedaemon] 29 0 0 0 DL psleep 0xffffffff81e9c8e8 [vmdaemon] 28 0 0 0 DL (threaded) [pagedaemon] 100177 D psleep 0xffffffff81e98cec [pagedaemon] 100179 D launds 0xffffffff81e98cf8 [laundry: dom0] 100181 D umarcl 0xffffffff80db7e90 [uma] 27 0 0 0 DL - 0xffffffff81bbe8a8 [rand_harvestq] 26 0 0 0 DL waiting 0xffffffff81f0a240 [sctp_iterator] 25 0 0 0 DL - 0xffffffff81e8fb64 [soaiod4] 24 0 0 0 DL - 0xffffffff81e8fb64 [soaiod3] db> tr 5772 Tracing pid 5772 tid 100821 td 0xfffff8015cad1000 sched_switch() at sched_switch+0x4f5/frame 0xfffffe00a3dc06b0 mi_switch() at mi_switch+0x18c/frame 0xfffffe00a3dc06e0 sleepq_switch() at sleepq_switch+0x10d/frame 0xfffffe00a3dc0720 sleepq_catch_signals() at sleepq_catch_signals+0x300/frame 0xfffffe00a3dc0780 sleepq_wait_sig() at sleepq_wait_sig+0xf/frame 0xfffffe00a3dc07b0 _sleep() at _sleep+0x359/frame 0xfffffe00a3dc0860 umtxq_sleep() at umtxq_sleep+0x163/frame 0xfffffe00a3dc08c0 do_sem2_wait() at do_sem2_wait+0x426/frame 0xfffffe00a3dc0930 __umtx_op_sem2_wait() at __umtx_op_sem2_wait+0x4b/frame 0xfffffe00a3dc0980 amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe00a3dc0ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0x7fffffffb570 db> show lockchain 5772 thread 100821 (pid 5772, python2.7) blocked on lockmgr (null)EXCL db> db> show lockchain 100821 thread 100821 (pid 5772, python2.7) blocked on lockmgr (null)EXCL db> show lockchain 100852 thread 100852 (pid 5772, python2.7) blocked on lockmgr EXCL db> show lockchain 100853 thread 100853 (pid 5772, python2.7) blocked on lockmgr QEXCL db> show lockchain 100855 thread 100855 (pid 5772, python2.7) blocked on lockmgr EXCL db> show lockchain 100856 thread 100856 (pid 5772, python2.7) blocked on lockmgr EXCL db> db> show lock 0xfffff80016833b80 class: lockmgr name: (null) state:KDB: reentering KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0077b5a170 kdb_reenter() at kdb_reenter+0x2f/frame 0xfffffe0077b5a180 trap() at trap+0x5c/frame 0xfffffe0077b5a290 calltrap() at calltrap+0x8/frame 0xfffffe0077b5a290 --- trap 0xc, rip = 0xffffffff80a746c6, rsp = 0xfffffe0077b5a360, rbp = 0xfffffe0077b5a370 --- db_show_lockmgr() at db_show_lockmgr+0x56/frame 0xfffffe0077b5a370 db_command() at db_command+0x279/frame 0xfffffe0077b5a440 db_command_loop() at db_command_loop+0x64/frame 0xfffffe0077b5a450 db_trap() at db_trap+0xef/frame 0xfffffe0077b5a4e0 kdb_trap() at kdb_trap+0x1c3/frame 0xfffffe0077b5a550 trap() at trap+0x328/frame 0xfffffe0077b5a660 calltrap() at calltrap+0x8/frame 0xfffffe0077b5a660 --- trap 0x3, rip = 0xffffffff80ae443d, rsp = 0xfffffe0077b5a730, rbp = 0xfffffe0077b5a740 --- kdb_break() at kdb_break+0x4d/frame 0xfffffe0077b5a740 uart_intr() at uart_intr+0x105/frame 0xfffffe0077b5a780 intr_event_handle() at intr_event_handle+0xbc/frame 0xfffffe0077b5a7d0 intr_execute_handlers() at intr_execute_handlers+0x58/frame 0xfffffe0077b5a800 lapic_handle_intr() at lapic_handle_intr+0x6d/frame 0xfffffe0077b5a840 apic_isr1_u() at apic_isr1_u+0xc1/frame 0xfffffe0077b5a910 acpi_cpu_idle() at acpi_cpu_idle+0x2ee/frame 0xfffffe0077b5a960 cpu_idle_acpi() at cpu_idle_acpi+0x3f/frame 0xfffffe0077b5a980 cpu_idle() at cpu_idle+0x8f/frame 0xfffffe0077b5a9a0 sched_idletd() at sched_idletd+0x40a/frame 0xfffffe0077b5aa70 fork_exit() at fork_exit+0x84/frame 0xfffffe0077b5aab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0077b5aab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- db> show lock 0xfffff80006864800 class: lockmgr name: state:KDB: reentering KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0077b5a170 kdb_reenter() at kdb_reenter+0x2f/frame 0xfffffe0077b5a180 trap() at trap+0x5c/frame 0xfffffe0077b5a290 calltrap() at calltrap+0x8/frame 0xfffffe0077b5a290 --- trap 0xc, rip = 0xffffffff80a746c6, rsp = 0xfffffe0077b5a360, rbp = 0xfffffe0077b5a370 --- db_show_lockmgr() at db_show_lockmgr+0x56/frame 0xfffffe0077b5a370 db_command() at db_command+0x279/frame 0xfffffe0077b5a440 db_command_loop() at db_command_loop+0x64/frame 0xfffffe0077b5a450 db_trap() at db_trap+0xef/frame 0xfffffe0077b5a4e0 kdb_trap() at kdb_trap+0x1c3/frame 0xfffffe0077b5a550 trap() at trap+0x328/frame 0xfffffe0077b5a660 calltrap() at calltrap+0x8/frame 0xfffffe0077b5a660 --- trap 0x3, rip = 0xffffffff80ae443d, rsp = 0xfffffe0077b5a730, rbp = 0xfffffe0077b5a740 --- kdb_break() at kdb_break+0x4d/frame 0xfffffe0077b5a740 uart_intr() at uart_intr+0x105/frame 0xfffffe0077b5a780 intr_event_handle() at intr_event_handle+0xbc/frame 0xfffffe0077b5a7d0 intr_execute_handlers() at intr_execute_handlers+0x58/frame 0xfffffe0077b5a800 lapic_handle_intr() at lapic_handle_intr+0x6d/frame 0xfffffe0077b5a840 apic_isr1_u() at apic_isr1_u+0xc1/frame 0xfffffe0077b5a910 acpi_cpu_idle() at acpi_cpu_idle+0x2ee/frame 0xfffffe0077b5a960 cpu_idle_acpi() at cpu_idle_acpi+0x3f/frame 0xfffffe0077b5a980 cpu_idle() at cpu_idle+0x8f/frame 0xfffffe0077b5a9a0 sched_idletd() at sched_idletd+0x40a/frame 0xfffffe0077b5aa70 fork_exit() at fork_exit+0x84/frame 0xfffffe0077b5aab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0077b5aab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- db> db> continue root@amdtestr12:/usr/src/sys/amd64/conf # procstat -k 5772 PID TID COMM TDNAME KSTACK 5772 100821 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_sem2_wait __umtx_op_sem2_wait amd64_syscall fast_syscall_common 5772 100852 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100853 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100854 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100855 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100856 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100857 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100858 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100859 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100860 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100861 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100862 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common 5772 100863 python2.7 - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep umtxq_sleep do_lock_umutex __umtx_op_wait_umutex amd64_syscall fast_syscall_common root@amdtestr12:/usr/src/sys/amd64/conf # -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"