You are not logged in.

#1 2011-02-09 19:34:41

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

[SOLVED] coreutils 8.10 = fail on compressed btrfs @ x86_64

x86_64, stable system (not testing)
I was using kernel26-mainline lately, now in version 38-rc4, but i still remember that kernel26-2.6.37-5 was installed succesfully when it land in [core], so the problem is younger. I saw it today while testing catalyst-hook package (to test it right i did pacman -S kernel26). It's not problem of catalyst-hook, it persist after removing catalyst-hook and checking config files.
System is up to date, synced even with archlinux.org.
/ is compressed btrfs.
module-init-tools is in 3.12-2 version.

Log:

# pacman -S kernel26
warning: kernel26-2.6.37-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): kernel26-2.6.37-5

Total Download Size:    0.00 MB
Total Installed Size:   52.40 MB

Proceed with installation? [Y/n] Y
checking package integrity...
(1/1) checking for file conflicts                                                              [#######################################################] 100%
(1/1) upgrading kernel26                                                                       [#######################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
WARNING: Can't read module /tmp/mkinitcpio.ugskGA/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_acpi.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.ugskGA/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_jmicron.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.ugskGA/lib/modules/2.6.37-ARCH/kernel/lib/libcrc32c.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.ugskGA/lib/modules/2.6.37-ARCH/kernel/crypto/crc32c.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.ugskGA/lib/modules/2.6.37-ARCH/kernel/arch/x86/crypto/crc32c-intel.ko.gz: Exec format error
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/device_handler/scsi_dh_hp_sw.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/raid_class.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/qlogicfas408.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/scsi_transport_srp.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/scsi/scsi_wait_scan.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_artop.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_atiixp.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_atp867x.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cmd640.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cmd64x.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cs5520.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cs5530.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cs5536.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_cypress.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_efar.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_hpt366.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_hpt3x2n.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_hpt3x3.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_it8213.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_marvell.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_mpiix.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_netcell.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_ninja32.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_ns87410.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_ns87415.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_oldpiix.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_opti.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_optidma.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_pdc202xx_old.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_piccolo.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_radisys.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_rdc.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_rz1000.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_sc1200.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_sch.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_serverworks.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_sil680.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_sl82c105.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/pata_triflex.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/ata_generic.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/sata_sis.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/sata_svw.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/sata_uli.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/sata_vsc.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/ata/ahci_platform.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/drivers/net/mdio.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/exportfs/exportfs.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/nls/nls_cp437.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/nfs_common/nfs_acl.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/ocfs2/ocfs2_stack_o2cb.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/quota/quota_v1.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/fs/quota/quota_v2.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/lib/crc16.ko.gz: Exec format error
WARNING: Can't read module /tmp/mkinitcpio.UuY0Bv/lib/modules/2.6.37-ARCH/kernel/lib/crc-itu-t.ko.gz: Exec format error
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS

So i'm not able to boot stock kernel.

Another thing that could be related is that:
$ repo-add repo.tar.gz *
inside directory with packages doesn't produce working repo.tar.gz, it exists but it's impossible to read it.
But ie. doing:
$ repo-add repo.tar *
and then
$ gzip repo.tar
works fine! Strange things, im using repo-add for like ~1,5 year and never saw something like this...
(funny thing is that yesterday i tested repo-add on both 38-rc4 and 37-ARCH-5, 37-ARCH-5 was working fine cuz it was installed before this fail...)

Any idea? Maybe i should reinstall some package? Maybe it's something with btrfs partition? Dunno...

Solution: I still cannot believe this but it was compression. I just removed compress flag from btrfs in fstab and mtab and that's it.
Everything is working again...
I forgot to mention that i was/am making repo-add on files placed in ext4 partition and now it's also fixed... Strange, Strange Thing!
Guess that 38 rc3 or rc4 changed something related with btrfs.

Edit: btrfs was to slow without compress so i dig deeper...
coreutils...
coreutils 8.10 did this, downgrade to 8.9 helped
ufff...
i wanted to report it but gentoo guys were faster wink

gentoo bug report:
http://bugs.gentoo.org/show_bug.cgi?id=353907

upstream bug report can be found here:
http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=coreutils


Edit2: turns out it was a btrfs bug, which is fixed in mainline kernel since 2.6.38-rc6-git6

Last edited by Vi0L0 (2011-02-27 12:44:57)

Offline

Board footer

Powered by FluxBB