Hi,
after upgrade to FreeBSD 12.3 , wctdm24xxp.ko module broke down. On FreeBSD 11.4 all work fine.
I have <Wildcard TDM410P> card.
/etc/rc.conf
I'm install two new VM systems - all starting fine on it. But there is no equipment there.
Either something broke only in my working system, or everyone should have a failure on this board.
I'm build gdb and generic kernel with debug. I'm get dump.
I think I need to build the module into debug mode, but I can't do it. I have no experience in solving such problems.
Either go back to the old version of the system, or wait for help.
after upgrade to FreeBSD 12.3 , wctdm24xxp.ko module broke down. On FreeBSD 11.4 all work fine.
I have <Wildcard TDM410P> card.
/etc/rc.conf
Code:
dahdi_enable="YES"
dahdi_modules="wctdm24xxp"
service dahdi start
-> panic: page fault kldload /usr/local/lib/dahdi/wctdm24xxp.ko
-> panic: page faultI'm install two new VM systems - all starting fine on it. But there is no equipment there.
Either something broke only in my working system, or everyone should have a failure on this board.
I'm build gdb and generic kernel with debug. I'm get dump.
Code:
sergling@office:~# ./debug.sh
GNU gdb (GDB) 11.1 [GDB v11.1 for FreeBSD]
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.3".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.debug...
Unread portion of the kernel message buffer:
wctdm24xxp0: vendor=d161 device=8005 subvendor=ffffffff
wctdm24xxp0: <Wildcard TDM410P> port 0xe800-0xe8ff mem 0xdffefc00-0xdffeffff irq 21 at device 1.0 on pci4
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xfffffe0026a7bd60
fault code = supervisor read instruction, protection violation
instruction pointer = 0x20:0xfffffe0026a7bd60
stack pointer = 0x28:0xfffffe001f12aa08
frame pointer = 0x28:0xfffffe001f12aa20
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = resume, IOPL = 0
current process = 11 (idle: cpu0)
trap number = 12
panic: page fault
cpuid = 0
time = 1642242487
KDB: stack backtrace:
#0 0xffffffff80c2d465 at kdb_backtrace+0x65
#1 0xffffffff80be15fb at vpanic+0x17b
#2 0xffffffff80be1473 at panic+0x43
#3 0xffffffff810fd961 at trap_fatal+0x391
#4 0xffffffff810fd9bf at trap_pfault+0x4f
#5 0xffffffff810fd006 at trap+0x286
#6 0xffffffff810d5098 at calltrap+0x8
#7 0xffffffff82a57cdf at vb_isr+0x19f
#8 0xffffffff80ba5822 at intr_event_handle+0x92
#9 0xffffffff812a4622 at intr_execute_handlers+0x52
#10 0xffffffff810d63ac at Xapic_isr1+0xdc
#11 0xffffffff8049b6c0 at acpi_cpu_idle+0x2e0
#12 0xffffffff812a0bee at cpu_idle_acpi+0x3e
#13 0xffffffff812a0c9f at cpu_idle+0x9f
#14 0xffffffff80c14f56 at sched_idletd+0x326
#15 0xffffffff80ba29ce at fork_exit+0x7e
#16 0xffffffff810d60ce at fork_trampoline+0xe
Uptime: 4m23s
Dumping 304 out of 3026 MB:..6%..11%..22%..32%..43%..53%..64%..74%..85%..95%
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
Code:
(kgdb) list 0x20:0xfffffe0026a7bd60
No source file named 0x20.
I think I need to build the module into debug mode, but I can't do it. I have no experience in solving such problems.
Either go back to the old version of the system, or wait for help.
Last edited by a moderator: