Bug 50453 - XFree86-4.0.3-5 RPM was compiled against wrong kernel
XFree86-4.0.3-5 RPM was compiled against wrong kernel
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-31 07:32 EDT by Alex Stewart
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-31 07:52:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alex Stewart 2001-07-31 07:32:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:
The XFree86 RPM shipped with 7.1 was apparently compiled on a machine
running a 2.2 kernel, instead of the 2.4 kernel that ships with it.  A
result of this is that the wacom tablet driver does not support USB devices
properly.  Simply rebuilding the RPM under a 2.4 kernel fixes this problem.

How reproducible:
Always

Steps to Reproduce:
1.  Configure wacom driver as described in the Wacom Tablet HOWTO
(http://www.linuxdoc.org/HOWTO/Wacom-Tablet-HOWTO.html)
2.  Add 'Option "USB" "on"' to the appropriate "InputDevice" section of
XF86Config-4
3.  Start X.
	

Actual Results:  wacom driver complains that USB support is not available
for the platform.

Additional info:
Comment 1 Mike A. Harris 2001-07-31 07:52:44 EDT
The running kernel on the build system should not ever in any case
have any effect on any software built using that kernel.  If it does,
then it is definitely a software build script/makefile/foo flaw.  You
should never need to *run* a certain kernel to build anything ever.

If this is indeed true, the problem almost must be the X build using
uname -r to obtain the running kernel name during build which is
entirely invalid data.

Looking into this..
Comment 2 Mike A. Harris 2001-07-31 08:21:58 EDT
The USB code in the wacom driver is conditionally enabled in the
source code with #ifdef LINUX_INPUT which is defined in the Wacom
Imakefile if HasLinuxInput is enabled.  For the Linux platform,
HasLinuxInput is overriden in linux.cf to be YES only if the
build system kernel is 2.4.x or greater.  This IMHO is very bad
behaviour and I've reported it upstream to XFree86.  I have forced
the HasLinuxInput option to YES in our specfile's host.def now.
Future 4.0.3 builds (-25 and later) as well as 4.1.0 builds (0.10.0 and
later) will have this fix included.  The 4.1.0 will appear in rawhide
in a week or so.

Note You need to log in before you can comment on or make changes to this bug.