Hi everyone, I've been having kernel panic for a few weeks. It happens every 3 days or so and I can't find a solution for it. And I'm afraid it will cause data loss at this point.
Things I know don't cause this problem.
- It's not a RAM problem, I did a memtest86 6 pass tests and they all passed without a single error.
- No problem with the drives, their SMART is working.
I checked in /data/crash/textdump (the latest one) and in the file msgbuf.txt at the end of the file:
And according to this, it seems that smb causes a kernel panic, and every time it crashes it is always the smbd process that appears there, and from there I started to focus on the smb.
I checked all its settings (through the GUI) and everything looks fine there
I even recreated all the shares in smb (because most of them are still from FreeNAS version 10 so I thought maybe that's the problem)
Nothing fixed the problem.
I don't know what to do anymore. Everything over five years was stable and working great, I don't know what suddenly happened.
Impossible to use a file server like that.
I also mention that I have jails on the TrueNAS but they don't seem to be causing this problem.
Plex
NextCloud
qbit
nginx proxy
Specs:
CPU i3 540
RAM: 16GB
SSD Boot 120GB
3X WD Red (CMR)
I hope you can help me because I alone don't know where to look to find a solution to this.
Things I know don't cause this problem.
- It's not a RAM problem, I did a memtest86 6 pass tests and they all passed without a single error.
- No problem with the drives, their SMART is working.
I checked in /data/crash/textdump (the latest one) and in the file msgbuf.txt at the end of the file:
Code:
Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 05 fault virtual address = 0x0 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8265fcde stack pointer = 0x28:0xfffffe011f269750 frame pointer = 0x28:0xfffffe011f269800 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 54949 (smbd) trap number = 12 panic: page fault cpuid = 3 time = 1665443007 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011f269510 vpanic() at vpanic+0x17f/frame 0xfffffe011f269560 panic() at panic+0x43/frame 0xfffffe011f2695c0 trap_fatal() at trap_fatal+0x385/frame 0xfffffe011f269620 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe011f269680 calltrap() at calltrap+0x8/frame 0xfffffe011f269680 --- trap 0xc, rip = 0xffffffff8265fcde, rsp = 0xfffffe011f269750, rbp = 0xfffffe011f269800 --- dnode_hold_impl() at dnode_hold_impl+0x31e/frame 0xfffffe011f269800 dmu_object_alloc_impl() at dmu_object_alloc_impl+0x23c/frame 0xfffffe011f2698b0 dmu_object_alloc_dnsize() at dmu_object_alloc_dnsize+0x1c/frame 0xfffffe011f2698e0 zfs_mknode() at zfs_mknode+0x1d3/frame 0xfffffe011f269a20 zfs_create() at zfs_create+0x389/frame 0xfffffe011f269ac0 zfs_freebsd_create() at zfs_freebsd_create+0xee/frame 0xfffffe011f269b10 VOP_CREATE_APV() at VOP_CREATE_APV+0x24/frame 0xfffffe011f269b30 uipc_bindat() at uipc_bindat+0x336/frame 0xfffffe011f269d60 sobind() at sobind+0x33/frame 0xfffffe011f269d80 kern_bindat() at kern_bindat+0xc4/frame 0xfffffe011f269dc0 sys_bind() at sys_bind+0x75/frame 0xfffffe011f269e00 amd64_syscall() at amd64_syscall+0x10c/frame 0xfffffe011f269f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe011f269f30 --- syscall (104, FreeBSD ELF64, sys_bind), rip = 0x804bfe19a, rsp = 0x7fffffffe3d8, rbp = 0x7fffffffe490 --- KDB: enter: panic
And according to this, it seems that smb causes a kernel panic, and every time it crashes it is always the smbd process that appears there, and from there I started to focus on the smb.
I checked all its settings (through the GUI) and everything looks fine there
I even recreated all the shares in smb (because most of them are still from FreeNAS version 10 so I thought maybe that's the problem)
Nothing fixed the problem.
I don't know what to do anymore. Everything over five years was stable and working great, I don't know what suddenly happened.
Impossible to use a file server like that.
I also mention that I have jails on the TrueNAS but they don't seem to be causing this problem.
Plex
NextCloud
qbit
nginx proxy
Specs:
CPU i3 540
RAM: 16GB
SSD Boot 120GB
3X WD Red (CMR)
I hope you can help me because I alone don't know where to look to find a solution to this.