LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-21-2006, 08:28 PM   #1
hlstriker
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Kernel upgrade problem (2.6.16.17)


Hi everyone, I am new to these forums, and hoping that someone can help me!

I got my kernel upgraded to 2.6.16.17, but now my USB optical mouse doesn't move or light up. The thing is, when I click one of the buttons on the mouse, my mouse will light up like it usually does when it's on. Also, my monitor is blank when it is booting up, but when it is time to log a user in, it comes back on. I looked through the menuconfig to see if I could find anything to change for those 2 problems, but I couldn't find anything in there that I thought might change it (I am pretty new to Linux, so I don't really know what i'm looking for anyhow).

Here is what I did to upgrade my kernel...
make menuconfig
make
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/2.6.16.17
pico /etc/lilo.conf
lilo -v

The new kernel seems to be working fine except for the 2 problems above. Also my sound doesn't seem to be working anymore either. I will deal with that later though.

If anyone could help me, please do! Thanks!
 
Old 05-21-2006, 08:37 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Sounds like you botched the configuration.

Try copying the config file from your old kernel to /path/to/your/new/src/tree/linux-2.6.16.17/.config

Then run "make oldconfig" in place of "make menuconfig". Everything else appears to be in order.
 
Old 05-21-2006, 08:55 PM   #3
hlstriker
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok I will try that, while I try that, here is more info about what is happening...

It seems that only my X is working. When I try to CTRL + ALT + 6, it stays blank instead of going to the text only login screen like it usually does. CTRL + ALT + 7 works though, which is my X.
 
Old 05-21-2006, 09:36 PM   #4
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 440

Rep: Reputation: 32
can you post the complete listing of your lilo.conf?
 
Old 05-22-2006, 12:34 AM   #5
milanc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
Code:
make menuconfig
make
make install modules_install
In menuconfig:
Use builtin for everything you need except if some app needs it built as a module (irda-utils, for example)
Select only what you need, it speeds everything up
TIP: use 'lspci' to know what hardware you are using. Is your computer a desktop or a laptop/tablet pc?
Device drivers/Input device support/:
select "Mouse interface", "Event interface", "Mouse support"...
Device drivers/USB/:
select your HCI (OHCI or UHCI? If you have EHCI (USB2), you normally still need one of those for USB1)
select USB HID (full HID)
etc...
Processor type and features: select your processor, don't leave the default choice, it's not optimised

Last edited by milanc; 05-22-2006 at 12:35 AM.
 
Old 05-22-2006, 07:39 AM   #6
hlstriker
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
@adityavpratap:
I am at school right now, I will post my lilo.conf when I get home.

@milanc:
Quote:
Originally Posted by milanc
Use builtin for everything you need except if some app needs it built as a module (irda-utils, for example)
What is builtin? Also, what is the difference between a module and compiled?

I am on a desktop btw.

Last edited by hlstriker; 05-22-2006 at 11:35 AM.
 
Old 05-23-2006, 05:40 AM   #7
milanc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
Wink

Quote:
What is builtin? Also, what is the difference between a module and compiled?
Compiled-in (built-in): always loaded in your kernel, for example your hard disk and your root filesystem driver must be compiled-in if you don't use an initrd (initial ramdisk, sets up a few things, loads some modules, and boots the normal system)
It shows as <*> in menuconfig.

Modules are drivers that get loaded only when you need them, so that they don't clutter up your whole memory...
In menuconfig: <M>

Tell me what computer you use (brand, model name AND/OR chipset, graphics adapter, processor)

Last edited by milanc; 05-23-2006 at 05:41 AM.
 
Old 05-23-2006, 03:12 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
From this description, we pretty-much know that it isn't an issue with Lilo or Grub: the system is booting, after all.

The first thing to review would be /var/log/messages (whatever it's called on your system), and the output of the dmesg command. If any glitch occurred at startup, someone logged it somewhere, and the logfile's in /var/log.

Next, we must determine if the hardware sees the device. Again this partly depends on your system, but if you don't see a file called /dev/input/mice there's a good chance that the device-driver support needed to control that device doesn't exist. But if you do see it, then the problem is most likely with XWindows or XOrg.

As a way of getting out of this mess... start by booting your old kernel. Then completely remake the new one. The way I do this is...
  • mv .config foobar (so we don't lose that file when we...)
  • make distclean (remove every scrap of any "old" files.)
  • mv foobar .config (now put the config-file back so we can...)
  • make (recompile everything...)
  • make modules_install (...)
  • make install (... and install it)
The key step here is make distclean, which will ensure that absolutely all of the old files relating to the kernel (caution! including .config!) (hence the funny-business with a file named [say...] "foobar") are removed. Thus, when you recompile the kernel, everything is recompiled: nothing is "residue."

If you then find that the problem persists, make oldconfig followed by make menuconfig (after making a backup copy of your existing .config!) will help you check to make sure that all of the device-support you expected to see is still there. The flag-settings in the config-file do change from one release to the next.

I always keep a backup copy, individually named, of each and every .config file I have ever used. It's stored in a subdirectory of /root and it's read-only. It can be very handy to be able to diff the old and new versions of the config to determine, conclusively, exactly what has changed.
 
  


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
Kernel Upgrade Problem. Rexversusu Debian 4 09-23-2004 05:43 PM
Kernel upgrade problem. Ten-shin Slackware 8 06-30-2004 02:20 PM
Problem when upgrade to kernel 2.4.24 little_ball Slackware 19 01-08-2004 06:43 PM
kernel upgrade problem andy18 Linux - Software 2 08-20-2003 04:24 PM
Kernel Upgrade Problem ppuru Linux - Software 1 07-28-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:32 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