lkml.org 
[lkml]   [2006]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kinit problem with cciss root device
Bjorn Helgaas wrote:
>
> So you might consider something like the "drain output" hunk below,
> which allowed all the useful messages to get out.
>

Hm. That's rather ugly. Anyone knows if TCFLSB works on /dev/console?

>
> Index: work-mm8/usr/kinit/kinit.c
> ===================================================================
> --- work-mm8.orig/usr/kinit/kinit.c 2006-06-05 19:04:46.000000000 -0600
> +++ work-mm8/usr/kinit/kinit.c 2006-06-06 14:19:59.000000000 -0600
> @@ -317,5 +317,10 @@
> if (mnt_sysfs)
> umount2("/sys", 0);
>
> + /*
> + * Allow time for messages to drain before kernel panics
> + * because init is exiting.
> + * */
> + sleep(10);
> exit(ret);
> }

-hpa
-
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/

\
 
 \ /
  Last update: 2006-06-07 01:27    [W:0.028 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site