Jump to content
funtoo forums

Search the Community

Showing results for tags 'genkernel'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Funtoo Discussion Forums
    • News and Announcements
    • General Discussion
    • Dev Central
    • Funtoo Hosting
    • Funtoo Infrastructure
  • Help Central
    • General Help
    • Installation Help
    • Portage Help
    • Desktop Help
    • Server Help
  • Funtoo Services


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start







Found 4 results

  1. Hello dear forum members! My Portage emerged and successfully compiled kernel debian-sources-4.14.2-1 with no any question to me. I edited /etc/boot.conf, run boot-update and my grub booted automatically in my new kernel. Xorg, xdm, Slim, LXDE worked fine. But today I tried to "root out" IPv6 support from my kernel just for trying to optimize something. I run # cd /usr/src/linux # genkernel --menuconfig all switched off line "Networking ->IPv6 for RxRPC" and saved my config to without-ipv6.config. Exited menuconfig and genkernel continued to compile kernel with my new configurations. But after reboot Xorg failed to start, cause "Screens not found". I rebooted to my old kernel debian-sources-4-8 everything is ok. I want you to teach me use genkernel, cause it is the second time I use it and the second time my system boots into console mode. Here it is the Xorg.log of failed kernel: # cat /var/log/Xorg.0.log.old [ 17.347] X.Org X Server 1.19.3 Release Date: 2017-03-15 [ 17.347] X Protocol Version 11, Revision 0 [ 17.347] Build Operating System: Linux 4.9.47-std510-amd64 x86_64 Gentoo [ 17.347] Current Operating System: Linux localhost 4.14.2-1 #1 SMP Thu Jan 4 17:13:40 MSK 2018 x86_64 [ 17.347] Kernel command line: BOOT_IMAGE=/kernel-debian-sources-x86_64-4.14.2-1 rootfstype=auto real_root=/dev/sda3 rootfstype=ext4 [ 17.347] Build Date: 20 December 2017 06:37:50PM [ 17.347] [ 17.347] Current version of pixman: 0.34.0 [ 17.347] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 17.347] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 17.347] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 5 15:14:33 2018 [ 17.356] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 17.356] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 17.358] (==) No Layout section. Using the first Screen section. [ 17.358] (==) No screen section available. Using defaults. [ 17.358] (**) |-->Screen "Default Screen Section" (0) [ 17.358] (**) | |-->Monitor "<default monitor>" [ 17.358] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 17.358] (**) | |-->Device "Intel Graphics" [ 17.358] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 17.358] (==) Automatically adding devices [ 17.358] (==) Automatically enabling devices [ 17.358] (==) Automatically adding GPU devices [ 17.358] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 17.366] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/TTF/, /usr/share/fonts/OTF/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/ [ 17.367] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 17.367] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 17.367] (II) Loader magic: 0x807c80 [ 17.367] (II) Module ABI versions: [ 17.367] X.Org ANSI C Emulation: 0.4 [ 17.367] X.Org Video Driver: 23.0 [ 17.367] X.Org XInput driver : 24.1 [ 17.367] X.Org Server Extension : 10.0 [ 17.370] (--) PCI:*(0:0:2:0) 8086:0f31:17aa:3905 rev 14, Mem @ 0x90000000/4194304, 0x80000000/268435456, I/O @ 0x00002050/8, BIOS @ 0x????????/131072 [ 17.370] (II) LoadModule: "glx" [ 17.377] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 17.395] (II) Module glx: vendor="X.Org Foundation" [ 17.395] compiled for 1.19.3, module version = 1.0.0 [ 17.395] ABI class: X.Org Server Extension, version 10.0 [ 17.395] (II) LoadModule: "intel" [ 17.397] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so [ 17.401] (II) Module intel: vendor="X.Org Foundation" [ 17.401] compiled for 1.19.3, module version = 2.99.917 [ 17.401] Module class: X.Org Video Driver [ 17.401] ABI class: X.Org Video Driver, version 23.0 [ 17.401] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 17.401] (II) intel: Driver for Intel(R) HD Graphics [ 17.401] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 17.401] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 17.401] (++) using VT number 7 [ 17.411] (EE) No devices detected. [ 17.411] (EE) Fatal server error: [ 17.411] (EE) no screens found(EE) [ 17.411] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 17.411] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 17.411] (EE) [ 17.416] (EE) Server terminated with error (1). Closing log file. The configs with ipv6 were these: # cat withuot-ipv6.config | grep IPV6 CONFIG_IPV6=m CONFIG_IPV6_ROUTER_PREF=y # CONFIG_IPV6_ROUTE_INFO is not set # CONFIG_IPV6_OPTIMISTIC_DAD is not set # CONFIG_IPV6_MIP6 is not set # CONFIG_IPV6_ILA is not set # CONFIG_IPV6_VTI is not set CONFIG_IPV6_SIT=m # CONFIG_IPV6_SIT_6RD is not set CONFIG_IPV6_NDISC_NODETYPE=y CONFIG_IPV6_TUNNEL=m # CONFIG_IPV6_FOU is not set # CONFIG_IPV6_FOU_TUNNEL is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set # CONFIG_IPV6_MROUTE is not set # CONFIG_IPV6_SEG6_LWTUNNEL is not set # CONFIG_IPV6_SEG6_HMAC is not set CONFIG_NF_DEFRAG_IPV6=m CONFIG_NF_CONNTRACK_IPV6=m # CONFIG_NF_SOCKET_IPV6 is not set # CONFIG_NF_DUP_IPV6 is not set CONFIG_NF_REJECT_IPV6=m # CONFIG_NF_LOG_IPV6 is not set # CONFIG_NF_NAT_IPV6 is not set CONFIG_IP6_NF_MATCH_IPV6HEADER=m # CONFIG_AF_RXRPC_IPV6 is not set How to recompile my kernel and run Xorg if I have old config saved automatically in /usr/src/linux-debian-sources-4.14.2 # ls -la /usr/src/linux .... -rw-r--r-- 1 root root 59 ноя 24 10:37 .cocciconfig -rw-r--r-- 1 root root 197345 янв 5 15:37 .config -rw-r--r-- 1 root root 151394 янв 4 16:44 .config--2018-01-04--16-44-29.bak -rw-r--r-- 1 root root 197345 янв 5 13:56 .config--2018-01-05--13-56-08.bak - this is workable -rw-r--r-- 1 root root 130817 янв 5 15:35 .config--2018-01-05--15-35-18.bak -rw-r--r-- 1 root root 197345 янв 5 15:36 .config.old .... What was wrong?
  2. I am trying to bring up a system with ZFS following https://www.funtoo.org/ZFS_Install_Guide I'm having trouble booting. at the completion of the steps in the Guide. # grub-mkconfig -o /boot/grub/grub.cfg None of the 'initramfs-genkernel-XXXX' are being found that were build with the --zfs flag. The Guide indicates these initramfs-genkernel's should be the ones found in its example output. grub-mkconfig is finding the normal initramfs-debian-sources-XXXX and kernel files and these were not build with the --zfs flag to my knowledge. Anyone have any idea why this is happening and how to fix it? If I force a menu entry in /etc/grub.d/40_custom that uses initramfs-genkernel-XXXX the system will boot until it reaches the point where it tries to import the pools. Gives error cannot import 'rpool' no such pool or dataset destroy and re-create the pool... Yet if I go to the grub shell and do a zpool import rpool is found. What is going on here? I think something is broken as when emerging zfs, zfs-0.7.3 and and a new grub were pulled in. Has anyone gotten zfs install to work with the *current* portage? I know it worked in the past, doesn't seem to be working now.
  3. after reading the docs its not clear to me what it is i need to change in /etc/boot.conf , which is unchanged I think. the old 4.8.15-1 is default at this point would like to have new one. i just want to keep the old kernel around a while just in case. $ cat /etc/boot.conf boot { generate grub default "Funtoo Linux" timeout 3 } "Funtoo Linux" { kernel bzImage[-v] } "Funtoo Linux genkernel" { kernel kernel[-v] initrd initramfs[-v] params += real_root=auto rootfstype=auto } "memtest86+" { type linux16 kernel /memtest86.bin } -rw-r--r-- 1 root root 3.2M Dec 27 17:41 System.map-debian-sources-x86_64-4.14.2-1 -rw-r--r-- 1 root root 3.3M Dec 24 2016 System.map-debian-sources-x86_64-4.8.15-1 -rw-r--r-- 1 root root 8.8M Dec 27 19:22 initramfs-debian-sources-x86_64-4.14.2-1 -rw-r--r-- 1 root root 7.8M Dec 24 2016 initramfs-debian-sources-x86_64-4.8.15-1 -rw-r--r-- 1 root root 4.8M Dec 27 17:41 kernel-debian-sources-x86_64-4.14.2-1 -rw-r--r-- 1 root root 4.2M Dec 24 2016 kernel-debian-sources-x86_64-4.8.15-1 -rw-r--r-- 1 root root 147K Sep 15 07:54 memtest86.bin any help appreciated, thanks
  4. Hello, I have an encrypted LUKS root filesystem on one harddisk that I "open" with a passphrase at startup. The initrd.script of genkernel package provide the methods for decrypting. But if I understand the script(s) correct this will work only for encrypted root and swap devices. Normally I have my home directory on an additional raid10 setup which should be encrypted too. There is a comment at the top of the script which says that I need cryptsetup-luks for decrypting additional encrypted devices but this package does not exist anymore. Does someone is using a similar setup? Where would be the best place to add a hook for opening an additional LUKS container? For testing I added already some code to initrd.script and I was able to enter a passphrase to open the additional LUKS container but then the init script was not able to mount / to /newroot. Any ideas? Matthias