Re: oops pauser. / boot_delayer



On Thu, 2006-01-05 06:11:05, Dave Jones wrote:
> On Thu, Jan 05, 2006 at 08:30:16AM +0100, Bernd Eckenfels wrote:
> > Randy.Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> > > This one delays each printk() during boot by a variable time
> > > (from kernel command line), while system_state == SYSTEM_BOOTING.
> >
> > This sounds a bit like a aprils fool joke, what it is meant to do? You can
> > read the messages in the bootlog and use the scrollback keys, no?
>
> could be handy for those 'I see a few messages that scroll, and the
> box instantly reboots' bugs. Quite rare, but they do happen.

Another very common situation is a system which fails to boot due to
failures to find the root filesystem. This can happen because of device name
slippage, root disk not being found, the proper HBA driver isn't present in
the initrd image, etc. The customer calls us and reports the last thing they
see on the screen:

Mounting root filesystem
Kmod : failed to exec /sbin/modprobe -s -k block-major-8 , error = 2
mount : error 6 mounting ext3
pivotroot : pivot_root(/sysroot,.sysroot/initrd) failed : 2
Freeing unused memory
Kernel panic : No init found . Try passing init= option to kernel

Great! Only problem is the info we really need has already scrolled of the
screen. An option to pause briefly after each boot time printk would be very
useful.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: oops pauser. / boot_delayer
    ... >> This one delays each printk() during boot by a variable time ... >This sounds a bit like a aprils fool joke, what it is meant to do? ... Very sad,,, You want a kernel monitor to baby boot process? ...
    (Linux-Kernel)
  • ATAng problems
    ... which my root filesystem is residing. ... If I choose 'Safe mode' in the boot menu, ... <ACPI PCI bus> on pcib0 ... on ppbus0 ...
    (freebsd-current)
  • Re: [patch] Re: 2.6.16-rc4-mm1 (bugs and lockups)
    ... This is enough for printk but not for the boot lockup. ... The attached patch is however enough. ... +static void boot_cpu_init ...
    (Linux-Kernel)
  • Re: Error writing ufs log state problem
    ... recommended workaround is to abandon the logging feature until this ... > Starting VxVM restore daemon... ... > VxVM starting in boot mode... ... > moment to fsck the root filesystem. ...
    (comp.sys.sun.admin)
  • Re: Debian Unstable wont boot on 2.6.15-1/grub/raid1
    ... If I boot up on 2.6.16-1 the system will ... busybox shell. ... udev is not involved until after the root filesystem is mounted. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)