From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 26 11:14:06 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 33C2C6E1; Wed, 26 Feb 2014 11:14:06 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C97811C2D; Wed, 26 Feb 2014 11:14:05 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id j17so646344oag.24 for ; Wed, 26 Feb 2014 03:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=f/1eCeEUFmzcdD+o/ruruDvZ0b9eBpAvPk64n7NdVys=; b=ePn8vsgjeGOceIhs5qLuWJxskc8jweqeAMCyESAYs3o/AGE6S+3x4ykFmQM3nQLGV+ s54Fp25nykLfnAbHPooXxK55USc28iB3dK2s7qYI2eQJR7affTzJZr41lH1WzqWxRtgy HJegYaAceN+8WBhoK9nkvIbS5oHO0QD9vOSU9VjR6z7mqStSjaiPYAkJR0O6cxr+QJF+ kJlTX3tpnbil2LsPS5ecqK3c8i2m3dp/ElZTS3/Xhf3PpyK9xgn17vBpcCkM1m7r3GTC DY7gQeNP+Mpf/cNuEuBkggUc60PZloHEYwZWWOCgFA1rfHVt96bVDgc9ojNDjGzQejjs 7Ldg== MIME-Version: 1.0 X-Received: by 10.60.58.193 with SMTP id t1mr33625oeq.78.1393413245142; Wed, 26 Feb 2014 03:14:05 -0800 (PST) Received: by 10.182.80.7 with HTTP; Wed, 26 Feb 2014 03:14:05 -0800 (PST) In-Reply-To: <9890815.20140226013107@serebryakov.spb.ru> References: <9890815.20140226013107@serebryakov.spb.ru> Date: Wed, 26 Feb 2014 12:14:05 +0100 Message-ID: Subject: Re: What is difference between loading module with loader and loading module wtih kldload? From: Oliver Pinter To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: stable@freebsd.org, hackers@freebsd.org, mav@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 11:14:06 -0000 On 2/25/14, Lev Serebryakov wrote: > 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. I have a similar crash with geom_sched. This introduced after fine graded geom locks. > > 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? > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >