Re: Preserving early console output (pre-Copyright stuff)

2010-07-05 Thread David Laight
On Thu, Jul 01, 2010 at 11:44:52AM -0400, Matthew Mondor wrote: Sometimes I've been thinking about this as more and more hardware don't ship with RS232 anymore. Is there a relatively common BIOS interface which would allow, even if non-efficiently, to use a USB port as a serial device

Re: Preserving early console output (pre-Copyright stuff)

2010-07-05 Thread David Holland
On Thu, Jul 01, 2010 at 05:18:36AM -0700, Paul Goyette wrote: b) a way to pause long enough to manually transcribe the output? (A simple timed delay would work, although a Press any key to continue would be easier!) It may work to do printf(Press a key...\n); cnpollc(1);

Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Paul Goyette
I'm trying to debug some stuff on a new server, and there are some messages of interest that get printf'd on the console very early in the system's life, before the Copyright (c)... lines. There is a large amount of info being printed, way more than a screenful and way more than can be

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Allen Briggs
On Thu, Jul 01, 2010 at 05:18:36AM -0700, Paul Goyette wrote: a) a way to capture these messages in the normal message buffer for later collection by syslog, or b) a way to pause long enough to manually transcribe the output? (A simple timed delay would work, although a Press any key to

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Sad Clouds
On Thu, 1 Jul 2010 05:18:36 -0700 (PDT) Paul Goyette p...@whooppee.com wrote: b) a way to pause long enough to manually transcribe the output? (A simple timed delay would work, although a Press any key to continue would be easier!) Get a semi-decent digital camera, set high ISO speed in a

lockdebug messages in dmesg (was: Preserving early console output (pre-Copyright stuff))

2010-07-01 Thread Adam Hoka
btw, is this intentional that lockdebug panic messages dont end up in dmesg? -- NetBSD - Simplicity is prerequisite for reliability

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Allen Briggs
On Thu, Jul 01, 2010 at 06:00:41AM -0700, Paul Goyette wrote: There is a serial port, but I haven't figured out yet how to make it work in the BIOS. And while I do have other machines with serial ports I've never used those ports and don't even have serial cables! (The last time I used a

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Matthew Mondor
On Thu, 1 Jul 2010 06:00:41 -0700 (PDT) Paul Goyette p...@whooppee.com wrote: That's what I thought I'd get for an answer! :) There is a serial port, but I haven't figured out yet how to make it work in the BIOS. And while I do have other machines with serial ports I've never used those

Re: lockdebug messages in dmesg (was: Preserving early console output (pre-Copyright stuff))

2010-07-01 Thread Andrew Doran
On Thu, Jul 01, 2010 at 04:13:36PM +0200, Adam Hoka wrote: btw, is this intentional that lockdebug panic messages dont end up in dmesg? Yes, just because that requires taking additional locks. -- NetBSD - Simplicity is prerequisite for reliability

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Paul Goyette
On Thu, 1 Jul 2010, Allen Briggs wrote: Heh. You do need a serial cable and another computer, but it's not too hard to set up. You don't need to find any options in the BIOS if you install the right boot blocks. Yeah, OK, I got a cable, plugged it in, run cu(1) on one end, and added a new

Re: Preserving early console output (pre-Copyright stuff)

2010-07-01 Thread Giles Lean
Matthew Mondor mm_li...@pulsar-zone.net wrote: Sometimes I've been thinking about this as more and more hardware don't ship with RS232 anymore. Is there a relatively common BIOS interface which would allow, even if non-efficiently, to use a USB port as a serial device without too much code?