Re: serial console detection during boot

2012-09-25 Thread John Baldwin
On Saturday, September 22, 2012 11:35:21 am Andriy Gapon wrote: Here is an update on the changes: http://people.freebsd.org/~avg/boot-comconsole.diff Please note that the file is actually a patchset that consists of three individual changes: - a generic change in common boot code -

Re: serial console detection during boot

2012-09-22 Thread Olivier Cochard-Labbé
On Mon, Sep 17, 2012 at 10:23 PM, Andriy Gapon a...@freebsd.org wrote: Guys, With this patch I am able to boot with boot_multicons=YES console=vidconsole,comconsole in loader.conf on hardware where serial ports are disabled in BIOS. Previously loader would just hang trying to apply the

Re: serial console detection during boot

2012-09-22 Thread Andriy Gapon
on 22/09/2012 11:40 Olivier Cochard-Labbé said the following: On Mon, Sep 17, 2012 at 10:23 PM, Andriy Gapon a...@freebsd.org wrote: Guys, With this patch I am able to boot with boot_multicons=YES console=vidconsole,comconsole in loader.conf on hardware where serial ports are disabled in

Re: serial console detection during boot

2012-09-22 Thread Andriy Gapon
Here is an update on the changes: http://people.freebsd.org/~avg/boot-comconsole.diff Please note that the file is actually a patchset that consists of three individual changes: - a generic change in common boot code - libi386 comconsole change - BTX and boot2-ish comconsole change All the code

Re: serial console detection during boot

2012-09-22 Thread Olivier Cochard-Labbé
On Sat, Sep 22, 2012 at 5:35 PM, Andriy Gapon a...@freebsd.org wrote: Here is an update on the changes: http://people.freebsd.org/~avg/boot-comconsole.diff Patch applied on 9.1-RC1 with success. Tested under virtualbox with /boot.config that include -D and multi-console in /boot/loader.conf

Re: serial console detection during boot

2012-09-21 Thread Uffe Jakobsen
On 2012-09-17 22:23, Andriy Gapon wrote: what do you think of the following two diffs? +1 Most likely I overdid various checks in libi386/comconsole.c. And, obviously, the RETRY_COUNT value is pulled out of thin air. Any help and suggestions are very welcome. With this patch I am able

serial console detection during boot

2012-09-17 Thread Andriy Gapon
Guys, what do you think of the following two diffs? Most likely I overdid various checks in libi386/comconsole.c. And, obviously, the RETRY_COUNT value is pulled out of thin air. Any help and suggestions are very welcome. With this patch I am able to boot with boot_multicons=YES