LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Oeser <ioe-lkml@rameria.de>,
	Andi Kleen <andi@firstfloor.org>,
	Bernd Schubert <bernd-schubert@gmx.de>,
	linux-kernel@vger.kernel.org
Subject: Re: sleep before boot panic
Date: Tue, 8 Jan 2008 16:06:45 +0000	[thread overview]
Message-ID: <20080108160645.GA4574@ucw.cz> (raw)
In-Reply-To: <47831D97.7040908@zytor.com>

Hi!

> >>>I just switched to libata (pata) on my laptop and the 
> >>>immediate panic made it impossible to figure out why 
> >>>my boot partition wasn't available.
> >>>After applying this little patch I could check boot 
> >>>printk output and then saw everything was properly 
> >>>recognized and only scsi-disk support was missing.
> >>The correct fix would be to make scroll back (and 
> >>sysrq) still work
> >>after panic.  It's a little more complicated, but 
> >>possible (essentially
> >>it needs a polled keyboard handler)
> >
> >Customer: "This system could not find the root fs."
> >Support: "Oh, yeah, just connect a (USB-) keyboard and 
> >scroll back."
> >
> >Hmm, device detection works after panic?
> >
> >I really like the "soft" panic better, where you still 
> >can operate the kernel debugging features, but just 
> >have no user space supporting it.

ACK. 'scheduling in interrupt' is very different from 'cant mount
root'.

> Of course, if we'd been using kinit, "soft panic" would 
> have been done exclusively in userspace...

What's the status of kinit, btw?
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2008-01-08 16:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06 18:08 Bernd Schubert
2008-01-06 19:01 ` Ingo Oeser
2008-01-06 19:23   ` Bernd Schubert
2008-01-06 20:38     ` Ingo Oeser
2008-01-07 20:41 ` Andi Kleen
2008-01-08  6:17   ` Ingo Oeser
2008-01-08  6:52     ` H. Peter Anvin
2008-01-08 16:06       ` Pavel Machek [this message]
2008-01-09 18:03         ` H. Peter Anvin
2008-01-10 19:20           ` kinit (was: sleep before boot panic) Ingo Oeser
2008-01-08 16:11     ` sleep before boot panic Andi Kleen
2008-01-15  9:38 ` Andrew Morton
     [not found] <9II6K-1Pg-9@gated-at.bofh.it>
     [not found] ` <9IJ2M-3l2-3@gated-at.bofh.it>
     [not found]   ` <9IJme-3Nb-13@gated-at.bofh.it>
     [not found]     ` <9IKrY-5vk-15@gated-at.bofh.it>
2008-01-07 11:47       ` Bodo Eggert
2008-01-07 15:03         ` Pavel Machek
2008-01-08 13:26           ` Bodo Eggert

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20080108160645.GA4574@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=andi@firstfloor.org \
    --cc=bernd-schubert@gmx.de \
    --cc=hpa@zytor.com \
    --cc=ioe-lkml@rameria.de \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: sleep before boot panic' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).