[Soekris] help in booting FreeBSD 9
Hi Chris, Thank you for your suggestions concerning comconsole and speed. I set baudrate 9600 consitently in Soekris and server according to loppefaaret advice on this mailinglist. I also set boot_serial=-h according to hint by Jed Clear. The last status of my booting is: boot f0 NSC DP83815/DP83816 Fast Ethernet UNDI, v1.03 Copyright (C) 2002, 2003 National Semiconductor Corporation All rights reserved. Pre-boot eXecution Environment PXE-2.0 (build 082) Copyright (C) 1997-2000 Intel Corporation CLIENT MAC ADDR: 00 00 24 CF D8 F8. DHCP.|CLIENT IP: 192.168.1.45 MASK: 255.255.255.0 DHCP IP: 192.168.1.10 GATEWAY IP: 192.168.1.10 TFTP. TFTP.\|PXE Loader 1.00 Building the boot loader arguments Relocating the loader and the BTX Starting the BTX loader C o n s o l e s : i n t e r n a l v i d e o / k e y b o a r d B I O S d r i v e C : i s d i s k 0 P X E v e r s i o n 2 . 1 , r e a l m o d e e n t r y p o i n t @ 9 e 6 4 : 0 0 f 6 B I O S 6 3 9 k B / 1 3 0 0 4 8 k B a v a i l a b l e m e m o r y F r e e B S D / x 8 6 b o o t s t r a p l o a d e r , R e v i s i o n 1 . 1 ( r o o t @ o b r i a n . c s e . b u f f a l o . e d u , T u e J a n 3 0 6 : 4 0 : 0 1 U T C 2 0 1 2 ) p x e _ o p e n : s e r v e r a d d r : 1 9 2 . 1 6 8 . 1 . 1 0 p x e _ o p e n : s e r v e r p a t h : / u s r / p u b l i c / f r e e b s d 9 0 / p x e _ o p e n : g a t e w a y i p : 1 9 2 . 1 6 8 . 1 . 1 0 | / - \ | / end process hangs. My concern is about the message: Consoles: video/keyboard. Is it OK? Last message is from bootstrap loader: pxe_open:gateway ip: 192.168.1.10 192.168.1.10 is my file server (TFTP and NFS server) Characters | / - \ | / suggest that something is loaded to Soekris, but I may not see it. Could someone interpret the messages and explain what is the stage of installation? Regards, Jacek -Wiadomość oryginalna- Od: Christopher Hilton [mailto:ch...@vindaloo.com] Wysłano: 6 sierpnia 2013 17:42 Do: Igalson Jacek - Korpo TP DW: soekris-tech@lists.soekris.com Temat: Re: [Soekris] help in booting FreeBSD 9 On Aug 5, 2013, at 5:14 AM, Igalson Jacek - Korpo TP jacek.igal...@orange.com wrote: Hello, I am new to the Soekris. I try to install FreeBSD on Soekris 4801-48 with CF memory (8GB). I followed excellent guide for PXE booting FreeBSD 9.x: http://freebsd.so14k.com/freebsd9_pxe.shtml To communicate with Soekris I use terminal Minicom (19200baud and 8N1) on PC with FreeBSD 9.0. I got the following output on terminal: boot f0 Looks like you are getting caught out by a couple of issues with booting FreeBSD on a soekris. 1. The FreeBSD pxeboot infrastructure assumes you are booting onto a machine with a VGA card and keyboard. Once the kernel loads it transfers over to the syscons driver and you can't see the output anymore 2. The Soekris serial port defaults to 19200, 8n1 and the FreeBSD serial console assumes 9600, 8n1. In some of your instructions you'll find a section that has you writing modifying the file '/boot/loader.conf' to have the line: console=comconsole in it. That specifies that the kernel should use the serial port as a console. With just that you should expect to see the kernel boot and then the output will turn to hash because the serial speed is wrong. At this point you could drop out of minicom and restart it with a speed of 9600 baud. Alternatively you can add the line: comconsole_speed=19200 That will keep the console speed at the default for the soekris. There are lots of instructions for pxebooting a soekris into FreeBSD 7, 8, and 9 on the net and there are differences in all of them because the different versions of FreeBSD have had various hangups. -- Chris ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] help in booting FreeBSD 9
On Aug 8, 2013, at 3:16 AM, Igalson Jacek - Korpo TP jacek.igal...@orange.com wrote: Hi Chris, Thank you for your suggestions concerning comconsole and speed. I set baudrate 9600 consitently in Soekris and server according to loppefaaret advice on this mailinglist. I also set boot_serial=-h according to hint by Jed Clear. That's a valid solution to the problem. No matter what you do the baud rate switch is part of your problem. The last status of my booting is: boot f0 [snip] My concern is about the message: Consoles: video/keyboard. Is it OK? No, that is an indication from the FreeBSD kernel that it is using the syscons driver for keyboard and video. Your hardware doesn't have the required hardware to support this change. All new console messages will be directed to hardware that you don't have. This will appear as a hang to you. Once you get things running you will have a file called: /boot/loader.conf which configures the kernel. This file will have a line in it that reads: console=comconsole in addition to other configuration options. You need to figure out how to prime that in a pxeboot managed system. -- Chris ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] help in booting FreeBSD 9
You should also review the FreeBSD handbook. There was a section on serial consoles. There may be new steps for version 9 that I haven't encountered as I'm sticking with 8.x for a bit. And you can double check the ones I did recall. You could also check the logs on your PXE and TFTP server(s) to see if all the expected files were requested and transferred successfully. -Jed On Aug 8, 2013, at 3:16 AM, Igalson Jacek - Korpo TP jacek.igal...@orange.com wrote: Hi Chris, Thank you for your suggestions concerning comconsole and speed. I set baudrate 9600 consitently in Soekris and server according to loppefaaret advice on this mailinglist. I also set boot_serial=-h according to hint by Jed Clear. The last status of my booting is: boot f0 NSC DP83815/DP83816 Fast Ethernet UNDI, v1.03 Copyright (C) 2002, 2003 National Semiconductor Corporation All rights reserved. Pre-boot eXecution Environment PXE-2.0 (build 082) Copyright (C) 1997-2000 Intel Corporation CLIENT MAC ADDR: 00 00 24 CF D8 F8. DHCP.|CLIENT IP: 192.168.1.45 MASK: 255.255.255.0 DHCP IP: 192.168.1.10 GATEWAY IP: 192.168.1.10 TFTP. TFTP.\|PXE Loader 1.00 Building the boot loader arguments Relocating the loader and the BTX Starting the BTX loader C o n s o l e s : i n t e r n a l v i d e o / k e y b o a r d B I O S d r i v e C : i s d i s k 0 P X E v e r s i o n 2 . 1 , r e a l m o d e e n t r y p o i n t @ 9 e 6 4 : 0 0 f 6 B I O S 6 3 9 k B / 1 3 0 0 4 8 k B a v a i l a b l e m e m o r y F r e e B S D / x 8 6 b o o t s t r a p l o a d e r , R e v i s i o n 1 . 1 ( r o o t @ o b r i a n . c s e . b u f f a l o . e d u , T u e J a n 3 0 6 : 4 0 : 0 1 U T C 2 0 1 2 ) p x e _ o p e n : s e r v e r a d d r : 1 9 2 . 1 6 8 . 1 . 1 0 p x e _ o p e n : s e r v e r p a t h : / u s r / p u b l i c / f r e e b s d 9 0 / p x e _ o p e n : g a t e w a y i p : 1 9 2 . 1 6 8 . 1 . 1 0 | / - \ | / end process hangs. My concern is about the message: Consoles: video/keyboard. Is it OK? Last message is from bootstrap loader: pxe_open:gateway ip: 192.168.1.10 192.168.1.10 is my file server (TFTP and NFS server) Characters | / - \ | / suggest that something is loaded to Soekris, but I may not see it. Could someone interpret the messages and explain what is the stage of installation? Regards, Jacek -Wiadomość oryginalna- Od: Christopher Hilton [mailto:ch...@vindaloo.com] Wysłano: 6 sierpnia 2013 17:42 Do: Igalson Jacek - Korpo TP DW: soekris-tech@lists.soekris.com Temat: Re: [Soekris] help in booting FreeBSD 9 On Aug 5, 2013, at 5:14 AM, Igalson Jacek - Korpo TP jacek.igal...@orange.com wrote: Hello, I am new to the Soekris. I try to install FreeBSD on Soekris 4801-48 with CF memory (8GB). I followed excellent guide for PXE booting FreeBSD 9.x: http://freebsd.so14k.com/freebsd9_pxe.shtml To communicate with Soekris I use terminal Minicom (19200baud and 8N1) on PC with FreeBSD 9.0. I got the following output on terminal: boot f0 Looks like you are getting caught out by a couple of issues with booting FreeBSD on a soekris. 1. The FreeBSD pxeboot infrastructure assumes you are booting onto a machine with a VGA card and keyboard. Once the kernel loads it transfers over to the syscons driver and you can't see the output anymore 2. The Soekris serial port defaults to 19200, 8n1 and the FreeBSD serial console assumes 9600, 8n1. In some of your instructions you'll find a section that has you writing modifying the file '/boot/loader.conf' to have the line: console=comconsole in it. That specifies that the kernel should use the serial port as a console. With just that you should expect to see the kernel boot and then the output will turn to hash because the serial speed is wrong. At this point you could drop out of minicom and restart it with a speed of 9600 baud. Alternatively you can add the line: comconsole_speed=19200 That will keep the console speed at the default for the soekris. There are lots of instructions for pxebooting a soekris into FreeBSD 7, 8, and 9 on the net and there are differences in all of them because the different versions of FreeBSD have had various hangups. -- Chris ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech