Date: Thu, 24 Sep 2015 22:58:00 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Slawa Olhovchenkov <slw@zxy.spb.ru> Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, FreeBSD Current <freebsd-current@FreeBSD.org>, freebsd-rc@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>, cem@FreeBSD.org Subject: Re: dumpdev in loader.conf vs rc.d/dumpon Message-ID: <20150924205800.GA1475@garage.freebsd.pl> In-Reply-To: <20150924111850.GA3158@zxy.spb.ru> References: <5602B922.20703@FreeBSD.org> <CAG6CVpVvStV1pUi8WEBS0T5PaHxFk_HxGi8ch-LXU_DiheyTGw@mail.gmail.com> <5602CDBC.7080906@FreeBSD.org> <CAG6CVpXfBj_-cLj-8EMuAzgk6Ktmh_46e6zBBkZHMBxYW7=Cqg@mail.gmail.com> <5602DA17.7060501@FreeBSD.org> <5603B415.2090405@yandex.ru> <20150924111850.GA3158@zxy.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 24, 2015 at 02:18:50PM +0300, Slawa Olhovchenkov wrote: > On Thu, Sep 24, 2015 at 11:28:05AM +0300, Andrey V. Elsukov wrote: >=20 > > On 23.09.2015 19:57, Andriy Gapon wrote: > > > I do not have a strong opinion. Either option, rc.d/dumpon change or= geom_dev > > > change, is fine with me. > >=20 > > I added the ability to set dumpdev via loader. But I wasn't aware that > > it was used in rc.d script. > >=20 > > If you have set dumpdev kenv, it will be already enabled in the time > > when rc.d/dumpon will be run. So, I think it is useless to try to > > enable dumpdev again. I prefer remove this old code from rc.d script. >=20 > rc.d script can redirect dump to device, not available at boot time, > iSCSI disk, for examle. No. Dump device is very special. It runs in an environment when kernel already paniced, there are no interrupt, so there is no networking. Storage controllers have special methods to handle dumping kernel memory - it doesn't go through GEOM, it cannot go through GEOM as the scheduler doesn't work too. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://mobter.com --9amGYk9869ThD9tj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWBGPYAAoJEJVLhSuxKFt1dUwP/2Wqa2f+G682shY34SvvKDpn 3AEFFlzGJkq3YrUT4iIaAZSzd1dJaUVCnWzjqfJllVwgIn+7Sd20+J4LXqQhWEh3 8TRJQZ44aRGS+IaUuCizmGa3sgSDXCrrSAuIMlnur7M1jwu06FrQb4bsJCo8Acif ZbmC9KA3xicr9SbVEgJtXrPa2BxynNCB4bcFoKcRLJaZl6eK/ViAhFIe+fCFYTvm PYR3JYNV7NmpcOY7HhI9iHP6WcnRerIWLGX8dl7N5tWAYvXsYVlYuEXcM7kG3mpB bybjj2v7wcQwdVqYvnjsLoU3VNJj27M1Eo4f/WRziZXAn0jfiD7WhdjReWw6TeiN xDGQ1OJl1A0J913z+g6DvI1dCJVWu3BfPuu+7IpAUsgCOzqowXKRIcQzCwTFZTv5 0CaPFVasfswO1g0m480jRRv8fNm7kgX6vGJNn5xQ1V8SMBbqcB7qBIEVaYhXwSQ2 dGZjl3GhTbIq7xfNjwbRjzvnbIyauHuBDGm+uE5Auk6REWzskZxEczaJim1B2vvk C6WNWrzZ6ZbuFW5ccAVLzS8Q4/GDyMOQJ2uQN9zS5Pg5mrZ/ZEQ57kK6YCMAqkOw GsVnXv5RzvMUo/4/LIGZTIoqLnR1HIsNCdcla0Yjx6RhUB5dyhUr2ADhTB8s5Bll PctICSTAlTBgkgmK1zd0 =H1Xn -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150924205800.GA1475>