Re: New kernel broke my nic module

From: Spamless (Spamless_at_Nil.nil)
Date: 10/05/03


Date: 5 Oct 2003 03:26:20 -0400

In article <VP2SpNyJrzMZ-pn2-j9TXXcdmnH1C@adsl-63-207-135-60.dsl.sndg02.pacbell.net>, Mark Healey wrote:
> On Sat, 4 Oct 2003 01:56:47 UTC, Spamless <Spamless@Nil.nil> wrote:
>>
>> I would (assuming you have not recompiled the kernel, but use
>> RH's default of putting everything in modules)
>>
>> 1: see what's in modules.conf
>> 2: when it is running under the old configuration,
>> see what is running (use "lsmod")
>> 3: See if you even have that module in the new
>> kernel (look in the modules section in
>> /lib/modules/new_kernel_version)
>>
>> If, somehow, you don't have it, you may have
>> to compile it.
>
> I don't have it there. That is why I did the "rpmbuild --rebuild" and
> "rpm -Uvh" and got the errors that were included in the original post.

Is the module only available as an RPM or available as source code?

If only as an RPM, is it supposed to work with more than one
particular kernel version?

Make sure you have a boot/rescue disk (to be able to get in and remove
the copy if this prevents loading) (the first CD in the redhat package
should let you get in and remove it if this does not work).

If the module should work with other distributions, you can
try copying it from the /lib/modules/old_kernel to the
/lib/modules/new_kernel. If it was compiled for a particular
kernel, that is not likely to work. Try booting to the new
kernel and running depmod.

If it is available as source code and you the kernel source
tree (and headers) installed for the new kernel, you could
compile it.



Relevant Pages

  • Re: ATI Graphics Driver
    ... an RPM package but the RPM was unable to compile the required kernel ... module in the postinstall script but now I find that I can neither ... compile this myself ... ... Software] to be able to compile kernel stuff. ...
    (alt.os.linux.suse)
  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)
  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)