From owner-freebsd-hackers@FreeBSD.ORG Wed May 28 19:40:12 2014 Return-Path: Delivered-To: freebsd-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 A0182CD3 for ; Wed, 28 May 2014 19:40:12 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 611E62CC5 for ; Wed, 28 May 2014 19:40:11 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C106D74290 for ; Wed, 28 May 2014 19:40:04 +0000 (UTC) Message-ID: <53863B95.9030101@freebsd.org> Date: Wed, 28 May 2014 15:40:05 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: What is difference between loading module with loader and loading module wtih kldload? References: <9890815.20140226013107@serebryakov.spb.ru> <53863A73.3070401@gmx.de> In-Reply-To: <53863A73.3070401@gmx.de> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jqOL7CTk9kPF6PIm87VOE4EBmLDlJKbIh" 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:40:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jqOL7CTk9kPF6PIm87VOE4EBmLDlJKbIh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-05-28 15:35, Lokadamus wrote: > 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 loa= ded >> 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. N= o >> memory dump performed. Several times it turend off video output (!) ri= ght >> after crash. > Can you find some hint?: > https://www.google.de/search?q=3Dpage+write%3A+page+not+present >=20 >> 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" Is it possible it is loading the kernel from a different /boot than the module? If you were booting a newer kernel, and at loader.conf it the /boot was from somewhere different than it is once you get to single user mode, that might explain. This problem has happened to me once or twice when I've done off things with my disks, like mirroring a dying drive and forgetting that it would still try to boot off of it even after I'd switched fstab to use the new drive. --=20 Allan Jude --jqOL7CTk9kPF6PIm87VOE4EBmLDlJKbIh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJThjuZAAoJEJrBFpNRJZKfjuQP/3u5rQxjJBvsBtsFIrwebuoQ lOhWGsvAj5xyTTR8HI1FOIZoxVOafQOtsC5vMQKLuwoj1EuDmr8G2xJlxQ8bF+1Y CgV8Vs3/dq8v5+zUqHcm+GlT2vo+173PReRgXgpzWePNpOH2DlW8Dw/N0uOywttV 45mjkkiawnwGIPOKw2ETBak3xCVvS5IBMReq26KDP+LXSEWOwtGKeIFlRjzEdec8 ZV2jOv9a6pfRE0910ROT2vFb7hV4bTZPuFpWiR5DGOKFCRvsF0Yrl10e57udZhpk UTauPXTF2LCMMkK07ibjN5EFE8vTdt76DRhP6Ua/wSDqG8XOZboYMpNv7FPJW5zw 2vowLDGBACN+pSPXLGks+mTRSs+aOPRyaifbjcfQuTmrCVGeQenw2cQDJip2elQ+ woQqbB/urEm4Px4SYMnJJgu9OvZjbWfLP9SdI29rhCCMpFYlBppXbNYTv7kK/hmI zWzplO5sP817bBTpX1EN12dMAqoVJrnpYCrgv2y6f/ij/uGqqR+zp75N0eLOwYgi 0zi1U0rjKQUtKyR7oRhfbQq/9ccWIg1WAlXJ7b7gEQKfjUefxG5YjOkFytf7NiHj UJHZ/5yY6VGsqlDCHwSQV5h/ZsPoa9UB4sDxeLNeJqwTBvTbWr5qm7FtNb9rfFtV fz8mdF8nUcSv+2gl9Xpc =/flh -----END PGP SIGNATURE----- --jqOL7CTk9kPF6PIm87VOE4EBmLDlJKbIh--