Re: [CFT] bsdinstall and zfsboot enhancements

2014-01-08 Thread Jilles Tjoelker
On Sun, Jan 05, 2014 at 04:04:03PM -0500, Nathan Whitehorn wrote: On 12/01/13 07:34, Jilles Tjoelker wrote: On Sat, Nov 30, 2013 at 04:36:18PM -0600, Nathan Whitehorn wrote: This took much longer than I'd anticipated, but the patch to init is attached. I chose not to make the changes to

Re: [CFT] bsdinstall and zfsboot enhancements

2014-01-06 Thread Michael Dexter
On 1/5/14 1:04 PM, Nathan Whitehorn wrote: On 12/01/13 07:34, Jilles Tjoelker wrote: On Sat, Nov 30, 2013 at 04:36:18PM -0600, Nathan Whitehorn wrote: This took much longer than I'd anticipated, but the patch to init is attached. I chose not to make the changes to init rather than getttyent()

Automatic enabling of serial console (was: [CFT] bsdinstall and zfsboot enhancements)

2014-01-06 Thread Nathan Whitehorn
On 01/06/14 18:36, Michael Dexter wrote: On 1/5/14 1:04 PM, Nathan Whitehorn wrote: On 12/01/13 07:34, Jilles Tjoelker wrote: On Sat, Nov 30, 2013 at 04:36:18PM -0600, Nathan Whitehorn wrote: This took much longer than I'd anticipated, but the patch to init is attached. I chose not to make

Re: [CFT] bsdinstall and zfsboot enhancements

2014-01-05 Thread Nathan Whitehorn
On 12/01/13 07:34, Jilles Tjoelker wrote: On Sat, Nov 30, 2013 at 04:36:18PM -0600, Nathan Whitehorn wrote: This took much longer than I'd anticipated, but the patch to init is attached. I chose not to make the changes to init rather than getttyent() and friends in libc, which I am open to

Re: [CFT] bsdinstall and zfsboot enhancements

