[TriLUG] please help

Dan Chen crimsun at email.unc.edu
Mon May 6 09:15:51 EDT 2002


On Sun, May 05, 2002 at 11:03:39PM -0400, Inor Kuo wrote:
>   I am fairly new to linux.  I have installed redhat 7.2 and I tried to
> upgrade the kernel from 2.4.7-10 to 2.4.18.  I unpacked the source for
> 2.4.18 in /usr/src/linux and did a make clean, make xconfig, make dep,
> make, make bzImage, make modules, make install, and make modules

Generally Red Hat packs their kernel sources with forward- and
back-ported patches. A rawhide kernel might be more what you're looking
for. With that in mind...

Usually make mrproper xconfig dep bzImage modules modules_install
will "do the right thing." You might also want to look into the make rpm
command that has been in mainline kernels for a couple revisions. It
generates a kernel rpm that you can rpm -U.

> install.  I then edited lilo.conf to boot the new kernel.  When I try to

Hrm, I thought 7.2 came default w/ GRUB? Did you choose to install LILO?
If you did the latter, did you remember to rerun /sbin/lilo -v ?

> boot the new kernel, the system seems to think that my Logitech usb
> wheel mouse has been removed, and x server does not start.  How do I get
> redhat 7.2 to work with the new kernel?

Your best bet is to boot into the new kernel, type dmesg, and look
through the screen for anything odd/suspicious. The X server log
(depending on if you installed v4+) can also be combed for
errors/warnings; it's in /var/log/XFree86.0.log.

Just a side note: often hardware "issues" like these can be traced to
misconfigurations. Perhaps you didn't copy your original kernel .config
from the default Red Hat install into the new /usr/src/linux and run
make oldconfig? (in which case you don't want to run mrproper, just make
oldconfig xconfig dep rpm)

-- 
Dan Chen                 crimsun at email.unc.edu
GPG key:   www.unc.edu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020506/271c187e/attachment.pgp>


More information about the TriLUG mailing list