All of lore.kernel.org
 help / color / mirror / Atom feed
* sleep before boot panic
@ 2008-01-06 18:08 Bernd Schubert
  2008-01-06 19:01 ` Ingo Oeser
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bernd Schubert @ 2008-01-06 18:08 UTC (permalink / raw)
  To: linux-kernel

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.


Signed-off-by: Bernd Schubert <bernd-schubert@gmx.de>

Index: zd1211rw.git.beno/init/do_mounts.c
===================================================================
--- zd1211rw.git.beno.orig/init/do_mounts.c	2008-01-06 18:44:23.000000000 
+0100
+++ zd1211rw.git.beno/init/do_mounts.c	2008-01-06 18:45:44.000000000 +0100
@@ -330,6 +330,7 @@
 		printk("Please append a correct \"root=\" boot option; here are the 
available partitions:\n");
 
 		printk_all_partitions();
+		msleep(60 * 1000);
 		panic("VFS: Unable to mount root fs on %s", b);
 	}
 


Cheers,
Bernd

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <9II6K-1Pg-9@gated-at.bofh.it>]

end of thread, other threads:[~2008-01-15  9:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-06 18:08 sleep before boot panic 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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.