Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 65076

Summary: /usr/include/asm/timex.h includes asm/msr.h
Product: [Retired] Red Hat Linux Reporter: Nathan G. Grennan <redhat-bugzilla>
Component: glibc-kernheadersAssignee: Arjan van de Ven <arjanv>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: laboina, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-11 22:32:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan G. Grennan 2002-05-17 03:17:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.1 (X11; Linux i686; U;) Gecko/20020510

Description of problem:
/usr/include/asm/timex.h has #include asm/msr.h   in it, but msr.h is in
/usr/i386-glibc21-linux/include/asm/msr.h
/usr/src/linux-2.4.18-4/include/asm-i386/msr.h
and so it is unable to meet the include.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. less /usr/include/asm/timex.h
2. ls /usr/include/asm/msr.h
3. locate msr.h
	

Actual Results:  No such file or directory

and

/usr/i386-glibc21-linux/include/asm/msr.h
/usr/src/linux-2.4.18-4/include/asm-i386/msr.h

Expected Results:  /usr/include/asm/msr.h

and

/usr/i386-glibc21-linux/include/asm/msr.h
/usr/include/asm/msr.h
/usr/src/linux-2.4.18-4/include/asm-i386/msr.h

Additional info:

Comment 1 David Kaplan 2002-07-11 22:32:20 UTC
I have similar problems.  The header /usr/include/asm/pgtable.h includes a
asm/fixmap.h.  This is not in glibc-kernheaders so programs that include these
headers fail.  This is causing me to be unable to compile the NVIDIA_kernel src
rpm for my video card with the 2.4.18-5 kernel.


Comment 2 Arjan van de Ven 2002-07-12 07:40:25 UTC
dmkaplan:
That is incorrect: the reason why your nvidia crap doesn't compile is because
you use the -> GLIBC <- headers to compile kernel code. You need to use the
kernel headers as shipped in the kernel-source rpm.

Comment 3 Need Real Name 2002-10-07 06:35:45 UTC
i don't have the header file msr.h in my red hat 7.3 and i cannot configure my 
ethernet device because of this. Does anybody knows if that header file isn't 
in this linux version, or if the reason is a bad instalation?

Thank you

Comment 4 Arjan van de Ven 2002-10-07 08:03:50 UTC
msr.h has nothing to do with ethernet devices so your question makes zero sense.

Comment 5 Need Real Name 2002-10-11 19:42:18 UTC
excuse me, i have not explained well and I am new in Linux. I have the driver 
for myson mtd-803 pci ethernet device but when i try to make it, red hat 
doesn't find asm/msr.h because is not in /usr/include/asm/msr.h (where the 
driver searchs) and it is in /usr/src/linux-2.4.18-3/include/asm_i386/msr.h 
or /usr/i386-glibc21-linux/include/asm/msr.h. How can i have success installing 
the driver?. Do I have to compile a new Kernel or can I avoid it anywhere. 
Have I done anything bad when I,ve installed linux:
Thank you.

Comment 6 Arjan van de Ven 2002-10-11 19:46:02 UTC
laboina:
your problem is that the Makefile of the driver needs to add
-I/lib/modules/`uname -r`/build/include

to the CFLAGS line

Comment 7 Need Real Name 2002-11-07 15:43:40 UTC
did you install linux kernel sorce ?
there are in it.