Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28753 - Warning issued by mkinitcpio when upgrading initramfs

Attached to Project: Arch Linux
Opened by Myra Nelson (myra) - Friday, 02 March 2012, 22:25 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 03 March 2012, 01:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This warning occurs if you have ext4 and ext2 both in the modules line in mkinitcpio.conf
cp: warning: source file /lib/modules/3.2.9-1-ARCH/kernel/fs/ext4/ext4.ko.gz' specified more than once

Additional info:
0.8.3.1 & 0.8.2.1 package version(s)
* config and/or log files etc.

From mkinitcpio.conf
MODULES="pata_atiixp ahci libahci ehci-hcd ohci-hcd ext2 ext4 vfat"

Steps to reproduce:
Update mkinitcpio to 0.8.2 or 0.8.3
Leave ext2 in the modules line with ext4
sudo /sbin/mkinitcpio -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img

cp: warning: source file /lib/modules/3.2.9-1-ARCH/kernel/fs/ext4/ext4.ko.gz' specified more than once

Remove ext2 from moules line
MODULES="pata_atiixp ahci libahci ehci-hcd ohci-hcd ext4 vfat"

No warnings issued.

This doesn't seem to have any effect on the system. From a disscusion on the arch general list this seems to be a meaningless warning.

Myra
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 03 March 2012, 01:37 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Please fix your config.
Comment by Allan McRae (Allan) - Friday, 02 March 2012, 23:21 GMT
What is the bug here? The ext2 module is an alias for the ext4 one. So you are including the same module twice, which is exactly what the warning says.
Comment by Myra Nelson (myra) - Friday, 02 March 2012, 23:49 GMT
I'm almost sorry I brought this up. As I said, after a discussion on the mailing list when I was attempting to find out the cause of said warning, it seemed appropriate to do this, That or I've been punked. All this is due to this recent change:

"Sorry if this is already clear to anyone, but for the benefit of the archives:

The reason having "ext2 ext4" in the MODULES array gives a warning is
that we recently dropped the ext2 and ext3 modules in favor of making
them aliases for ext4.

$ MODULES="ext2 ext3 ext4"
$ modprobe -aR $MODULES
ext4
ext4
ext4

Cheers,

Tom Gunderson."

It would seem, at least to me, that some notation in the mkinitcpio.conf.pacnew file would be appropriate rather than noise on the mailing list and/or the bug tracker. That way things like this wouldn't happen. Quite frankly I hate to file bug reports especially on something like this. But occassionally something like this slips by some people and creates noise just like it has now.

Please accept my humble apology.

Myra

Loading...