Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: IP22/IP28 Disable early printk to fix boot problems on some systems.

Some Debian users have reported that the kernel hangs early during boot on
some IP22 systems. Thomas Bogendoerfer found that this is due to a "bad
interaction between CONFIG_EARLY_PRINTK and overwritten prom memory during
early boot". Since there's no fix yet, disable CONFIG_EARLY_PRINTK for now.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Cc: linux-mips@linux-mips.org
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/702/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Martin Michlmayr and committed by
Ralf Baechle
2b5e63f6 29e55363

+16 -2
+16 -2
arch/mips/Kconfig
··· 358 358 select SWAP_IO_SPACE 359 359 select SYS_HAS_CPU_R4X00 360 360 select SYS_HAS_CPU_R5000 361 - select SYS_HAS_EARLY_PRINTK 361 + # 362 + # Disable EARLY_PRINTK for now since it leads to overwritten prom 363 + # memory during early boot on some machines. 364 + # 365 + # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com 366 + # for a more details discussion 367 + # 368 + # select SYS_HAS_EARLY_PRINTK 362 369 select SYS_SUPPORTS_32BIT_KERNEL 363 370 select SYS_SUPPORTS_64BIT_KERNEL 364 371 select SYS_SUPPORTS_BIG_ENDIAN ··· 417 410 select SGI_HAS_ZILOG 418 411 select SWAP_IO_SPACE 419 412 select SYS_HAS_CPU_R10000 420 - select SYS_HAS_EARLY_PRINTK 413 + # 414 + # Disable EARLY_PRINTK for now since it leads to overwritten prom 415 + # memory during early boot on some machines. 416 + # 417 + # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com 418 + # for a more details discussion 419 + # 420 + # select SYS_HAS_EARLY_PRINTK 421 421 select SYS_SUPPORTS_64BIT_KERNEL 422 422 select SYS_SUPPORTS_BIG_ENDIAN 423 423 help