RPM 'error' and modules won't load

RPM 'error' and modules won't load

Post by M.W. van der Mole » Wed, 02 Jun 1999 04:00:00



I have a problem with rpm.
I installed RedHat 5.2 with kernel 2.0.36-0.7
Then I downloaded and installed the
kernel-source-2.2.5-15-i386.rpm package. But after
compiling and installing rpm -q kernel still reports
kernel-2.0.36-0.7 ! This causes dependancies for some
other pachages, which require kernel >= 2.2.0 to fail.

rpm -bb kernel-source-2.2.5-15-i386.rpm won't work
because it is not a source package. How can I change
the kernel version rpm thinks I have ? I haven't found
a solution in the rpm man pages or HOWTO...

Secondly after I configured, made and installed the new
kernel and modules I found a problem:
the kernel works fine and all fs related modules load
and function. But all hardware related modules won't
load (parport, isdn, ethernet). They give errors:

Unresolved symbol: __global_sti
Unresolved symbol: __global_cli
and some more..

I found these functions in arch/i386/irq.c in the kernel
source tree. This file is compiled and linked into
kernel.o which finally goes into vmlinux/vmlinuz.
They _do_ appear in System.map, so I don't understand
why they can't be resolved...

Some details: RedHat 5.2, upgraded with:
glibc-2.1.1-6
modutils-2.1.121-4
binutils-2.9.1.0.23-1
kernel-source-2.2.5-15
kernel-headers-2.2.5-15
+ some more...
on a SMP P_II system.

Does anyone have a suggestion ?

Thanks a lot in advance.
Kind regards,

Matthijs van der Molen

  m.w.vandermolen.vcf
< 1K Download
 
 
 

RPM 'error' and modules won't load

Post by Stuart R. Full » Wed, 02 Jun 1999 04:00:00



: This is a multi-part message in MIME format.
: --------------29AA1090249A34042ACCD7D7
: Content-Type: text/plain; charset=us-ascii
: Content-Transfer-Encoding: 7bit
:
: I have a problem with rpm.
: I installed RedHat 5.2 with kernel 2.0.36-0.7
: Then I downloaded and installed the
: kernel-source-2.2.5-15-i386.rpm package. But after
: compiling and installing rpm -q kernel still reports
: kernel-2.0.36-0.7 ! This causes dependancies for some
: other pachages, which require kernel >= 2.2.0 to fail.
:
: rpm -bb kernel-source-2.2.5-15-i386.rpm won't work
: because it is not a source package. How can I change
: the kernel version rpm thinks I have ? I haven't found
: a solution in the rpm man pages or HOWTO...

The file "kernel-2.0.36-0.7.i386.rpm" which was previously installed contains
the Linux kernel and some other bits and pieces.  The package name for this is
"kernel".

The file "kernel-source-2.2.5-15-i386.rpm" contains the sources for the V2.2
kernel, most of which are simply copied into /usr/src/linux with appropriate
links setup.  The package name for this is "kernel-source".  As you've
observed, it is NOT a source package in the sense that RPM considers to be a
source package.

This is the reason that "rpm -q kernel" still reports "2.0.36".  Had you done
a "rpm -q kernel-source" it would have told you about 2.2.5.

You can probably go back to where you got your "kernel-source" package and get
a 2.2 version of the "kernel" package.

        Stu

 
 
 

RPM 'error' and modules won't load

Post by M.W. van der Mole » Thu, 03 Jun 1999 04:00:00




> : This is a multi-part message in MIME format.
> : --------------29AA1090249A34042ACCD7D7
> : Content-Type: text/plain; charset=us-ascii
> : Content-Transfer-Encoding: 7bit
> :
> : I have a problem with rpm.
> : I installed RedHat 5.2 with kernel 2.0.36-0.7
> : Then I downloaded and installed the
> : kernel-source-2.2.5-15-i386.rpm package. But after
> : compiling and installing rpm -q kernel still reports
> : kernel-2.0.36-0.7 ! This causes dependancies for some
> : other pachages, which require kernel >= 2.2.0 to fail.
> :
> : rpm -bb kernel-source-2.2.5-15-i386.rpm won't work
> : because it is not a source package. How can I change
> : the kernel version rpm thinks I have ? I haven't found
> : a solution in the rpm man pages or HOWTO...

> The file "kernel-2.0.36-0.7.i386.rpm" which was previously installed contains
> the Linux kernel and some other bits and pieces.  The package name for this is
> "kernel".

> The file "kernel-source-2.2.5-15-i386.rpm" contains the sources for the V2.2
> kernel, most of which are simply copied into /usr/src/linux with appropriate
> links setup.  The package name for this is "kernel-source".  As you've
> observed, it is NOT a source package in the sense that RPM considers to be a
> source package.

> This is the reason that "rpm -q kernel" still reports "2.0.36".  Had you done
> a "rpm -q kernel-source" it would have told you about 2.2.5.

> You can probably go back to where you got your "kernel-source" package and get
> a 2.2 version of the "kernel" package.

>         Stu

That is just about as far as I got (but thanks for the help anyway).
What I hoped to achive is to do this _without_ downloading the
kernel-2.2.5
package, since I already have a 2.2 kernel (compiled from the source
package).

Anybody have a clue why the kernel-source package is not distributed as
a SRPM ?
Is it because it needs configuring before building ?

Kind regards,

Matthijs

  m.w.vandermolen.vcf
< 1K Download
 
 
 

RPM 'error' and modules won't load

Post by Villy Kru » Thu, 03 Jun 1999 04:00:00




Quote:

>You can probably go back to where you got your "kernel-source" package and get
>a 2.2 version of the "kernel" package.

And add to that,  By installing the upgraded kernel package you will
remove the old kernel files.  Therefore you'll need to adjust the
lilo.conf file to refer to the new kernel file in the /boot directory,
and, if you boot from a scsi disk, you'll also need to build a new initrd
with mkinitrd command.  Then run the lilo command as usual.  Failure to
do so might result in an unbootable system.

Villy

 
 
 

1. Error: 'Can't load module '/kernel': no such file or directory

Hi All,

Tried installing 4.2-Release on an AMD K2-350 box equipped with 128M ram and
generic ATA drives but the install floppy fails with the following error:

can't load module '/kernel': no such file or directory.

I've tried a new floppy and even went as far as booting with a 3.5 install
floppy but got the same error message.

Thanks in advance.

2. Sound editing suite anyone?

3. 'insmod' won't load newly compiled modules

4. Personal web resume (LPIC qualifications)

5. Lilo won't load os/2, os/2 won't load lilo

6. mandrake linux printk

7. Module won't load - doesn't like System.map - ??

8. Networking

9. Attempting to load object 'w2quad01.so', with entry 'W2QUAD01', error

10. cannot load module 'pdwa' error after Solaris 8 upgrade

11. Can't load 'Hello World' module

12. cannot load modules 'kernel_version needed, but can't be found'

13. 'bash' keybindings won't load in .bash_profile