2013-12-01 Thread Jilles Tjoelker
On Sat, Nov 30, 2013 at 04:36:18PM -0600, Nathan Whitehorn wrote: This took much longer than I'd anticipated, but the patch to init is attached. I chose not to make the changes to init rather than getttyent() and friends in libc, which I am open to revisiting.

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-30 Thread Nathan Whitehorn
On 11/11/13 14:57, Teske, Devin wrote: On Nov 11, 2013, at 12:54 PM, Nathan Whitehorn wrote: On 11/11/13 14:30, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all,

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread Johan Hendriks
Teske, Devin schreef: Hi all, Another Call For Testing... This one is for bsdinstall. Two patchsets are required for this CFT: http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_debug/ http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_zfs/ The enhancements are: + Add a `-D FILE

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread Teske, Devin
On Nov 12, 2013, at 4:02 AM, Johan Hendriks wrote: Teske, Devin schreef: Hi all, Another Call For Testing... This one is for bsdinstall. Two patchsets are required for this CFT: http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_debug/

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread Allan Jude
On 2013-11-12 14:11, Teske, Devin wrote: On Nov 12, 2013, at 4:02 AM, Johan Hendriks wrote: Teske, Devin schreef: Hi all, Another Call For Testing... This one is for bsdinstall. Two patchsets are required for this CFT: http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_debug/

RE: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread dteske
-Original Message- From: Michael Dexter [mailto:edi...@callfortesting.org] Sent: Tuesday, November 12, 2013 11:25 AM To: Devin Teske Cc: Teske, Devin; Peter Grehan; Nathan Whitehorn; Current Current Subject: Re: [CFT] bsdinstall and zfsboot enhancements On 11/11/13 1:01 PM

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread Michael Dexter
On 11/11/13 1:01 PM, Teske, Devin wrote: It doesn't touch the timeout code - should be whatever FreeBSD loader forth scripts tell it to do. Ah, must have been something Michael did. I noticed this whilst getting demos from him on his laptop. Please clarify. What specifically? Michael

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-12 Thread Michael Dexter
On 11/12/13 12:22 PM, dte...@freebsd.org wrote: When the boot menu comes up, it counts down to from 5, 4, 3, ... Instead of 9, 8, 7, ... Sounds like autoboot_delay is modified... in the installed distro? Did you script that or do it by hand? in loader.conf? in the VM? Just curious. Good

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that we may want to accommodate the LiveCD mode of the installer, which in turn requires

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Michael Dexter
Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that we may want to accommodate the LiveCD mode of the installer, which in turn requires the correct console. Currently, one is prompted for VT100 for installation but this does not appear to

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Nathan Whitehorn
On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that we may want to accommodate the LiveCD mode

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
(disabling default gpg-signing until they fix a bug with the quoting) On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that we may want to accommodate the LiveCD mode of the

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Nathan Whitehorn
On 11/11/13 14:30, Teske, Devin wrote: (disabling default gpg-signing until they fix a bug with the quoting) On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that we may want to

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:35 PM, Nathan Whitehorn wrote: On 11/11/13 14:30, Teske, Devin wrote: (disabling default gpg-signing until they fix a bug with the quoting) On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Peter Grehan
Hi Nathan, I think modifying init is the way to go -- it keeps the install system from interfering with the installed one, as well as fixing this kind of issue with moved hard drives or PXE booting or what have you. I now agree with this :) Modifying /etc/ttys at install time doesn't work

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:30 PM, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Peter Grehan
Hi Devin, Question: Does bhyve set kern.console irrespective of loader.conf values? The kernel sets it based on what it determines the console to be. Bhyve influences that by requesting a serial console. This is no different than booting on a headless machine with a serial console.

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Nathan Whitehorn
On 11/11/13 14:44, Teske, Devin wrote: On Nov 11, 2013, at 12:30 PM, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:44 PM, Peter Grehan wrote: Hi Devin, Question: Does bhyve set kern.console irrespective of loader.conf values? The kernel sets it based on what it determines the console to be. Bhyve influences that by requesting a serial console. This is no different than

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Nathan Whitehorn
On 11/11/13 14:30, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and GNU/Linux boot media under bhyve and noticed that

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:54 PM, Nathan Whitehorn wrote: On 11/11/13 14:30, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Nathan Whitehorn
On 11/11/13 14:52, Teske, Devin wrote: On Nov 11, 2013, at 12:44 PM, Peter Grehan wrote: Hi Devin, Question: Does bhyve set kern.console irrespective of loader.conf values? The kernel sets it based on what it determines the console to be. Bhyve influences that by requesting a serial

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Peter Grehan
Hi Devin, When boot is executed, I know I can see kenv console, but hadn't realized that there were/are a host of others that are slurped into the kernel for later (very purposeful) fetching. So when you say that bhyve requests a serial console... I assume now it's setting variables... but via

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:56 PM, Nathan Whitehorn wrote: On 11/11/13 14:52, Teske, Devin wrote: On Nov 11, 2013, at 12:44 PM, Peter Grehan wrote: Hi Devin, Question: Does bhyve set kern.console irrespective of loader.conf values? The kernel sets it based on what it determines the console

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Teske, Devin
On Nov 11, 2013, at 12:59 PM, Peter Grehan wrote: Hi Devin, When boot is executed, I know I can see kenv console, but hadn't realized that there were/are a host of others that are slurped into the kernel for later (very purposeful) fetching. So when you say that bhyve requests a

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-11 Thread Allan Jude
On 2013-11-11 15:54, Nathan Whitehorn wrote: On 11/11/13 14:30, Nathan Whitehorn wrote: On 11/11/13 14:18, Teske, Devin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: Hello all, I have been experimenting with various BSD and

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-06 Thread Teske, Devin
On Nov 5, 2013, at 7:54 PM, Craig Rodrigues wrote: On Sat, Nov 2, 2013 at 10:59 AM, Teske, Devin devin.te...@fisglobal.com wrote: + Update bsdinstall's config script to adjust ttyu* entries in /etc/ttys when it is determined that we are in-fact doing an install over serial (e.g.

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-05 Thread Craig Rodrigues
On Sat, Nov 2, 2013 at 10:59 AM, Teske, Devin devin.te...@fisglobal.comwrote: + Update bsdinstall's config script to adjust ttyu* entries in /etc/ttys when it is determined that we are in-fact doing an install over serial (e.g. bhyve). I think this is useful. In earlier versions of BHyve,

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-03 Thread Teske, Devin
On Nov 2, 2013, at 8:40 PM, Nathan Whitehorn wrote: On 11/02/13 12:59, Teske, Devin wrote: Hi all, Another Call For Testing... This one is for bsdinstall. Will look at the rest later... + Update bsdinstall's config script to adjust ttyu* entries in /etc/ttys when it is determined that

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-03 Thread Nathan Whitehorn
On Nov 3, 2013, at 11:33 AM, Teske, Devin wrote: On Nov 2, 2013, at 8:40 PM, Nathan Whitehorn wrote: On 11/02/13 12:59, Teske, Devin wrote: Hi all, Another Call For Testing... This one is for bsdinstall. Will look at the rest later... + Update bsdinstall's config script to adjust ttyu*

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-03 Thread Peter Grehan
Peter, can you restate the problem for Nathan so that we can maybe find a better home for this change? or perhaps more clearly define (than I) how we arrived at the code for the bhyve work? The issue is that /etc/ttys is static. Serial console installs assume that the user knows that the file

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-03 Thread Nathan Whitehorn
On Nov 3, 2013, at 12:59 PM, Peter Grehan wrote: Peter, can you restate the problem for Nathan so that we can maybe find a better home for this change? or perhaps more clearly define (than I) how we arrived at the code for the bhyve work? The issue is that /etc/ttys is static. Serial console

[CFT] bsdinstall and zfsboot enhancements

2013-11-02 Thread Teske, Devin
Hi all, Another Call For Testing... This one is for bsdinstall. Two patchsets are required for this CFT: http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_debug/ http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_zfs/ The enhancements are: + Add a `-D FILE command-line option for

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-02 Thread Outback Dingo
On Sat, Nov 2, 2013 at 1:59 PM, Teske, Devin devin.te...@fisglobal.comwrote: Hi all, Another Call For Testing... This one is for bsdinstall. Two patchsets are required for this CFT: http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_debug/

Re: [CFT] bsdinstall and zfsboot enhancements

2013-11-02 Thread Nathan Whitehorn
On 11/02/13 12:59, Teske, Devin wrote: Hi all, Another Call For Testing... This one is for bsdinstall. Will look at the rest later... + Update bsdinstall's config script to adjust ttyu* entries in /etc/ttys when it is determined that we are in-fact doing an install over serial (e.g. bhyve).