xfs
[Top] [All Lists]

Re: xfs kernel src

Subject: Re: xfs kernel src
From: "D. Stimits" <stimits@xxxxxxxxxx>
Date: Thu, 21 Jun 2001 22:38:20 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <000701c0fac7$66291c20$0201a8c0@powerhouse>
Reply-to: stimits@xxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Stephen Parker wrote:
> 
> I recently installed Linux xfs using the install cd for Redhat7.1. I use an
> Nvidia card and tried to compile the driver (using
> SYSINCLUDE=/usr/src/linux-2.4/include). I keep getting unresolved symbols.
> Is the xfs kernel src significantly different than the normal 2.4.2
> distribution? I tried to install the nvidia driver the easy way and the long
> way. I get the same results, unresolved symbols. I am assuming that the
> correct kernel tree was installed to my system even though I used the xfs
> install cd.
> 
> I have to imagine someone there used the xfs install on an smp system and
> then upgraded the nvidia driver to the hardware accelerated one from their
> site. Of course, I could be wrong. I am somewhat of a neophyte to all of
> this. But I have used a compiler before and I get the general idea of what's
> going on, things don't match up. I used the rpm install first, which failed,
> then went on to use the src tarball. I know you guys aren't responsible for
> fixing problems with other people's hardware, but was curious to see if
> anyone in-house came across this problem.
> 
> Thanks,
> Stephen Parker

One snag you might be running into is that RH 7.1 makes directories
/usr/include/asm, /usr/include/linux, and /usr/include/scsi hard copies
of their kernel. You probably want to cd to /usr/include, and rename
(mv) asm, linux, and scsi, to some backup. Then also expand on their
symbolic links at /usr/src/. Currently, they create a sym link from
linux-2.4.2-whatever to linux-2.4; you want to make an additional link
from linux-2.4 to linux:
cd /usr/src
ln -s linux-2.4 linux

Then move the original kernel source over for reference, something like
linux-2.4.2-something, change the sym link to point at your xfs source,
e.g., install the xfs source as directory /usr/src/linux-2.4.5-xfs, and
add this sym link:
cd /usr/src
ln -s linux-2.4.5-xfs linux-2.4

Then make sym links at /usr/include to point at your current source:
cd /usr/include
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi

Until you do that, you don't know you are compiling the NVidia drivers
against the XFS source.

D. Stimits, stimits@xxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>