Re: Error in installing kernel 2.6.5 compiled with GCC 3.4.0 and-mregparm=3

From: Michael Berger
Date: Sun May 02 2004 - 12:36:55 EST


Dear Peter

Thank you for your reply. I receive LKML through my ISP. I have only this messages in my messages file:

===============================================================================================

Apr 25 12:58:55 Loki modprobe: FATAL: Error inserting loop (/lib/modules/2.6.5/kernel/drivers/block/loop.ko): Invali
d module format
Apr 25 12:58:55 Loki kernel: loop: version magic '2.6.5 PENTIUMIII REGPARM gcc-3.4' should be '2.6.5 PENTIUMIII gcc-
3.4'
Apr 25 12:58:55 Loki modprobe: FATAL: Error inserting loop (/lib/modules/2.6.5/kernel/drivers/block/loop.ko): Invali
d module format
Apr 25 12:58:55 Loki kernel: loop: version magic '2.6.5 PENTIUMIII REGPARM gcc-3.4' should be '2.6.5 PENTIUMIII gcc-
3.4'
Apr 25 13:01:13 Loki modprobe: FATAL: Error inserting loop (/lib/modules/2.6.5/kernel/drivers/block/loop.ko): Invali
d module format
Apr 25 13:01:13 Loki kernel: loop: version magic '2.6.5 PENTIUMIII REGPARM gcc-3.4' should be '2.6.5 PENTIUMIII gcc-
3.4'
Apr 25 13:01:13 Loki modprobe: FATAL: Error inserting loop (/lib/modules/2.6.5/kernel/drivers/block/loop.ko): Invali
d module format
Apr 25 13:01:13 Loki kernel: loop: version magic '2.6.5 PENTIUMIII REGPARM gcc-3.4' should be '2.6.5 PENTIUMIII gcc-
3.4'
Apr 25 13:18:04 Loki kernel: loop: loaded (max 8 devices)

==================================================================================================

This is after I rebooted the machine with the "new kernel" compiled with -mregparm=3. For the installation I loaded by hand the loop
and ext2 module and installed the kernel. After rebooting I have now this messages in my log files. I switched back to without
-mregparm=3 kernel 2.6.5 and this messages are away. I will do more tests on a scratch box and with different config files and compilers.

Best regards,

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/