From owner-freebsd-hackers@FreeBSD.ORG Wed May 28 19:35:16 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDA6AA38; Wed, 28 May 2014 19:35:16 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 540092C29; Wed, 28 May 2014 19:35:16 +0000 (UTC) Received: from [192.168.0.143] ([95.91.231.84]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MEnX8-1X4WOh47sg-00G4Ye; Wed, 28 May 2014 21:35:14 +0200 Message-ID: <53863A73.3070401@gmx.de> Date: Wed, 28 May 2014 21:35:15 +0200 From: Lokadamus User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: lev@FreeBSD.org, hackers@freebsd.org, stable@freebsd.org Subject: Re: What is difference between loading module with loader and loading module wtih kldload? References: <9890815.20140226013107@serebryakov.spb.ru> In-Reply-To: <9890815.20140226013107@serebryakov.spb.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:vqEcbk/KFVo0SEei+UxQZWqWPKboyKztOjHzbYSSJ0i+XSycncX Jmo5g6nL9QXRCmWwTcOMB6T8su1YaeYwGZbHSXO+KuJ5p4Cc4ClR0nCtz4jqaXe6I+2EoOy h9uCmJUwvxXXRMF3l9Z5eRUY2kRTwFnLV0hH7KrqZXKX5Hv4AtV4JnEkTVFI4CCG/1Zrg5O 5WT/urgKHrOnGCUgtAczA== X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 19:35:16 -0000 Am 25.02.2014 22:31, schrieb Lev Serebryakov: > Hello, Hackers. > > I've upgraded my fileserver to 10-STABLE and got very strange (but > very-very painful) problem, which I could not reproduce on virtual machine > (VirtualBox). > > I'm using geom_raid5 module (and I'm its maintainer, yes) and module, built > for 10-STABLE (after world & kernel build & install & reboot), and loaded > via /boot/loader.conf is reason to almost instant crash after boot. > Sometimes system mounts filesystems before crash and sometimes not. Most of > time it is "page write: page not present", in different places. PS/2 > keyboard is always blocked after that, I could not drop to debugger. No > memory dump performed. Several times it turend off video output (!) right > after crash. Can you find some hint?: https://www.google.de/search?q=page+write%3A+page+not+present > But if I boot without this module, drop to single-user mode, load module > with kldload and continue booting with "exit" everything work smoothly for > hours! > > I understand, that it it some incompatibility between module new kernel, > but I could not reproduce it on VirtualBox instance, and I'm puzzled, that > this crash does not occur if module loaded by kldload! Maybe, here is some > hint in this? > Greetings