2005-01-30 15:19:40

by Povolotsky, Alexander

[permalink] [raw]
Subject: Linux 2.6.10-rc3 Log Buffer question - booting without console . ..

> Hi,
> My kernel command line is:
> console=ttyCPM0,115200 panic=3 root=/dev/ram debug log_buf_len=128 KB
> Also I have:
> CONFIG_LOG_BUF_SHIFT=16
> and
> CONFIG_DEBUG_KERNEL=y (the drivers info part only)
> in .config
> Also I have commented out the console_init() call to prevent serial driver
> from hanging (this is my CPM problem, which I can not solve so far )
> - this allows booting to continue ...
>
> In my Log Buf I see (after the board soft reboots by itself in a while) I
> see first my debug printk-s from __init start_kernel() (main.c):
> ....
> after acpi_early_init
> <<<<<=== this is my last debug printk from __init start_kernel() (main.c)
> <6>checking if image is initramfs...it isn't (no cpio magic);looks like an
> initrd.
> <4>Freeing initrd memory: 1202k freed.
> <7>DEV: registering device: ID = 'platform'.
> <7>bus type 'platform' registered.
> .....
> Then log buffer lists many more registered devices
> .....
> showing at the end :
>
> <6>HDLC support module revision 1.17.
> <6>elevator: using anticipatory as default io scheduler.
> <5>physmap flash device: 4000000 at 8000000
> ...............
> .................
> And nothing more - I do not see there in the log buffer:
>
> RAMDISK: Compressed image found at block 0
>
> neither I see in the log buffer any indication of OOPS or kernel panic ...
>
>
> but the board clearly reboots !
>
> Werner - could you kindly tell me why Log Buffer looks incomplete and why
> I do not see what caused the reboot there.?
>
> Any suggestions how to make Log Buffer complete ?
>
> Thanks,
> Best Regards,
> Alex