From owner-freebsd-stable@freebsd.org Thu Sep 3 15:57:19 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 022F19C7C53 for ; Thu, 3 Sep 2015 15:57:19 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D360A157 for ; Thu, 3 Sep 2015 15:57:18 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from marcels-mbp.int.brkt.com (cerberus.brkt.com [208.185.168.138]) (authenticated bits=0) by mail.xcllnt.net (8.15.2/8.15.2) with ESMTPSA id t83FvA7G082809 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Sep 2015 08:57:11 -0700 (PDT) (envelope-from marcel@xcllnt.net) Subject: Re: ia64 stable/10 r286316: hang at Entering /boot/kernel/kernel Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DDCA3A2E-8025-4A96-BE01-4B086011894A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.1 From: Marcel Moolenaar In-Reply-To: <201509021730.t82HUGjg050664@mech-as222.men.bris.ac.uk> Date: Thu, 3 Sep 2015 08:57:02 -0700 Cc: kostikbel@gmail.com, freebsd-stable@freebsd.org Message-Id: <70FA7929-373D-4156-9E10-C9DA845DD7D8@xcllnt.net> References: <201509021730.t82HUGjg050664@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 15:57:19 -0000 --Apple-Mail=_DDCA3A2E-8025-4A96-BE01-4B086011894A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sep 2, 2015, at 10:30 AM, Anton Shterenlikht = wrote: >=20 > The kernel limits I have in /boot/loader.conf > are following this PR: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D156900 >=20 > #kern.dfldsiz=3D536748032 # default soft limit for process data > #kern.dflssiz=3D536748032 # default soft limit for stack > # hard limits > #kern.maxdsiz=3D536748032 # hard limit for process data > #kern.maxssiz=3D536748032 # hard limit for stack > #kern.maxtsiz=3D536748032 # hard limit for text size >=20 > If I leave these in, then with Marcel's patch > I get to mountroot> prompt, and then panic. To be clear: with the limits and without my patch you can=E2=80=99t even boot right? >=20 > If I remove these, then I can boot. >=20 > If I try booting with -s, then I get to a hang at > "Entering /boot/kernel=E2=80=9D: Is this with or without limits? And is this with or without patch? >=20 > /boot/kernel.old/kernel text=3D0x1110710 data=3D0xdfce8+0xa54f8 = syms=3D[0x8+0xc29e8+0x8+0xb78f6] > ?[37m?[44mBooting...?[m > Entering /boot/kernel.old/kernel at 0x9ffc000000010500... > *********************************************************** > * ROM Version : 04.29 > * ROM Date : 11/30/2007 > * BMC Version : 04.04 This is not a hang. This is a machine check. >=20 > Is it worth investigating what limit value will boot? I=E2=80=99m inclined to say that it=E2=80=99s best to remove the limits altogether and just work with the default. If you need different default, add them to your kernel configuration. Set MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ and MAXSSIZ accordingly. Since you lower maxdsiz and maxssiz from 1G to 512M, you can safely leave them as is (unless you tend to have runaway processes :-) You increase maxssiz from 256M to 512M, which you probably want to keep doing to make sure you can run the same set of processes as you do now. At this point in time, the only fix I=E2=80=99m willing to make is for the size of the array that holds relocations. If it made things better, I=E2=80=99ll commit it. If it didn=E2=80=99t, = then I=E2=80=99m not going to commit it. Anything more involved will take more time than I=E2=80=99m willing to put into ia64 at this time... Sorry, -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_DDCA3A2E-8025-4A96-BE01-4B086011894A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV6G3PAAoJEIda8t8f0tjjmNgQANHXoKbOZFRL+1nfRmeaLKCD 4+ZptVNr7FohMvdCBUy54y3Vq/39JwREvMBDW3m27qiqYkFkG1+L1nIPTCdnE1uH hdh7LpyHUWUoZ7WtI5qERpyalAlkfN78AaxzT/sjbRwB/NCD7znoO+CuDNe+0Wrm OIW2e9qSqB/XMySh/pac5TLXQLfSA0TC4XXjjX4eu10G0ywl4Q08Uj44PljQgWpy A3/2yo2xgDIV6zJD0UoZ6ck0gNq5RVEO5VXe1srD1KK4zmMEyfw2/P0txt1D5o0N BV7W8eABYAmRn9z6DSN8MYU3S3dtTfJp4Kn60PqjFtCnUOipbYRhKM8YAhIUuOVG z4BSc19vbctuBjLZB5bf+CkJMUFLBm3DEwSDoj0jGmbaJdUTt6J1TzaMTIH1+MNH NIFA/XYwZliHm6WrwvBaxkSVQwF7wL5uu7+vQns5zVwGLDNylbw/cHOwWdkBvARa gRnc4vymoRIT0cxfczAh3ZJDP+2r+g/UB8a/ynsTk7U/pMvZvQ95ImGp4VDfBJ60 FpMbASvNWjymwfntydhR2oP0MfcA2Dmyvz5T/bSSCJwsLh2JTMJm2HfWgBM/w90u 6pQv1+a6HztesR6wlyl4VlDbA5B+OliGXMHXppMK++xe+76QBS2y9mG7hgjau1m0 TiXrYRKlltZQL0rRXz8k =oVvW -----END PGP SIGNATURE----- --Apple-Mail=_DDCA3A2E-8025-4A96-BE01-4B086011894A--