[Bug 263979] [meta] UFS / FFS / GEOM crash (panic) tracking
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263979 --- Comment #21 from Boris Korzun --- (In reply to Kirk McKusick from comment #17) I've downloaded FreeBSD-13.1-STABLE-amd64-20221123-b51ee7ac252c-253133-bootonly.iso, installed it on clean ZFS system. Tried to buildkernel with commented FFS options from GENERIC only. And got: ld: error: undefined symbol: sysctl___vfs_ffs >>> referenced by ffs_subr.c >>> ffs_subr.o:(sysctl___vfs_ffs_prtsberrmsg) >>> did you mean: sysctl___vfs_nfs >>> defined in: nfs_commonport.o *** Error code 1 124c19b0d (HEAD -> stable/13, freebsd/stable/13) amd64 libc: add missed GNU-stack annotation to memmove/memcpy -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 263979] [meta] UFS / FFS / GEOM crash (panic) tracking
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263979 --- Comment #22 from Mark Millard --- (In reply to Boris Korzun from comment #21) So, I info that for: #ifdef STANDALONE_SMALL #define MPRINT(...) do { } while (0) #else #define MPRINT(...) if (prtmsg) printf(__VA_ARGS__) /* * Print error messages when bad superblock values are found. */ static int prtmsg = 1; #ifdef _KERNEL SYSCTL_DECL(_vfs_ffs); SYSCTL_INT(_vfs_ffs, OID_AUTO, prtsberrmsg, CTLFLAG_RWTUN, &prtmsg, 0, "Print error messages when bad superblock values are found"); #endif /* _KERNEL */ #endif /* STANDALONE_SMALL */ both STANDALONE_SMALL and _KERNEL are defined, lead to the sysctl involved. But also: sys/ufs/ffs/ffs_subr.c is being compiled and linked in order for that to even matter. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 263979] [meta] UFS / FFS / GEOM crash (panic) tracking
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263979 --- Comment #23 from Mark Millard --- (In reply to Mark Millard from comment #22) May be the answer is geom_label not being disabled as well? ufs/ffs/ffs_subr.c optional ffs | geom_label -- You are receiving this mail because: You are on the CC list for the bug.