Heiko Carstens wrote:
How about the patch below? Since I would expect that this is going to happen a lot of times as soon as some distro starts to compile the kernel with e.g. only z9-109 and higher support we indeed need a magic number here. Otherwise we can't tell immediately what's going wrong.--- arch/s390/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.5/arch/s390/kernel/head.S =================================================================== --- linux-2.5.orig/arch/s390/kernel/head.S +++ linux-2.5/arch/s390/kernel/head.S @@ -486,7 +486,7 @@ startup:basr %r13,0 # get base jne 3f lpsw 1f-.LPG0(13) # machine type not good enough, crash .align 16 -1: .long 0x000a0000,0x00000000 +1: .long 0x000a0000,0x8badcccc 2: #if defined(CONFIG_MARCH_Z10) .short 0x9672, 0x2064, 0x2066, 0x2084, 0x2086, 0x2094, 0x2096
I was looking into it and came around with the exact same patch - only with a different magic - but I'll let you all decide on that ! So yes, that looks great ! Thanks, --Ivan ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
smime.p7s
Description: S/MIME Cryptographic Signature
