Hello,
I can't boot Linux kernels built for z9 and better machines (the kernel
config contains CONFIG_MARCH_Z9_109=y) in Hercules (both 3.06 and recent
trunk). The Linux kernel startup code retrieves a result of STFL(E) and
compares it to a set for the selected hardware level, please see
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=a…
for the actual assembly code.
What I was able to find with debug prints of the stfl_data is, that
s390_stfl_data and z900_stfl_data are different and the kernel code
check the s390 version (it's run before switching to 64-mode??) and it
presents too narrow list of available facilities.
The log from the IPL look like, ARCHMODE is set ESAME in my config file:
...
HHCCP003I CPU0000 architecture mode z/Arch
HHCPN001I Control panel thread started: tid=7F8AAFBBD6F0, pid=16520
HHCAO001I Hercules Automatic Operator thread started;
tid=7F8AA9E4B950, pri=0, pid=16520
ipl c
HHCCP007I CPU0000 architecture mode set to ESA/390
HHCCP048I 000C:CCW=02600050 00B99240=>00000000 00000000 00000000 00000000 ................
HHCCP075I 000C:Stat=0E00 Count=0050 =>00000000 00000000 00000000 00000000 ................
HHCCP076I 000C:Sense=40100000 00000000 00000000 00000000 00000000 00000000
HHCCP077I 000C:Sense=INTREQ MSG
HHCCP048I 000C:CCW=02600050 01A0AB48=>00000000 00000000 00000000 00000000 ................
HHCCP075I 000C:Stat=0E00 Count=0050 =>00000000 00000000 00000000 00000000 ................
HHCCP076I 000C:Sense=40100000 00000000 00000000 00000000 00000000 00000000
HHCCP077I 000C:Sense=INTREQ MSG
HHCCP048I 000C:CCW=02600050 02C5A1B8=>00000000 00000000 00000000 00000000 ................
HHCCP075I 000C:Stat=0E00 Count=0050 =>00000000 00000000 00000000 00000000 ................
HHCCP076I 000C:Sense=40100000 00000000 00000000 00000000 00000000 00000000
HHCCP077I 000C:Sense=INTREQ MSG
s390_stfl_data: c1 00 ca 82 00 40 00 00
z900_stfl_data: f3 70 fe fb f0 70 00 00
s390_stfl_data: c1 00 ca 82 00 40 00 00
z900_stfl_data: f3 70 fe fb f0 70 00 00
The Linux kernel requires more recent processor hardware
HHCCP011I CPU0000: Disabled wait state
PSW=000A0000 8BADCCCC
Dan