99b7de3347
The history is that -mm kernels do not work for me for a few months already. The things started from crashing somewhere after starting init, and for the last month - no boot at all, just "Uncompressing... OK, booting kernel", and silence. Early console didn't work too. With the latest releases this degraded into an infinite stream of the "Unknown interrupt or fault" messages. So today my patience ran out and I started to think how can I collect at least some info for the bug-report. Attached is the patch that allows to gather some valueable debug info on the problem by making an early console more useable. I can't properly test the patch, as the kernel still doesn't boot, so I'll explain it in details in a hope someone else can justify the intrusive changes. arch_hooks.h: added prototypes for setup_early_printk() and early_printk(). setup.c: killed wrong setup_early_printk() prototype. Moved setup_early_printk() a bit earlier, as it was not "early enough" to cover the bug I was fighting with. early_printk.c: made it to start printing from the bottom of the screen, otherwise the messages interfere with the ones of the boot-loader, so you can't read them. Signed-off-by: Stas Sergeev <stsp@aknet.ru> Cc: Andi Kleen <ak@muc.de> Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
acpi | ||
cpu | ||
timers | ||
.gitignore | ||
alternative.c | ||
apic.c | ||
apm.c | ||
asm-offsets.c | ||
bootflag.c | ||
cpuid.c | ||
crash_dump.c | ||
crash.c | ||
dmi_scan.c | ||
doublefault.c | ||
early_printk.c | ||
efi_stub.S | ||
efi.c | ||
entry.S | ||
head.S | ||
i386_ksyms.c | ||
i387.c | ||
i8237.c | ||
i8259.c | ||
init_task.c | ||
io_apic.c | ||
ioport.c | ||
irq.c | ||
kprobes.c | ||
ldt.c | ||
machine_kexec.c | ||
Makefile | ||
mca.c | ||
microcode.c | ||
module.c | ||
mpparse.c | ||
msr.c | ||
nmi.c | ||
numaq.c | ||
pci-dma.c | ||
process.c | ||
ptrace.c | ||
quirks.c | ||
reboot_fixups.c | ||
reboot.c | ||
relocate_kernel.S | ||
scx200.c | ||
semaphore.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
smp.c | ||
smpboot.c | ||
srat.c | ||
summit.c | ||
sys_i386.c | ||
syscall_table.S | ||
sysenter.c | ||
time_hpet.c | ||
time.c | ||
topology.c | ||
trampoline.S | ||
traps.c | ||
vm86.c | ||
vmlinux.lds.S | ||
vsyscall-int80.S | ||
vsyscall-note.S | ||
vsyscall-sigreturn.S | ||
vsyscall-sysenter.S | ||
vsyscall.lds.S | ||
vsyscall.S |