Disable EARLY_PRINTK on IP22 to make the system boot
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.
arch/mips/Kconfig +3 -1
@@ -358,7 +358,9 @@ config SGI_IP22 select SWAP_IO_SPACE select SYS_HAS_CPU_R4X00 select SYS_HAS_CPU_R5000 - select SYS_HAS_EARLY_PRINTK +# Disable EARLY_PRINTK for now since it leads to overwritten prom memory +# during early boot on some machines. +# select SYS_HAS_EARLY_PRINTK select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_64BIT_KERNEL select SYS_SUPPORTS_BIG_ENDIAN
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 5 lines · Martin Michlmayr
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_PRINTKand overwritten prom memory during early boot". Since there's no fix yet, disableCONFIG_EARLY_PRINTKfor now.
Never experienced anything like that, although I'm quite extensively using IP22 with recent kernels. Any details on the hangs?
Thanks,
Dmitri
Quoted 24 lines
Signed-off-by Martin Michlmayr <[email protected]>arch/mips/Kconfig +3
-2@@ -358,7 +358,9 @@ config SGI_IP22 select SWAP_IO_SPACE select SYS_HAS_CPU_R4X00 select SYS_HAS_CPU_R5000 - select SYS_HAS_EARLY_PRINTK +# Disable EARLY_PRINTK for now since it leads to overwritten prom memory +# during early boot on some machines. +# select SYS_HAS_EARLY_PRINTK select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_64BIT_KERNEL select SYS_SUPPORTS_BIG_ENDIAN --Martin Michlmayr
http://www.cyrius.com/
Quoted 8 lines · Dmitri Vorobiev
Quoted 5 lines
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_PRINTKand overwritten prom memory during early boot". Since there's no fix yet, disableCONFIG_EARLY_PRINTKfor now.Never experienced anything like that, although I'm quite extensively using IP22 with recent kernels. Any details on the hangs?
It doesn't happen on all machines. It has been reported e.g. with an Indigo2. See http://bugs.debian.org/507557
Since Thomas Bogendoerfer disagnosed the problem, he should be able to say more.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 7 lines · Martin Michlmayr
Quoted 6 lines · Dmitri Vorobiev
Quoted 5 lines
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_PRINTKand overwritten prom memory during early boot". Since there's no fix yet, disableCONFIG_EARLY_PRINTKfor now.
Quoted 5 lines
Quoted 2 lines
Never experienced anything like that, although I'm quite extensively using IP22 with recent kernels. Any details on the hangs?
It doesn't happen on all machines. It has been reported e.g. with an Indigo2. See http://bugs.debian.org/507557
Interesting, thanks. Good to know that, since one of my machines is Indigo2.
Quoted 3 lines
Since Thomas Bogendoerfer disagnosed the problem, he should be able to say more.
OK.
Dmitri
Quoted 5 lines
--
Martin Michlmayr
http://www.cyrius.com/
Thomas Bogendoerfer
maintainerQuoted 8 lines · Dmitri Vorobiev
Quoted 7 lines · Martin Michlmayr
Quoted 6 lines · Dmitri Vorobiev
Quoted 5 lines
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_PRINTKand overwritten prom memory during early boot". Since there's no fix yet, disableCONFIG_EARLY_PRINTKfor now.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Never experienced anything like that, although I'm quite extensively using IP22 with recent kernels. Any details on the hangs?
It doesn't happen on all machines. It has been reported e.g. with an Indigo2. See http://bugs.debian.org/507557
Interesting, thanks. Good to know that, since one of my machines is Indigo2.
I guess is depending on RPOM version and installed memory. I haven't figured out exactly which parts get overwritten, but since we completely ignore ARCS reservered memory and still use ARCS prom calls, it's not a real safe game we are doing.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ]
Quoted 7 lines · Martin Michlmayr
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_PRINTKand overwritten prom memory during early boot". Since there's no fix yet, disableCONFIG_EARLY_PRINTKfor now.Signed-off-by Martin Michlmayr <[email protected]>
Patch looks ok but I think IP28 needs the same change applied. Will post a new patch in separate mail.
Ralf