Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

Linux 2.6, again

I put Linux 2.6 on my desktop at work out of necessity last week or so (needed ALSA for my sound, and that was already in 2.6), but I just finally got around to putting 2.6 on my home computer. I'd been putting this off because I feared netboot (NFS on root) troubles, after reading on the kernel list ages back that they were gonna drop it, and require users to do in userspace from a RAM disk image, then doing a pivot_root. But, fortunately they didn't remove it, and all went well.

In fact, all went better than well. I observed something pretty odd: The /dev/input/mice which was before just for USB mice now is a generic interface to all mice. I forgot to include USB UHCI support (the config name changed and I didn't notice), so when X started, my mouse worked, except for the scrollwheel. Turns out my BIOS was faking the USB mouse, making it look like a PS/2 device, which the kernel knew about, and reported the events down /dev/input/mice, which my X config was still setup to read. The mouse resolution sucked, but it worked. Rebooted after adding UHCI support and it's all smooth and I can scroll. Very cool.

Half-way through this excercise I justified it as work: all the LJ web nodes netboot in the exact same config as my home computer, so if it works here, the LJ web nodes are ready for 2.6. (which is actually convenient, since epoll is included in 2.6 and we wouldn't have to keep applying patches)
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments