Problem with kernel

Lengyel Sandor hunnia@pacbell.net
Wed Apr 8 02:13:00 GMT 1998


Kaz Kylheku wrote:
> 
> On Thursday, April 02, 1998 9:57 PM, Lengyel Sandor [SMTP:hunnia@pacbell.net]
> wrote:
> > I have Debian (Hamm) disrtribution. (The one with glibc).
> > I had no problem compilingLinux 2.0.33.
> > However when i installed the new Kernel, and the kernel started to load, I
> > got
> > kernel panic. Root could not be mounted on 03:08 by the kernel, which I
> > assume
> > is  /dev/hda8.
> 
> So you suspect that EGCS is at fault?
> 
> I have compiled my 2.0.32 kernel with EGCS without problems.

I tried to compile 2.0.31 Kernel. There were no warning messages, and
the kernel worked.

I reinstalled the kernel 2.0.33 from screch. Still the same problem with
egcs, but not with gnu gcc.

I also got warning messages with almost every line, which were alway
almost the same as below:

gcc -D__KERNEL__ -I/usr/src/linux2033/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o
checksum.o checksum.c
/usr/src/linux2033/include/asm/string.h: In function
`__constant_memcpy':
In file included from /usr/src/linux2033/include/linux/string.h:39,
                 from /usr/src/linux2033/include/asm/termios.h:58,
                 from /usr/src/linux2033/include/linux/termios.h:5,
                 from /usr/src/linux2033/include/linux/tty.h:20,
                 from /usr/src/linux2033/include/linux/sched.h:26,
                 from /usr/src/linux2033/include/linux/mm.h:4,
                 from /usr/src/linux2033/include/linux/malloc.h:4,
                 from /usr/src/linux2033/include/linux/skbuff.h:135,
                 from /usr/src/linux2033/include/linux/netdevice.h:58,
                 from /usr/src/linux2033/include/net/ip.h:27,
                 from /usr/src/linux2033/include/net/checksum.h:22,
                 from checksum.c:20:
/usr/src/linux2033/include/asm/string.h:443: warning: control reaches
end of non-void function
/usr/src/linux2033/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux2033/include/asm/string.h:594: warning: control reaches
end of non-void function
gcc -D__KERNEL__ -I/usr/src/linux2033/include -D__ASSEMBLY__
-traditional -c semaphore.S -o semaphore

I did a diff on string.h and string-486.h between 2.0.31 and 2.0.33 and
the were identical.

I do not say that egcs is at fault, only that it does not compile
2.0.33.

If somebody knows the reason for it, I would like to know.

Thanks.

Sandor

-- 
 Lengyel Sándor

Hass, alkoss, gyarapits,
S a haza fényre derül. (Kölcsey)



More information about the Gcc mailing list