LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:34 PM   #16
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45

Quote:
Originally posted by saposmak
Thanks, I was able to fix the USB support (finally)... Now the only prob I have is my NVIDIA drivers....... apparently nvidia has released new drivers that work under kernel 2.6... heh if only I were able to install them

I need to install the source for kernel 2.6.5, but I can't find one for redhat... the only source i can find for redhat is kernel-source-2.6.5-1.347...

I'm not sure if that source will work for my kernel, since from what I know, the versions have to be equal
How did you install the kernel? If it was from source (i.e if you compiled it yourself) you should be able to install the nVidia driver without prblems... just in case check the build symlink in /lib/modules/2.6.5/:
Code:
ls -l /lib/modules/2.6.5/build
It should point to a directory like /usr/src/linux-2.6.5 or wherer you built the kernel from.
 
Old 05-03-2004, 09:48 AM   #17
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
I compiled the kernel myself from source. I checked the symbolic link in build, and it does indeed redirect to the directory I built the kernel from. Apparently there should be no problem installing the nvidia drivers. I attempted to install an older driver, and it gives me this error:

Kernel header file /lib/modules/2.6.5/build/include/linux/modversions.h
does not exist. The most likely reason for this is that the kernel header files in /lib/modules/2.6.5/build/include have not been configured.

Now, how do those header files get configured? I did a locate modversions.h and it exists in /usr/include/linux

should i copy this file into my .../linux-2.6.5/include/linux folder?
 
Old 05-03-2004, 12:05 PM   #18
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
I tried copying the modversions.h located in /usr/include/linux to my .../linux-2.6.5/include/linux folder and the installation seems to go fine, but right at the end, it halts and tells me the nvidia module could not be created, and it gives me no reason.

I'd have given up a long time if I wasn't so stubborn.

Last edited by saposmak; 05-03-2004 at 01:16 PM.
 
Old 05-03-2004, 01:21 PM   #19
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
Anyway, I was able to get X11 to work by downloading the patch to version 4496 (from www.minion.de) of the driver, applying the patch, installing the patched 4496 driver, and then installing the new version 5336 driver...

After I had installed the patched 4496 driver, X still would not start... I checked and double checked the XF86Config file to make sure that the apropriate driver was being called, and no progress. Then I tried installing the 5336 driver and now it works perfectly, with one tiny big problem: none of my games run (i have unreal tournament and quake III).... not even tux racer runs. Anyway, I'll figure it out later... thanks Thetargos for your help.

Note: I did have to copy the modversions.h to my kernel source folder in order for the driver to be able to install.
 
Old 05-03-2004, 06:36 PM   #20
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Question, did you issue a make clean or make mrproper when done building your kernel? If so, to restore the modversions.h (which is actually generated) is to start either of the confiugration tools of the kernel (menuconfig, xconfig or gconfig, etc). That file is written at compile time, usually make clean will not erase it, but make mrproper will.
 
Old 05-04-2004, 07:25 PM   #21
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
i did a make clean after compiling the kernel apparently I should've also done a make mrproper... I'll do it next time, thanks a lot........ but anyway I finally got it to work... the games wouldn't run because

1) XFree86 wasn't loading glx (although ¨load glx¨ was in the XF86Config file)... to fix this I uninstalled the latest NVIDIA driver 5336 and installed the 4496 driver (I installed it using make install, because the nvidia-installer app wouldn't work.... ) and then it worked... glx got loaded.

2) Because OpenGL couldn't run because of the new tls feature of the graphics drivers....... anyway, I just renamed the symbolic links in the /usr/lib/tls folder and voila, unreal tournament is on!
 
Old 05-05-2004, 01:51 PM   #22
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Good to hear that you got it working!
 
Old 05-06-2004, 12:03 AM   #23
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
By the way, isn't kernel 2.6.5 supposed to be able to write to ntfs? i built that feature into my kernel, and whenever I try to write to my ntfs partition, it says ¨Permission denied¨ or something like that...... I've tried mounting it in rw mode manually, but nothing... I even changed permisions of the device so that it can be read and written to... Still no progress... heh if it's not one problem, it's another, or like they say here,
si no es Juan, es Juana, y si no, es su hermana
 
Old 05-06-2004, 01:41 AM   #24
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Quote:
Originally posted by saposmak

si no es Juan, es Juana, y si no, es su hermana
:lol:
We say that here as Si no es chana es juana, y si no, su hermana :lol:

Anyway, read carefully what the NTFS kernel drivers says about NTFS writting...
 
Old 05-06-2004, 04:03 AM   #25
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
Hi guys,

I've just upgraded my existing RH9 kernel (2.4.20-8) to 2.6.3...

here are the errors seen during boot time (i got it from boot.log, is this the correct file to refer to?):
** mount: /proc/bus/usb already mounted or /proc/bus/usb busy
** mount: mount: according to mtab, usbdevfs is already mounted on /proc/bus/usb
** netfs: Mounting other filesystems: failed

I edited ftab and added /proc/bus/usb..... I think there's something similar in mtab..... which file should I modify?

My IPTables also Failed..... saw something like "IPTables need upgrading"
 
Old 05-06-2004, 04:15 AM   #26
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
OK, I've deleted the line I added in "fstab" and added the if statement into the "rc.sysinit file", its working now! ;D

but I still have problems with "usb-uhci" or something like that.... also IPTables..... any suggestions one what I can do?
 
Old 05-06-2004, 05:06 AM   #27
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Quote:
Originally posted by kenji1903
OK, I've deleted the line I added in "fstab" and added the if statement into the "rc.sysinit file", its working now! ;D

but I still have problems with "usb-uhci" or something like that.... also IPTables..... any suggestions one what I can do?
if you compiled the kernel, you may configure every netfilter as modules, that way you'll ensure that iptables will be loaded correctly, is a rather rude but effective work around. What's the problem with the usb-uhci? (rembember that in 2.6 that module is called uhci-hcd, make sure you have that name in /etc/modprobe.conf as one of the usb-controller aliases )
 
Old 05-06-2004, 06:41 AM   #28
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
Cheers for the prompt reply!

Looks like I have to recompile the kernel again..... I'll do that now

about the usb-uhci, i ahve these 2 lines in my modprobe.conf:
* alias usb-controller ehci-hcd
* alias usb-controller1 usb-uhci

I'm just wondering..... I shouldn't have 2 controller at the same time, should I?
 
Old 05-06-2004, 07:21 AM   #29
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
hmm..... this is the second time I've experienced this.....
I type "make menuconfig" and select an option like "loadable module support", but when I try to exit, the terminal hangs..... did I mess up something again?
 
Old 05-06-2004, 10:46 AM   #30
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
you should change the alias usb-controlleer1 usb-uhci to uhci-hcd

I had a very similar problem that was solved that way.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
RedHat kernel compiling tarballedtux Linux - General 3 05-23-2002 06:56 AM
Help on Compiling the Linux Kernel FOR Redhat 7.2! Alinuxnoob Linux - Software 4 02-21-2002 11:51 PM
Redhat 7.2: Kernel Compiling wildbillm Linux - General 3 11-10-2001 01:53 PM
Compiling new kernel with Redhat 7.1 Sylhouette Linux - General 5 10-18-2001 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration