Bug 4160 - Altix kernel version check doesn't allow newer kernels than 2.6.11
Summary: Altix kernel version check doesn't allow newer kernels than 2.6.11
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: SGI Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 15:51 UTC by Erik Jacobson
Modified: 2005-08-25 20:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
fix version check (471 bytes, patch)
2005-08-21 07:01 UTC, Greg Edwards
no flags Details | Splinter Review
altix-version-check-2.patch (1.39 KB, patch)
2005-08-26 13:06 UTC, Adam Jackson
no flags Details | Splinter Review

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.