Date: Thu, 10 Jul 2003 16:10:44 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: des@des.no (Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?=) Cc: Current <freebsd-current@FreeBSD.org> Subject: Re: Panic linux ldconfig with MUTEX_PROFILING Message-ID: <7mr84y7t6z.wl@black.imgsrc.co.jp> In-Reply-To: <xzpznjm7uyr.fsf@dwp.des.no> References: <7msmpv3lq0.wl@black.imgsrc.co.jp> <xzpznjm7uyr.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 10 Jul 2003 08:32:28 +0200, Dag-Erling Sm=F8rgrav wrote: > > I'm trying to use MUTEX_PROFILING, but paniced in linux ldconfig. > > Any clues? >=20 > is COMPAT_LINUX compiled into the kernel? You can't use modules with > MUTEX_PROFILING; it changes the size and layout of struct mtx, and > since modules aren't built with the same options as the kernel, they > use the wrong struct mtx. Ah, bingo! I'm using linux.ko for Linux ABI. I'll try with COMPAT_LINUX. But I used linux.ko which sync'ed with kernel itself (both were built with same config). Is MUTEX_PROFILING not passed to kernel module building? --=20 Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mr84y7t6z.wl>