Re: No serial console input in loader

2009-10-14 Thread Anselm Strauss

Hi,

I have to come back to this problem. When I boot over the serial  
console, input works all fine until I come to the loader menu. There,  
input from the serial console is just ignored, I can not interrupt the  
autoboot and e.g. choose a different kernel. I have partitioned with  
GPT and installed /boot/pmbr into the MBR and /boot/gptboot into the  
first partition of type freebsd-boot. The keyboard works in the BIOS,  
and in gptboot I think, where I can interrupt the boot by pressing a  
key, and a list like this shows:


FreeBSD/i386 boot
Default: 0:ad(0p2)/boot/loader
boot:

Then, in the loader menu the input is dead, when the kernel boots and  
also afterwards it works again fine.


When I use GRUB to start the loader the keyboard also works.

Any ideas on what the problem could be or how to track this down?

Cheers
Anselm



On Jun 28, 2008, at 13:15 , Anselm Strauss wrote:


Hi,

I have a small router that has no video output, it only supports a
serial console. I configured the serial console in /boot/
boot.config, /boot/loader.conf and /etc/ttys. It's working in the
BIOS, on the boot prompt before the loader starts, and when logging
in on the getty. The only place where it's not working correctly is
at the loader prompt. I can see the loader menu and the logo, but I
can't choose the boot entry or interrupt the timeout. I can't make
any input at all. What could this be?

Cheers,
Anselm


Don't know what this was, but now it works. I use Grub to directly
load /boot/loader as kernel. I set the serial console in the BIOS to
115200 Baud. In Grub's menu.lst I then use:

serial --unit=0 --speed=115200
terminal serial

and in /boot/loader.conf:

console=comconsole
comconsole_speed=115200

Seems like this is all that is needed.

Anselm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No serial console input in loader

2008-07-08 Thread Anselm Strauss

On Jun 28, 2008, at 13:15 , Anselm Strauss wrote:


Hi,

I have a small router that has no video output, it only supports a  
serial console. I configured the serial console in /boot/ 
boot.config, /boot/loader.conf and /etc/ttys. It's working in the  
BIOS, on the boot prompt before the loader starts, and when logging  
in on the getty. The only place where it's not working correctly is  
at the loader prompt. I can see the loader menu and the logo, but I  
can't choose the boot entry or interrupt the timeout. I can't make  
any input at all. What could this be?


Cheers,
Anselm


Don't know what this was, but now it works. I use Grub to directly  
load /boot/loader as kernel. I set the serial console in the BIOS to  
115200 Baud. In Grub's menu.lst I then use:


serial --unit=0 --speed=115200
terminal serial

and in /boot/loader.conf:

console=comconsole
comconsole_speed=115200

Seems like this is all that is needed.

Anselm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No serial console input in loader

2008-06-28 Thread Anselm Strauss

Hi,

I have a small router that has no video output, it only supports a  
serial console. I configured the serial console in /boot/boot.config, / 
boot/loader.conf and /etc/ttys. It's working in the BIOS, on the boot  
prompt before the loader starts, and when logging in on the getty. The  
only place where it's not working correctly is at the loader prompt. I  
can see the loader menu and the logo, but I can't choose the boot  
entry or interrupt the timeout. I can't make any input at all. What  
could this be?


Cheers,
Anselm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No serial console input in loader

2008-06-28 Thread Patrick Lamaizière
Le Sat, 28 Jun 2008 13:15:11 +0200,
Anselm Strauss [EMAIL PROTECTED] a écrit :

 Hi,

Hello,

 I have a small router that has no video output, it only supports a  
 serial console. I configured the serial console
 in /boot/boot.config, / boot/loader.conf and /etc/ttys. It's working
 in the BIOS, on the boot prompt before the loader starts, and when
 logging in on the getty. The only place where it's not working
 correctly is at the loader prompt. I can see the loader menu and the
 logo, but I can't choose the boot entry or interrupt the timeout. I
 can't make any input at all. What could this be?

Coud you put here the related entries of /boot/loader.conf
and /etc/tty ?
I don't change anything in /boot/boot.config


Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No serial console input in loader

2008-06-28 Thread Anselm Strauss
Coud you put here the related entries of /boot/loader.conf and /etc/ 
tty ?



/boot/loader.conf:

console=comconsole
comconsole_speed=38400

/boot/boot.config:

-h
-S38400

/etc/ttys (disabled all ttyv*):

ttyd0   /usr/libexec/getty std.38400  vt100   on  secure
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]