LKML Archive on
 help / color / Atom feed
From: "Ahmed S. Darwish" <>
To: Thomas Gleixner <>,
	Ingo Molnar <>, "H. Peter Anvin" <>
Cc: Randy Dunlap <>,, LKML <>
Subject: Saving early panic() messages, to disk, using the BIOS
Date: Fri, 14 Jan 2011 15:39:55 +0200
Message-ID: <20110114133955.GA31019@laptop> (raw)


I'm facing some very early panics in latest -rc kernels. Vesafb is not
even working, so only the very bottom of the stack trace is available.

>From an overall-design perspective, would a patch that saves such early
panic messages to the hard-disk using real-mode BIOS calls be acceptable?

That seems to be the only path to _fully_ capture such panic; this is a
regular x86(-64) laptop with no serial ports or floppy disks. I'm in the
lmode->pmode->rmode part now, but I thought it might be wise to quickly
ask about such design mergeability before investing further effort.

(There is an old set of patches in Randy's homepage that does something
similar using floppy disks,[1] so it seems the basic idea is not that
strange. I also do something similar in a hobby kernel of mine.[2])




                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110114133955.GA31019@laptop \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

LKML Archive on

Archives are clonable:
	git clone --mirror lkml/git/0.git
	git clone --mirror lkml/git/1.git
	git clone --mirror lkml/git/2.git
	git clone --mirror lkml/git/3.git
	git clone --mirror lkml/git/4.git
	git clone --mirror lkml/git/5.git
	git clone --mirror lkml/git/6.git
	git clone --mirror lkml/git/7.git
	git clone --mirror lkml/git/8.git
	git clone --mirror lkml/git/9.git
	git clone --mirror lkml/git/10.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ \
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone