Redhat 6.0 kernel (re)compilation problem

Redhat 6.0 kernel (re)compilation problem

Post by Cablok » Mon, 14 Jun 1999 04:00:00



Hi there,

I'm having a couple of problems after recompiling a custom kernel with
RedHat 6.0.

If I recompile a new kernel the modules won't load up on starup (depmod
-a). Depmod just crashes.
Another problem is that libvga doesn't seem to be running correctly on
the precompiled kernel, and neither are any other options which need
recompiling.

I've tried installing a new kernel, 2.5.3, but there have been a few
problems during at lilo runtime. Once I got this message : MDA is not
supported by your kernel (this was on 2.2.1) ,  second time round I got
VGA mode selection is not supported by your kernel (on the 2.3.5). I
think I got everything set up correctly, almost all my hardware is
running on the preconfigured RH6 kernel, but I still need to recompile
it.

Does anyone have a clue of what I'm talking about ? Because I don't.
hehe, Help me!!!

Thanks a bunch, Conrad.

 
 
 

Redhat 6.0 kernel (re)compilation problem

Post by Cablok » Tue, 15 Jun 1999 04:00:00



> > If I recompile a new kernel the modules won't load up on starup (depmod
> > -a). Depmod just crashes.

> no messages?

"Finding module dependancies" and a crash : Ctrl-C to cancel.
I've tried opening another tty console to see what is going on, but the
kernel won't let me see anything, errr, that is, it opens a console but the
screen is black and has one blinking cursor on the top left of the screen.
;=(

Quote:

> > Another problem is that libvga doesn't seem to be running correctly on
> > the precompiled kernel, and neither are any other options which need
> > recompiling.

> do you have a framebuffer console selected?

No, but that's not a problem. I've run a framebuffer device alongside libvga
when I had a slightly less powerfull video card and it ran fine. Just make
sure you make the correct mode selection.

Quote:

> > I've tried installing a new kernel, 2.5.3, but there have been a few

> 2.3.5, I hope!

:P

Quote:

> > problems during at lilo runtime. Once I got this message : MDA is not
> > supported by your kernel (this was on 2.2.1) ,  second time round I got
> > VGA mode selection is not supported by your kernel (on the 2.3.5). I
> > think I got everything set up correctly, almost all my hardware is
> > running on the preconfigured RH6 kernel, but I still need to recompile
> > it.

> sounds like you're having configuration problems.  the simple way to
> verify a .config is to run "make oldconfig".  note that a conf from
> 6.0 (2.2.5) won't work on 2.3.x: some things have changed.

Ok, I can take this and use it. As-a-matter-of-fact its probably what will
fix the problem. I should have checked the change logs too, but I doubt
there's been THAT much change that lilo won't install a kernel.

RedHat 6.0 and Mandrake Linux 6.0 certainly seems to have weirder
configuration files and links and modules setup than 5.2 does, anyone know
if this is true ?

 
 
 

1. Strange compilation problems under Redhat 6.0

Here's a simple program that does not compile under the
stock installation of Redhat 6.0.

#include <stdio.h>

FILE *f = stdout;

The error message I get is:

foo.c:3: initializer element is not constant

I've reproduced this problem on 5 different machines,
all with Redhat 6.0, installed by different people.  However,
I've not seen this problem discussed anywhere in the news
groups.  I suspect an include file problem.  Has it been reported,
or has bug fix been posted?

BTW, the relevant packages these machines have are:

$ rpm -qf /usr/bin/gcc
egcs-1.1.2-12                                   (or egcs-1.1.2-16)
$ rpm -qf /usr/include/stdio.h
glibc-devel-2.1.1-6
$ rpm -qf /lib/libc.so.6
glibc-2.1.1-6

Thanks for any info or pointers.

Zewei

2. MaxBlast/LILO conflict in 20 GB Disk

3. Compilation problem with redhat 6.0

4. AIX System Upgrade procedures

5. Compilation errors on Redhat 6.0 box... how do I fix this?

6. Basic route usage.

7. Redhat 7.0 kernel compilation problems with PIII coppermine

8. Mitsumi CD

9. kernel compilation problems MPU401 UART - Redhat 5.0

10. kernel compilation problem MPU401 - Redhat 5.0

11. upgrade kernel 2.2 from kernel 2.0.x without install redhat 6.0

12. problems with new kernels on redhat 6.0

13. RedHat 6.0/kernel 2.2.10 NFS server problem