You are not logged in.
bizzare errors, its trying to load every module it can think of? never had anything like this happen before.
when i tried to mkinitcpio myself after the auto fail, it looked for the old kernel.
[testuser@arch2 ~]$ sudo pac linux
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-3.4.4-3
Total Download Size: 40.52 MiB
Total Installed Size: 57.61 MiB
Net Upgrade Size: 0.05 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-3.4.4-3-x86_64 40.5 MiB 107K/s 06:29 [##########################################] 100%
(1/1) checking package integrity [##########################################] 100%
(1/1) loading package files [##########################################] 100%
(1/1) checking for file conflicts [##########################################] 100%
(1/1) checking available disk space [##########################################] 100%
(1/1) upgrading linux [##########################################] 100%
>>> Updating module dependencies. Please wait ...
ERROR: could not open directory /lib/modules/3.4.4-3-ARCH: No such file or directory
FATAL: could not search modules: No such file or directory
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.4.4-3-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [usb]
-> Running build hook: [keymap]
-> Running build hook: [fsck]
-> Running build hook: [sata]
-> Running build hook: [encrypt]
==> ERROR: module not found: `dm-crypt'
==> ERROR: module not found: `padlock_sha'
==> ERROR: module not found: `padlock_aes'
==> ERROR: module not found: `blowfish_common'
==> ERROR: module not found: `twofish_common'
==> ERROR: module not found: `cast6'
==> ERROR: module not found: `xts'
==> ERROR: module not found: `aes_generic'
==> ERROR: module not found: `rmd256'
==> ERROR: module not found: `crypto_user'
==> ERROR: module not found: `cryptd'
==> ERROR: module not found: `tgr192'
==> ERROR: module not found: `salsa20_generic'
==> ERROR: module not found: `vmac'
==> ERROR: module not found: `xor'
==> ERROR: module not found: `cts'
==> ERROR: module not found: `async_memcpy'
==> ERROR: module not found: `async_pq'
==> ERROR: module not found: `raid6test'
==> ERROR: module not found: `async_raid6_recov'
==> ERROR: module not found: `async_xor'
==> ERROR: module not found: `async_tx'
==> ERROR: module not found: `cast5'
==> ERROR: module not found: `deflate'
==> ERROR: module not found: `fcrypt'
==> ERROR: module not found: `algif_hash'
==> ERROR: module not found: `xcbc'
==> ERROR: module not found: `cbc'
==> ERROR: module not found: `seed'
==> ERROR: module not found: `tcrypt'
==> ERROR: module not found: `twofish_generic'
==> ERROR: module not found: `wp512'
==> ERROR: module not found: `sha256_generic'
==> ERROR: module not found: `sha512_generic'
==> ERROR: module not found: `crypto_null'
==> ERROR: module not found: `rmd160'
==> ERROR: module not found: `rmd320'
==> ERROR: module not found: `gf128mul'
==> ERROR: module not found: `authencesn'
==> ERROR: module not found: `pcrypt'
==> ERROR: module not found: `ansi_cprng'
==> ERROR: module not found: `ccm'
==> ERROR: module not found: `ecb'
==> ERROR: module not found: `arc4'
==> ERROR: module not found: `michael_mic'
==> ERROR: module not found: `lrw'
==> ERROR: module not found: `seqiv'
==> ERROR: module not found: `md4'
==> ERROR: module not found: `anubis'
==> ERROR: module not found: `tea'
==> ERROR: module not found: `camellia_generic'
==> ERROR: module not found: `sha1_generic'
==> ERROR: module not found: `md5'
==> ERROR: module not found: `af_alg'
==> ERROR: module not found: `rmd128'
==> ERROR: module not found: `crc32c'
==> ERROR: module not found: `algif_skcipher'
==> ERROR: module not found: `des_generic'
==> ERROR: module not found: `ctr'
==> ERROR: module not found: `blowfish_generic'
==> ERROR: module not found: `khazad'
==> ERROR: module not found: `pcbc'
==> ERROR: module not found: `ghash_generic'
==> ERROR: module not found: `hmac'
==> ERROR: module not found: `gcm'
==> ERROR: module not found: `zlib'
==> ERROR: module not found: `authenc'
==> ERROR: module not found: `serpent_generic'
==> ERROR: module not found: `sha1_ssse3'
==> ERROR: module not found: `aes_x86_64'
==> ERROR: module not found: `serpent_sse2_x86_64'
==> ERROR: module not found: `ghash_clmulni_intel'
==> ERROR: module not found: `aesni_intel'
==> ERROR: module not found: `twofish_x86_64'
==> ERROR: module not found: `twofish_x86_64_3way'
==> ERROR: module not found: `camellia_x86_64'
==> ERROR: module not found: `salsa20_x86_64'
==> ERROR: module not found: `blowfish_x86_64'
==> ERROR: module not found: `crc32c_intel'
-> Running build hook: [filesystems]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.4.4-3-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [usb]
==> ERROR: module not found: `hwa_hc'
==> ERROR: module not found: `uhci_hcd'
==> ERROR: module not found: `ehci_hcd'
==> ERROR: module not found: `u132_hcd'
==> ERROR: module not found: `oxu210hp_hcd'
==> ERROR: module not found: `isp116x_hcd'
==> ERROR: module not found: `whci_hcd'
==> ERROR: module not found: `r8a66597_hcd'
==> ERROR: module not found: `ohci_hcd'
==> ERROR: module not found: `xhci_hcd'
==> ERROR: module not found: `sl811_hcd'
==> ERROR: module not found: `isp1362_hcd'
==> ERROR: module not found: `isp1760'
==> ERROR: module not found: `ums_sddr09'
==> ERROR: module not found: `ums_onetouch'
==> ERROR: module not found: `ums_karma'
==> ERROR: module not found: `ums_isd200'
==> ERROR: module not found: `ums_alauda'
==> ERROR: module not found: `ums_cypress'
==> ERROR: module not found: `ums_sddr55'
==> ERROR: module not found: `ums_eneub6250'
==> ERROR: module not found: `ums_datafab'
==> ERROR: module not found: `ums_jumpshot'
==> ERROR: module not found: `ums_freecom'
==> ERROR: module not found: `ums_usbat'
==> ERROR: module not found: `ums_realtek'
-> Running build hook: [keymap]
-> Running build hook: [fsck]
-> Running build hook: [sata]
==> ERROR: module not found: `eata'
==> ERROR: module not found: `sx8'
==> ERROR: module not found: `sata_svw'
==> ERROR: module not found: `sata_inic162x'
==> ERROR: module not found: `sata_vsc'
==> ERROR: module not found: `sata_sil'
==> ERROR: module not found: `sata_uli'
==> ERROR: module not found: `sata_mv'
==> ERROR: module not found: `sata_sis'
==> ERROR: module not found: `sata_sx4'
==> ERROR: module not found: `sata_via'
==> ERROR: module not found: `sata_qstor'
==> ERROR: module not found: `sata_nv'
==> ERROR: module not found: `sata_sil24'
==> ERROR: module not found: `sata_promise'
==> ERROR: module not found: `ahci'
==> ERROR: module not found: `ahci_platform'
==> ERROR: module not found: `pdc_adma'
==> ERROR: module not found: `ata_piix'
-> Running build hook: [encrypt]
==> ERROR: module not found: `dm-crypt'
==> ERROR: module not found: `padlock_sha'
==> ERROR: module not found: `padlock_aes'
==> ERROR: module not found: `blowfish_common'
==> ERROR: module not found: `twofish_common'
==> ERROR: module not found: `cast6'
==> ERROR: module not found: `xts'
==> ERROR: module not found: `aes_generic'
==> ERROR: module not found: `rmd256'
==> ERROR: module not found: `crypto_user'
==> ERROR: module not found: `cryptd'
==> ERROR: module not found: `tgr192'
==> ERROR: module not found: `salsa20_generic'
==> ERROR: module not found: `vmac'
==> ERROR: module not found: `xor'
==> ERROR: module not found: `cts'
==> ERROR: module not found: `async_memcpy'
==> ERROR: module not found: `async_pq'
==> ERROR: module not found: `raid6test'
==> ERROR: module not found: `async_raid6_recov'
==> ERROR: module not found: `async_xor'
==> ERROR: module not found: `async_tx'
==> ERROR: module not found: `cast5'
==> ERROR: module not found: `deflate'
==> ERROR: module not found: `fcrypt'
==> ERROR: module not found: `algif_hash'
==> ERROR: module not found: `xcbc'
==> ERROR: module not found: `cbc'
==> ERROR: module not found: `seed'
==> ERROR: module not found: `tcrypt'
==> ERROR: module not found: `twofish_generic'
==> ERROR: module not found: `wp512'
==> ERROR: module not found: `sha256_generic'
==> ERROR: module not found: `sha512_generic'
==> ERROR: module not found: `crypto_null'
==> ERROR: module not found: `rmd160'
==> ERROR: module not found: `rmd320'
==> ERROR: module not found: `gf128mul'
==> ERROR: module not found: `authencesn'
==> ERROR: module not found: `pcrypt'
==> ERROR: module not found: `ansi_cprng'
==> ERROR: module not found: `ccm'
==> ERROR: module not found: `ecb'
==> ERROR: module not found: `arc4'
==> ERROR: module not found: `michael_mic'
==> ERROR: module not found: `lrw'
==> ERROR: module not found: `seqiv'
==> ERROR: module not found: `md4'
==> ERROR: module not found: `anubis'
==> ERROR: module not found: `tea'
==> ERROR: module not found: `camellia_generic'
==> ERROR: module not found: `sha1_generic'
==> ERROR: module not found: `md5'
==> ERROR: module not found: `af_alg'
==> ERROR: module not found: `rmd128'
==> ERROR: module not found: `crc32c'
==> ERROR: module not found: `algif_skcipher'
==> ERROR: module not found: `des_generic'
==> ERROR: module not found: `ctr'
==> ERROR: module not found: `blowfish_generic'
==> ERROR: module not found: `khazad'
==> ERROR: module not found: `pcbc'
==> ERROR: module not found: `ghash_generic'
==> ERROR: module not found: `hmac'
==> ERROR: module not found: `gcm'
==> ERROR: module not found: `zlib'
==> ERROR: module not found: `authenc'
==> ERROR: module not found: `serpent_generic'
==> ERROR: module not found: `sha1_ssse3'
==> ERROR: module not found: `aes_x86_64'
==> ERROR: module not found: `serpent_sse2_x86_64'
==> ERROR: module not found: `ghash_clmulni_intel'
==> ERROR: module not found: `aesni_intel'
==> ERROR: module not found: `twofish_x86_64'
==> ERROR: module not found: `twofish_x86_64_3way'
==> ERROR: module not found: `camellia_x86_64'
==> ERROR: module not found: `salsa20_x86_64'
==> ERROR: module not found: `blowfish_x86_64'
==> ERROR: module not found: `crc32c_intel'
-> Running build hook: [filesystems]
==> ERROR: module not found: `gfs2'
==> ERROR: module not found: `libore'
==> ERROR: module not found: `exofs'
==> ERROR: module not found: `jfs'
==> ERROR: module not found: `lockd'
==> ERROR: module not found: `isofs'
==> ERROR: module not found: `cachefiles'
==> ERROR: module not found: `ext4'
==> ERROR: module not found: `ubifs'
==> ERROR: module not found: `jffs2'
==> ERROR: module not found: `hfs'
==> ERROR: module not found: `9p'
==> ERROR: module not found: `mbcache'
==> ERROR: module not found: `dlm'
==> ERROR: module not found: `cramfs'
==> ERROR: module not found: `quota_v2'
==> ERROR: module not found: `quota_tree'
==> ERROR: module not found: `quota_v1'
==> ERROR: module not found: `xfs'
==> ERROR: module not found: `hfsplus'
==> ERROR: module not found: `omfs'
==> ERROR: module not found: `autofs4'
==> ERROR: module not found: `ceph'
==> ERROR: module not found: `affs'
==> ERROR: module not found: `minix'
==> ERROR: module not found: `cifs'
==> ERROR: module not found: `vfat'
==> ERROR: module not found: `msdos'
==> ERROR: module not found: `fat'
==> ERROR: module not found: `ntfs'
==> ERROR: module not found: `fuse'
==> ERROR: module not found: `cuse'
==> ERROR: module not found: `ocfs2_dlm'
==> ERROR: module not found: `ocfs2_nodemanager'
==> ERROR: module not found: `ocfs2_stackglue'
==> ERROR: module not found: `ocfs2_stack_user'
==> ERROR: module not found: `ocfs2_stack_o2cb'
==> ERROR: module not found: `ocfs2'
==> ERROR: module not found: `ocfs2_dlmfs'
==> ERROR: module not found: `ncpfs'
==> ERROR: module not found: `jbd2'
==> ERROR: module not found: `nfs_acl'
==> ERROR: module not found: `btrfs'
==> ERROR: module not found: `kafs'
==> ERROR: module not found: `ufs'
==> ERROR: module not found: `fscache'
==> ERROR: module not found: `nilfs2'
==> ERROR: module not found: `nfs'
==> ERROR: module not found: `exportfs'
==> ERROR: module not found: `reiserfs'
==> ERROR: module not found: `ecryptfs'
==> ERROR: module not found: `befs'
==> ERROR: module not found: `logfs'
==> ERROR: module not found: `udf'
==> ERROR: module not found: `configfs'
==> ERROR: module not found: `nfsd'
==> ERROR: module not found: `squashfs'
==> ERROR: module not found: `coda'
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
[testuser@arch2 ~]$
[testuser@arch2 ~]$ sudo mkinitcpio
Password:
==> ERROR: unable to locate module directory for kernel `3.4.4-2-ARCH'Last edited by hkmike (2012-07-18 15:15:57)
Offline
What is sudo pac aliased to?
Have you updated glibc? Read the news if you have not...
Offline
Whats the output of :
ls -ltr /usr/lib/modules /lib/modules https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
pac is
# pacman aliases (if applicable, replace 'pacman' with 'yaourt'/'pacaur'/whatever)
alias pac="pacman -S" # default action - install one or more packagesand looking at arch from debian:
mike@nbd2:/media/arch-root/usr/lib/modules$ ls -ltr
total 8
drwxr-xr-x 2 root root 4096 Jul 3 22:42 extramodules-3.4-ARCH
drwxr-xr-x 3 root root 4096 Jul 3 22:42 3.4.4-3-ARCH
mike@nbd2:/media/arch-root/usr/lib/modules$
and
mike@nbd2:/media/arch-root/lib/modules$ ls -ltr
total 4
drwxr-xr-x 2 root root 4096 Mar 12 22:11 3.2.6-2-ARCH
mike@nbd2:/media/arch-root/lib/modules$ Offline
Why would you ever "pacman -S linux"??
This means you are installing whatever version of linux that is in your sync database. Shouldn't you already have this installed? Clearly you don't, or pacman would have mentioned that it was installed and that it would reinstall.
This means at some point before this command you must have done a `pacman -Sy` but not a full -Syu.
I'm not sure if this is the (only) cause of problems, but partial upgrades can't be expected to work. Run `pacman -Syu` and then deal with any problems that arise there.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Your system is out of date, and you won't be able to update glibc until you manually fix any packages that are providing files/folders in /lib/
That includes the 3.2.6-2-ARCH kernel modules. Not sure why you still have those, but I'm sure you have your reasons.
Read the news and do a forum search regarding glibc's recent update if you're confused.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
i actually have no idea why those old modules are there. i didn't do anything with them that i know of.
i was going to do a pacman -Syu, but the download was pretty big for the wireless connection i was on. so i said 'n' to continue. and then tried to do the kernel by itself, since it was half the total download size. but this is a bad idea?
so to proceed i need to find out how to fix glibc. ok i'll look into that. i just hope i can boot back into arch, haven't tried yet.
Offline
but this is a bad idea?
No. It's a very bad idea, particularly with anything as important as the kernel.
Easy fix: get a cup of coffee and wait for the `pacman -Syu` downloads to complete. Odds are you will have to check the front page news for the glibc update, and perhaps older news items, but the source of your current problem is the partial upgrade.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
ok good to know! from now on i'll only update with a reliable connection and after reading the news.
i suppose there's a easy way to wget blah blah|less and read it on the terminal.
Offline
as suspected, i can't boot.
it looks like the udev hook isn't working, because when crypt is run it can't find /dev/sda8, and on the console there's no sd* in /dev/. udev was listed three times, as an early hook, normal hook, and clean up hook.
starting to think i'm going to need a recovery cd, but at a year old, will it even work?
na forget that, i'm chrooted in from fedora, debian wouldn't let me for some reason. edit: i think it was mounted noexec...
I've done:
pacman -Syu --ignore glibcand that went fine
then tried
pacman -Suand found i needed to delete those old kernel headers
then tried again and i get
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.but when i do this
[root@nb lib]# find /lib -exec pacman -Qo -- {} +|grep -v glibc
error: cannot determine ownership of directory '/lib'
[root@nb lib]# it looks like everything unrelated to glibc is already gone, just the folder /lib itself is causing problems.
also i did a pacman -S linux, like i shouldn't have to begin with, but this time it was able to properly make a mkinitcpio image.
here's the other command the news page suggested to help fix the problem
[root@nb lib]# grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-linux-x86-64.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil.so.1
/var/lib/pacman/local/ld-lsb-3-3/files:lib/
/var/lib/pacman/local/ld-lsb-3-3/files:lib/ld-lsb.so.3
[root@nb lib]# ok i see it now., its fixed. need to fix my terminal colours.
Last edited by hkmike (2012-07-18 15:15:04)
Offline