Bug 4160

Summary: Altix kernel version check doesn't allow newer kernels than 2.6.11
Product: xorg Reporter: Erik Jacobson <erikj>
Component: Server/GeneralAssignee: Adam Jackson <ajax>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: edwardsg, ekunze
Version: git   
Hardware: SGI   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
fix version check
none
altix-version-check-2.patch none

Description Erik Jacobson 2005-08-20 15:51:04 UTC
I built xorg from latest CVS to try this out on an altix-based Prism deskside
machine.  When I started the X server, I got the error message
"Kernel 2.6.11 or better needed for Altix support"

I was running a version of 2.6.12.  

It appears there is just a small problem with this file:
programs/Xserver/hw/xfree86/os-support/linux/lnx_ia64.c

On line 54, various checks are done to see if the system is really an Altix.
Those are fine.  But we seem to check if the kernel verson is equal to
2.6.11 rather than >= :

         if (!strstr(utsName.release, "2.6.11")) {
            ErrorF("Kernel 2.6.11 or better needed for Altix support\n");
            return NONE_CHIPSET;
Comment 1 Greg Edwards 2005-08-21 07:01:22 UTC
Created attachment 2960 [details] [review]
fix version check
Comment 2 Adam Jackson 2005-08-26 13:06:08 UTC
Created attachment 3047 [details] [review]
altix-version-check-2.patch

close, but ascii string collating order puts 2.6.9 ahead of 2.6.11, so that
check was broken.  this one works though.
Comment 3 Adam Jackson 2005-08-26 13:08:30 UTC
fixed in head, thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.