On 4/15/09 5:49 AM, "Heiko Carstens" <[email protected]> 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.
Rather than testing for specific model numbers, why don't you test for specific capabilities that you need/want? That way you get a exception that you can handle and actually issue a useful message or load a specific PSW (similar to the way things work on other OSes), rather than just dying in a cryptic way. If I remember, the response from STSI should give you whether a specific set of capabilities is present, and then you don't care what weird-ass things the marketing people do. ---------------------------------------------------------------------- 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
