public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Pausing kernel boot messages
@ 2007-08-27 11:21 Esteban Fernandez
  2007-08-27 11:53 ` Hans-Jürgen Koch
  2007-08-31 16:58 ` Chuck Ebbert
  0 siblings, 2 replies; 7+ messages in thread
From: Esteban Fernandez @ 2007-08-27 11:21 UTC (permalink / raw)
  To: linux-kernel

How do you pause the kernel boot messages ?

^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
kernel panic.

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 11:21 Pausing kernel boot messages Esteban Fernandez
@ 2007-08-27 11:53 ` Hans-Jürgen Koch
  2007-08-27 11:58   ` Andreas Schwab
  2007-08-27 12:09   ` Zilvinas Valinskas
  2007-08-31 16:58 ` Chuck Ebbert
  1 sibling, 2 replies; 7+ messages in thread
From: Hans-Jürgen Koch @ 2007-08-27 11:53 UTC (permalink / raw)
  To: Esteban Fernandez; +Cc: linux-kernel

Am Montag 27 August 2007 13:21 schrieb Esteban Fernandez:
> How do you pause the kernel boot messages ?
> 
> ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
> kernel panic.

These are functions of a shell (like bash), which you haven't got yet during
kernel boot. You can read the kernel boot messages _after_ your system's up
using dmesg etc.
If you can't do that, e.g. because your kernel always hangs during boot, you
could enable a serial console in your kernel and watch/log your kernel 
messages with a terminal program running on a different computer.

Hans


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 11:53 ` Hans-Jürgen Koch
@ 2007-08-27 11:58   ` Andreas Schwab
  2007-08-27 12:13     ` Hans-Jürgen Koch
  2007-08-27 12:09   ` Zilvinas Valinskas
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2007-08-27 11:58 UTC (permalink / raw)
  To: Hans-Jürgen Koch; +Cc: Esteban Fernandez, linux-kernel

Hans-Jürgen Koch <hjk@linutronix.de> writes:

> Am Montag 27 August 2007 13:21 schrieb Esteban Fernandez:
>> How do you pause the kernel boot messages ?
>> 
>> ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
>> kernel panic.
>
> These are functions of a shell (like bash),

Definitely not.  The shell is not a console driver, it only uses it.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 11:53 ` Hans-Jürgen Koch
  2007-08-27 11:58   ` Andreas Schwab
@ 2007-08-27 12:09   ` Zilvinas Valinskas
  1 sibling, 0 replies; 7+ messages in thread
From: Zilvinas Valinskas @ 2007-08-27 12:09 UTC (permalink / raw)
  To: Hans-Jürgen Koch; +Cc: Esteban Fernandez, linux-kernel

Esteban,

Alternatively, read Documentation/networking/netconsole.txt. Might help
or might not. It depends when system is crashing.

On Mon, 2007-08-27 at 13:53 +0200, Hans-Jürgen Koch wrote:
> Am Montag 27 August 2007 13:21 schrieb Esteban Fernandez:
> > How do you pause the kernel boot messages ?
> > 
> > ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
> > kernel panic.
> 
> These are functions of a shell (like bash), which you haven't got yet during
> kernel boot. You can read the kernel boot messages _after_ your system's up
> using dmesg etc.
> If you can't do that, e.g. because your kernel always hangs during boot, you
> could enable a serial console in your kernel and watch/log your kernel 
> messages with a terminal program running on a different computer.
> 
> Hans
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 11:58   ` Andreas Schwab
@ 2007-08-27 12:13     ` Hans-Jürgen Koch
  2007-08-30 19:15       ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Hans-Jürgen Koch @ 2007-08-27 12:13 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Esteban Fernandez, linux-kernel

Am Montag 27 August 2007 13:58 schrieb Andreas Schwab:
> Hans-Jürgen Koch <hjk@linutronix.de> writes:
> 
> > Am Montag 27 August 2007 13:21 schrieb Esteban Fernandez:
> >> How do you pause the kernel boot messages ?
> >> 
> >> ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
> >> kernel panic.
> >
> > These are functions of a shell (like bash),
> 
> Definitely not.  The shell is not a console driver, it only uses it.

Right, I wasn't precise. But it's still possible that you don't have your
keyboard available during early parts of the boot process.

Hans

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 12:13     ` Hans-Jürgen Koch
@ 2007-08-30 19:15       ` Jan Engelhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Engelhardt @ 2007-08-30 19:15 UTC (permalink / raw)
  To: Hans-Jürgen Koch; +Cc: Andreas Schwab, Esteban Fernandez, linux-kernel


On Aug 27 2007 14:13, Hans-Jürgen Koch wrote:
>> >> How do you pause the kernel boot messages ?
>> >> 
>> >> ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
>> >> kernel panic.
>> >
>> > These are functions of a shell (like bash),
>> 
>> Definitely not.  The shell is not a console driver, it only uses it.
>
>Right, I wasn't precise. But it's still possible that you don't have your
>keyboard available during early parts of the boot process.

Yes, but a common error is "could not mount root", which is way after the
keyboard has been initialized. *In fact*, you can start initramfs, have your
PgUp/PgDown keys available, and when you exit out of initramfs without a valid
root filesystem, you lose the keys again.


	Jan
-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Pausing kernel boot messages
  2007-08-27 11:21 Pausing kernel boot messages Esteban Fernandez
  2007-08-27 11:53 ` Hans-Jürgen Koch
@ 2007-08-31 16:58 ` Chuck Ebbert
  1 sibling, 0 replies; 7+ messages in thread
From: Chuck Ebbert @ 2007-08-31 16:58 UTC (permalink / raw)
  To: Esteban Fernandez; +Cc: linux-kernel

On 08/27/2007 07:21 AM, Esteban Fernandez wrote:
> How do you pause the kernel boot messages ?
> 
> ^S, Pause and Scroll lock do nothing and you can't Shift-Page-Up  after a
> kernel panic.
> 

You could try linux-2.6-debug-boot-delay.patch from Randy Dunlap,
included in the Fedora 7 kernel.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-31 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 11:21 Pausing kernel boot messages Esteban Fernandez
2007-08-27 11:53 ` Hans-Jürgen Koch
2007-08-27 11:58   ` Andreas Schwab
2007-08-27 12:13     ` Hans-Jürgen Koch
2007-08-30 19:15       ` Jan Engelhardt
2007-08-27 12:09   ` Zilvinas Valinskas
2007-08-31 16:58 ` Chuck Ebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox