Summary: | 14.2-STABLE Panic after executing procstat on a process using netmap | ||
---|---|---|---|
Product: | Base System | Reporter: | Sylvain Galliano <sg> |
Component: | kern | Assignee: | Konstantin Belousov <kib> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | emaste, kib, zarychtam |
Priority: | --- | Keywords: | crash |
Version: | 14.2-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Sylvain Galliano
2024-11-04 09:09:55 UTC
This is an interesting report, though I cannot reproduce it. While running net-mgmt/fastnetmon using netmap(4) mode in a jail, the procstat(1) command works as intended. (In reply to Marek Zarychta from comment #1) Indeed, I cannot reproduce panic when process is running into a jail. I also get a panic using 14.2-BETA1 Can you get the vmcore from the panic? (In reply to Konstantin Belousov from comment #3) Here it is, full /boot/kernel (GENERIC-DEBUG) and /var/crash/vmcore file: https://drive.google.com/file/d/10SIvm6h1Z2YLPV5CCKxEh0ljtAuKizJr/view?usp=drive_link You posted kernel and vmcore, but not debugging symbols, which makes the archive not useful. Please either give me the kernel.full file exactly as was used to generate both kernel and vmcore from your archive, or I will ask you for the series of commands to execute in kgdb on your system with the core. (In reply to Konstantin Belousov from comment #5) Archive file with full content of /usr/lib/debug/boot/kernel https://drive.google.com/file/d/1zCfGbm8w48ngWRx8w3qRGzwdtRh4ai70/view?usp=drive_link A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=580340dbdaaf372867e9ed3dd257430982753e5e commit 580340dbdaaf372867e9ed3dd257430982753e5e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-11-04 21:54:30 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-11-06 00:11:00 +0000 vm_object: do not assume that un_pager.devp.dev is cdev It is subtype-specific handle. Mark OBJT_DEVICE that do fill cdev into the handle, with a new object flag OBJ_CDEVH. PR: 282533 Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47443 sys/kern/kern_proc.c | 5 +++-- sys/vm/vm_mmap.c | 3 +++ sys/vm/vm_object.c | 3 ++- sys/vm/vm_object.h | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=92a9501b6be3d37a4eefcfbdda799b656ae146e8 commit 92a9501b6be3d37a4eefcfbdda799b656ae146e8 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-11-04 21:54:30 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-11-12 23:19:18 +0000 vm_object: do not assume that un_pager.devp.dev is cdev PR: 282533 (cherry picked from commit 580340dbdaaf372867e9ed3dd257430982753e5e) sys/kern/kern_proc.c | 5 +++-- sys/vm/vm_mmap.c | 3 +++ sys/vm/vm_object.c | 3 ++- sys/vm/vm_object.h | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) A commit in branch releng/14.2 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=19d23cb8acc934a9bb5ca46375da4cc5c4d2094c commit 19d23cb8acc934a9bb5ca46375da4cc5c4d2094c Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-11-04 21:54:30 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-11-13 18:06:36 +0000 vm_object: do not assume that un_pager.devp.dev is cdev PR: 282533 Approved by: re (cperciva) (cherry picked from commit 580340dbdaaf372867e9ed3dd257430982753e5e) (cherry picked from commit 92a9501b6be3d37a4eefcfbdda799b656ae146e8) sys/kern/kern_proc.c | 5 +++-- sys/vm/vm_mmap.c | 3 +++ sys/vm/vm_object.c | 3 ++- sys/vm/vm_object.h | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) |