Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 08:57:02 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        mexas@bris.ac.uk
Cc:        kostikbel@gmail.com, freebsd-stable@freebsd.org
Subject:   Re: ia64 stable/10 r286316: hang at Entering /boot/kernel/kernel
Message-ID:  <70FA7929-373D-4156-9E10-C9DA845DD7D8@xcllnt.net>
In-Reply-To: <201509021730.t82HUGjg050664@mech-as222.men.bris.ac.uk>
References:  <201509021730.t82HUGjg050664@mech-as222.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <mexas@bris.ac.uk> =
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70FA7929-373D-4156-9E10-C9DA845DD7D8>