From owner-freebsd-questions@FreeBSD.ORG Mon Jun 24 21:31:28 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9B579E5C for ; Mon, 24 Jun 2013 21:31:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 660D610FA for ; Mon, 24 Jun 2013 21:31:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-122.dynamic.qsc.de [92.195.15.122]) by mx01.qsc.de (Postfix) with ESMTP id 960213C62B; Mon, 24 Jun 2013 23:31:26 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r5OLVX8C002009; Mon, 24 Jun 2013 23:31:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Jun 2013 23:31:33 +0200 From: Polytropon To: Robert Huff Subject: Re: logging during loader Message-Id: <20130624233133.032bf222.freebsd@edvax.de> In-Reply-To: <20936.18494.573287.144022@jerusalem.litteratus.org> References: <20936.18494.573287.144022@jerusalem.litteratus.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 21:31:28 -0000 On Mon, 24 Jun 2013 09:23:10 -0400, Robert Huff wrote: > > During the processing of loader.conf, something gets printed > that suggests all is not right. However, this is a sufficiently > modern machine it goes by too fast to read exactly what. > It is my understanding that file gets read before the system > logging facilities are operational, and possibly before things like > ^S/^Q work on the terminal. > Is there a way to store the results of that phase of boot-up? Being on the 1st virtual terminal in text mode (ttyv0) which also acts as the console device, press the "Scroll Lock" key and use the vertical arrow keys and page scrolling keys to get to the top of the log. It should start with the last BIOS POST messages (if any), and then continue with the loader messages, the kernel messages, and the system startup messages. You can copy them via mouse left/middle to another tty with an editor for future use. This is what Scroll Lock is inteded for. :-) Example: BIOS 637kB/2094976kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (???@?????.????????.???, Sun Aug 21 03:33:08 CEST 2011) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x600ebf data=0x68ab4+0x84a44 syms=[0x4+0x75f50+0x4+0xa 27db] /boot/kernel/bktr.ko text=0xfe20 data=0xc08+0x10 syms=[0x4+0xd80+0x4+0xcd6] loading required module 'bktr_mem' /boot/kernel/bktr_mem.ko text=0x8f4 data=0xe0+0xec syms=[0x4+0x2a0+0x4+0x2b3] /boot/kernel/drm.ko text=0x10e2c data=0x11cc+0x10 syms=[0x4+0x1c20+0x4+0x22b1] /boot/modules/nvidia.ko text=0x71c060 data=0x1f7f9c+0x7900 syms=[0x4+0x82510+0x4 +0x59a76] - Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... And here the kernel messages start, and they will be logged in /var/log/messages anyway. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...