installing kernel 2.6.4 on (not over) 2.4
Michal Zeravik
michalz at olomouc.com
Tue Mar 16 20:18:47 UTC 2004
Ok, I removed XFree86-Mesa-libGL-4.3.0-55 and what should I also remove
XFree86-Mesa-libGLU-4.3.0-55 if I'm using nvidia drivers with kernel2.6?
michaz
>>>> Well, rpm 2.6. is installed with deps solved. I've rebuild nvidia
>>>> glx video driver
>>>> but X hangs my computer. There were some mouse and keyb failures.
>>>> Any ideas?
>>>>
>>> You might need to edit your /etc/X11/XF86Config and change the
>>> reference to "/dev/psaux" to "/dev/input/mice"
>>>
>>> Section "InputDevice"
>>> Identifier "Mouse0"
>>> Driver "mouse"
>>> Option "Protocol" "IMPS/2"
>>> Option "Device" "/dev/psaux" # change this to
>>> "/dev/input/mice" for later versions of the 2.6 kernel.
>>>
>> Ok, It's done. I've rebuild nvidia drivers for new kernel but X still
>> completely hangs computer.
>> Don't know what doest it mean.
>>
>>> If you are running both the 2.4 and the 2.6 kernel for different
>>> reasons. You will either have to edit the XF86Config file when
>>> changing from one kernel to the other version or use a symlink from
>>> "/dev/mouse" to point to "/dev/psaux" for the 2.4 kernel and to
>>> "/dev/input/mice" for the 2.6 kernel.
>>>
>> I don't understand. How can I do one symlink to two destinations?
>
>
> You'd just have /dev/mouse in your XF86Config fle and would have to
> run a script to change where the symlink points to, depending on the
> kernel version that you are running. Personally, I just log in as
> root, run mc, then edit the XF86Config file and change the line to the
> correct mouse device. On my system, /dev/mouse is a symlink to
> /dev/psaux. I use /dev/psaux instead of referencing the /dev/mouse
> symlink.
>
> I was thinking that you might be able to come up with a script that
> echoes the computer that you are running and sets the symlink
> /dev/mouse to point to the correct real device driver. I guess you
> could echo the output of "uname -r" and change the symlink based on
> the output. (2.4* or 2.6* or something)
>
> About the nvidia driver locking up X, did you rpm -e the mesa drivers
> before you installed the nvidia drivers? I have a computer that has
> nvidia video. I never tried to put Linux on it because of the closed
> drivers though. I seem to remember that the mesa drivers supplied with
> XFree86 conflict with library files or something. You might want to
> browse the list archives for the details. I believe it was discussed
> at length a month or so ago.
>
> Good luck on getting the nvidia driver to work.
>
> Jim
More information about the fedora-list
mailing list