Walt Mankowski on 26 Jan 2005 17:02:36 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] kernel 2.6 and /dev/psaux


On Wed, Jan 26, 2005 at 10:47:34AM -0500, Jeff Abrahamson wrote:
> I just upgraded to kernel 2.6.8 from 2.4.27.  But now I can't use X.
> The issue is that /dev/mouse isn't a valid device.  Currently it
> points to /dev/psaux.
> 
> Googling (in console-mode) I found that many people found that there
> troubles ended with
> 
>     ln -s /dev/input/mice /dev/mouse
> 
> But /dev/input does not exist on my machine.
> 
> Any suggestions?

I had a similar problem when I upgraded.  I don't remember everything
I had to change, but
http://www.alexhudson.com/documents/linux-2_6-upgrade reminded me of
one thing.  If you have a ps/2 mouse, you need to make sure that the
psmouse module is being loaded.  You can do that on the commandline by
running "modprobe psmouse".  If that fixes the problem, and you're
running Debian, you can have it load the psmouse module automatically
on reboot by added "psmouse" to /etc/modules.

> A related issue is that I note that dist-upgrade now wants to install
> a new 2.4 kernel.  If I let it do that, I think it is going to want to
> modify the /vmlinuz* links, which would take me back to kernel 2.4
> next time I boot.  Any idea how to stop that from happening?

You can easily manage multiple kernels in /etc/lilo.conf.  Here's a
section from mine that does it:

default=linux-2.6.8-1

image=/boot/vmlinuz-2.4.18-bf2.4
        label=Linux
        read-only

image=/boot/vmlinuz-2.4.25-1-686
        label=linux-2.4.25-1
        read-only
        initrd=/boot/initrd.img-2.4.25-1-686

image=/boot/vmlinuz-2.6.8-1-686
        label=linux-2.6.8-1
        read-only
        initrd=/boot/initrd.img-2.6.8-1-686

image=/boot/vmlinuz-2.6.8-2-686
        label=linux-2.6.8-2
        read-only
        initrd=/boot/initrd.img-2.6.8-2-686

Note that the key is to set the image to /boot/vmlinuz* instead of
/vmlinuz.

Hope that helps...

Walt

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug