From owner-freebsd-current@FreeBSD.ORG Sun Jun 15 14:43:12 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB903106567D; Sun, 15 Jun 2008 14:43:12 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EE0A58FC16; Sun, 15 Jun 2008 14:43:10 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48552A7E.4070807@FreeBSD.org> Date: Sun, 15 Jun 2008 16:43:10 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Dmitry Morozovsky References: <20080615130037.J43777@woozle.rinet.ru> <4854F80A.8060503@FreeBSD.org> <20080615151405.C43777@woozle.rinet.ru> In-Reply-To: <20080615151405.C43777@woozle.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: delphij@FreeBSD.org, current@FreeBSD.org Subject: Re: tmpfs panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 14:43:12 -0000 Dmitry Morozovsky wrote: > On Sun, 15 Jun 2008, Kris Kennaway wrote: > > KK> > panic at umount phase (shutdown -r in progress): > KK> > KK> This panic looks like you're using tmpfs as a module that was compiled with > KK> different options than the kernel; can you confirm? > > Should not be the case: > > > root@hamster:~# l /boot/kernel.delphij/{kernel*,tmpfs*} > -r-xr-xr-x 1 root wheel 4174528 May 24 14:52 /boot/kernel.delphij/kernel* > -r-xr-xr-x 1 root wheel 19659791 May 24 14:52 /boot/kernel.delphij/kernel.symbols* > -r-xr-xr-x 1 root wheel 42592 May 24 15:16 /boot/kernel.delphij/tmpfs.ko* > -r-xr-xr-x 1 root wheel 419264 May 24 15:16 /boot/kernel.delphij/tmpfs.ko.symbols* It still might be: if you have options in your kernel build that change the ABI (like DEBUG_VFS_LOCKS or DEBUG_LOCKS (I can never remember which one it is that breaks ABI)) then your modules need to be compiled with the same options. make buildkernel builds modules with the same options as your kernel, but other methods do not. Kris