Genkernel Error Compression Xz Failed
mount -t proc proc /mnt/gentoo/proc mount --rbind /dev /mnt/gentoo/dev mount --rbind /sys /mnt/gentoo/sys cp -L /etc/resolv.conf /mnt/gentoo/etc/ chroot /mnt/gentoo /bin/bash source /etc/profile 5. emerge gentoo-sources 6. cd /usr/src/linux make menuconfig make -j2 7. cp arch/x86/boot/bzImage /boot/kernel-$(uname -r) 8. make modules_install 9. emerge genkernel genkernel --install --no-ramdisk-modules initramfs (It will createinitramfs-genkernel-x86-3.14.16-gentoo in /boot/.) 10. cat /etc/fstab /dev/sda1 / ext4 noatime 0 1 11. change root password 12 emerge grub 13. livecd ~ # grub2-install /dev/sda Installation finished. No error reported. livecd ~ # grub2-mkconfig -o /boot/grub/grub.cfg Generating grub.cfg ... Found linux image: /boot/kernel-3.14.16-gentoo Found initrd image: /boot/initramfs-genkernel-x86-3.14.16-gentoo done 14. emerge dhcpcd echo "modules = "dhcpcd"" > /etc/conf.d/net echo "config_enp2s1="dhcp" >> /etc/conf.d/net Problem: scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 instruction set Solution: When make menuconfig, make sure un-check 64-bit kernel. [ ] 64-bit kernel Problem: /usr/bin/xz: /var/tmp/genkernel/initramfs-3.14.16-gentoo: Cannot allocate memory ERROR: Compression (/usr/bin/xz -e --check=none -z -f -9) failed Solution: Increase memory for the VM. In my case, to 1GB. Problem: Could not find the root block device in UUID=XXX Solution: livecd ~# lspci SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) Ethernet controller: Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] (rev 10) When make menuconfig, make sure Device Drivers ---> SCSI device support ---> [*] SCSI low-level drivers ---> <*> BusLogic SCSI support [*] Fusion MPT device support ---> <*> Fusion MPT ScsiHost drivers for SPI <*> Fusion MPT ScsiHost drivers for FC <*> Fusion MPT ScsiHost drivers for SAS <*> Fusion MPT misc device (ioctl) driver [*] Network device support ---> [*] Ethernet driver support ---> <*> AMD PCnet32 PCI support Reference: http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml http://www.360doc.com/content/13/1030/15/1956846_325320292.shtml Posted by midheart liu at 11:01 PM 2 comments: 王竣聰 said...
logVersions v9999 :: 0 :: gentooModifiedThursday 13 October 13:34:26 LicenseGPL-2USE flagscryptsetup firmware ibm selinux v3.5.0.5 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.5.0.4 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.5.0.3 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.5.0.2 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.5.0.1 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.5.0.0 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2USE flagscryptsetup ibm selinux v3.4.52.4-r2 :: 0 :: gentooModifiedThursday 29 September 13:34:01 LicenseGPL-2Keywordsalpha amd64 hppa ppc64 ~arm ~ia64 http://midheart.blogspot.com/2014/09/install-gentoo-in-vm.html ~mips ~ppc ~s390 ~sh ~sparc ~x86 USE flagscryptsetup ibm selinux v3.4.52.4-r1 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywordss390 ~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 USE flagscryptsetup ibm selinux v3.4.52.4 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywords~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 USE flagscryptsetup ibm selinux v3.4.52.3 :: http://gentoobrowse.randomdan.homeip.net/package/sys-kernel/genkernel 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywordsalpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~mips USE flagscryptsetup ibm selinux v3.4.52.2 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywordsalpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~mips ~s390 USE flagscryptsetup ibm selinux v3.4.51.4 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywords~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 USE flagscrypt cryptsetup ibm selinux v3.4.50 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywords~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 USE flagscrypt cryptsetup ibm selinux v3.4.49.2 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywordsalpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~mips USE flagscrypt cryptsetup ibm selinux v3.4.48 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywords~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 USE flagscrypt cryptsetup ibm selinux v3.4.45.1 :: 0 :: gentooModifiedSaturday 03 September 13:37:42 LicenseGPL-2Keywordsalpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86 ~mips USE flagscrypt cryptsetup ibm selinux USE flagsGeneralcryptObsolete USE flag. Use cryptsetup for LUKS support. (bug ##414523
Sign in Pricing Blog Support Search GitHub This repository Watch 318 Star 2,087 Fork 520 zfsonlinux/zfs Code Issues 878 Pull requests https://github.com/zfsonlinux/zfs/issues/5035 48 Projects 5 Wiki Pulse Graphs New issue zfs seems to use more memory than it should #5035 Closed haasn opened this Issue Aug 28, 2016 · 19 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants haasn commented Aug 28, 2016 I'm running into many memory-related genkernel error issues since switching to ZFS, including instances where the oom killer triggered despite plenty free memory being available, and instances where programs fail due to out of memory conditions. For an example of a failure, when trying to recreate my initramfs: * Gentoo Linux Genkernel; Version 64 * Running with options: --install initramfs * Using genkernel.conf from /etc/genkernel.conf genkernel error compression * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * Linux Kernel 4.7.2-hardened-gnu for x86_64... * .. with config file /usr/share/genkernel/arch/x86_64/kernel-config * busybox: >> Using cache * initramfs: >> Initializing... * >> Appending base_layout cpio data... * >> Appending udev cpio data... cp: cannot stat '/etc/modprobe.d/blacklist.conf': No such file or directory * cannot copy /etc/modprobe.d/blacklist.conf from udev cp: cannot stat '/lib/systemd/network/99-default.link': No such file or directory * cannot copy /lib/systemd/network/99-default.link from udev * >> Appending auxilary cpio data... * >> Copying keymaps * >> Appending busybox cpio data... * >> Appending modules cpio data... * >> Appending zfs cpio data... * >> Including zpool.cache * >> Appending blkid cpio data... * >> Appending ld_so_conf cpio data... * ldconfig: adding /sbin/ldconfig... * ld.so.conf: adding /etc/ld.so.conf{.d/*,}... cpio: lib64 not created: newer or same age version exists cpio: lib64 not created: newer or same age version exists cpio: lib64/ld-linux-x86-64.so.2 not created: newer or same age version exists cpio: lib64/librt.so.1 not created: newer or same age version exists cpio: