Jump to content
funtoo forums

Search the Community

Showing results for tags 'kernel'.

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.

Marker Groups

  • Members

Found 14 results

  1. Several questions about kernel

    Hello! I am trying to install gentoo-sources again, cause the problem of my Laptop Lenovo G 50-30 rests, it suddenly freezes sometimes. I emerged and compiled gentoo-sources and it successfully booted but I am watching 3 problems: 1. Sound does not work 2. Debian sources was deleted from boot, so I have only one kernel that works not fine. I did only that: # cd /usr/src # rm linux # ln -s linux-4.15.12-gentoo linux # genkernel --menuconfig all ''' then I loaded .config from debian-sources folder ''' and switched on some Atheros Wireless drivers, ''' switched off all other wifi drivers, wimax, switched off bluetooth ''' also switched off one single line of ipv6 support ''' switched off several lines in firmware: Dell bios ''' and saved my config to /usr/src/linux/.config # boot-update # reboot Now I have only gentoo kernel compiled and placed into /boot . Where is debian-sources? I have no sound. What to do for sound? Gentoo-sources config, devices, modules, dmesg: # cat /usr/src/linux/.config | nc termbin.com 9999 http://termbin.com/a5kz # lspci | nc termbin.com 9999 http://termbin.com/l19gb # lsmod | nc termbin.com 9999 http://termbin.com/t2du # cat dmesg | nc termbin.com 9999 http://termbin.com/3ubf PS: and more then that, genkernel says during compilation process : >> Not installing firmware as requested by configuration FIRMWARE_INSTALL=no... but I have installed linux-firmware: # equery l linux-firmware * Searching for linux-firmware ... [I-O] [ ] sys-kernel/linux-firmware-20180314:0 I need some actual manual about kernel compilation for local architecture and tasks. I want to remove all unnecessary stuff. Can I unmark all lines in Device drivers ? And how to determine necessary lines for my pc looking lsmod?? Can I unmark all from Network support and what shuold I enable for connect to router via wifi atheros qualcom, using only ipv4 without ipv6? Do you recommend localmodconfig?
  2. Hello everyone, I've been using Funtoo on my main desktop PC for quite some time. Now I'm expanding the family building a small (and "weak") NAS and I'd like to have the OS on a USB key, easy to move and clone. I created a chroot environment on the desktop and installed Funtoo inside it; it all went well, except that when I tried to compile a new kernel ( gentoo-sources-4.15.4 ) the modules_install phase fails: more specifically, depmod.sh fails. As consequence, apparently, the kernel fails to boot. I tried different methods: manual compilation, genkernel and genkernel-next, all with the same result. It worth mentioning that the two CPU are different, but both x86_64 and I modified the *FLAGS accordingly. The two errors are: ./scripts/depmod.sh: line 46: 6113 Illegal instruction "$DEPMOD" -b "$tmp_dir" $KERNELRELEASE 2> /dev/null *./scripts/depmod.sh: line 58: 6118 Illegal instruction "$DEPMOD" "$@" "$KERNELRELEASE" $SYMBOL_PREFIX I'm not too knowledgeable and couldn't find a hint from those. Thanks
  3. How to get new kernel ?

    Hello! I emerged gentoo-sources to try if my Lenovo G50-30 will not freeze suddenly on it. I do not know where get config for it. I used config from /usr/src/debian-sources dir - last saved config that I think is workable. Is it right? It compiled, but there is no new kernel in /boot. What to do after compilatioon?
  4. 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?
  5. Hello! Some news like this https://lkml.org/lkml/2018/1/3/780 nudged me to ask how to work with my kernel. I am using debian-sources and seeing this # eix debian-sources [I] sys-kernel/debian-sources Available versions: (4.8.15) 4.8.15^mbs (4.11.11-r1) **4.11.11-r1^mbs (4.12.12) **4.12.12^mbs (4.13.10) **4.13.10^mbs (4.13.13) **4.13.13^mbs (4.14.2) 4.14.2^mbs {binary} Installed versions: 4.8.15(4.8.15)^mbs(21:21:26 18.12.2017)(binary) 4.14.2(4.14.2)^mbs(09:27:22 27.12.2017)(binary) Homepage: http://www.debian.org Description: Debian Sources (and optional binary kernel) * sys-kernel/debian-sources-lts Available versions: (4.9.30-LTS) **4.9.30^mbs (4.9.47-LTS) **4.9.47^mbs (4.9.51-LTS) **4.9.51^mbs (4.9.65-LTS) **4.9.65^mbs {binary} Homepage: http://www.debian.org Description: Debian Sources (and optional binary kernel) Found 2 matches # cat /proc/version Linux version 4.8.15-1 (portage@sysresccd) (gcc version 5.4.0 (Funtoo 5.4.0) ) #1 SMP Mon Dec 18 16:46:40 -00 2017 # uname -r 4.8.15-1 # dmesg | grep Linux [ 0.000000] Linux version 4.8.15-1 (portage@sysresccd) (gcc version 5.4.0 (Funtoo 5.4.0) ) #1 SMP Mon Dec 18 16:46:40 -00 2017 [ 4.182641] Linux agpgart interface v0.103 [ 16.151446] usb usb1: Manufacturer: Linux 4.8.15-1 ehci_hcd [ 16.222632] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 17.943979] media: Linux media interface: v0.10 [ 17.954357] Linux video capture interface: v2.00 # eselect kernel list Available kernel symlink targets: [1] linux-debian-sources-4.8.15 [2] linux-debian-sources-4.14.2 * What is mbs? Where to look if debian-sources had been patched? If you have a time which criteria do you use choosing the kernel? I am trying to compile kernel using wiki https://www.funtoo.org/Funtoo_Linux_Kernels But I cannot configure kernel for intel n3530: # lscpu Архитектура:x86_64 CPU op-mode(s): 32-bit, 64-bit Порядок байт:Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Ядер на сокет:4 Сокетов: 1 NUMA node(s): 1 ID прроизводителя:GenuineIntel Семейство ЦПУ:6 Модель: 55 Имя модели: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz Степпинг: 8 CPU MHz: 575.422 CPU max MHz: 2582,3000 CPU min MHz: 499,8000 BogoMIPS: 4331.60 Виртуализация:VT-x L1d cache: 24K L1i cache: 32K L2 cache: 1024K NUMA node0 CPU(s): 0-3 Флаги: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat # ./config-extract -l ====== standard featureset ====== alpha: alpha-generic, alpha-smp amd64 arm64 armel armhf: armmp, armmp-lpae hppa: parisc, parisc64-smp i386: 686, 686-pae m68k mips: 4kc-malta, 5kc-malta, octeon mips64: 5kc-malta, octeon mips64el: 5kc-malta, loongson-3, octeon mips64r6 mips64r6el mipsel: 4kc-malta, 5kc-malta, loongson-3, octeon mipsr6: mips32r6, mips64r6 mipsr6el: mips32r6el, mips64r6el powerpc: powerpc, powerpc-smp, powerpc64 powerpcspe ppc64 ppc64el s390x sh4: sh7751r, sh7785lcr sparc64: sparc64, sparc64-smp ====== rt featureset ====== amd64 i386 # ./config-extract 686 Traceback (most recent call last): File "./config-extract", line 169, in <module> if featureset not in archdict[arch]: KeyError: '686' # ./config-extract i386 686 Error: There is no '686' featureset kernel config for arch 'i386'. Exiting. {'rt': ['686-pae'], None: ['686-pae', '686']} # ./config-extract i386 Error: there is more than one 'sub-architecture' for this arch. Please specify [arch] [featureset] [subarch], with one of these subarches: 686-pae, 686 # ./config-extract i386 686 Error: There is no '686' featureset kernel config for arch 'i386'. Exiting. {'rt': ['686-pae'], None: ['686-pae', '686']} # ./config-extract i386 686-pae Error: There is no '686-pae' featureset kernel config for arch 'i386'. Exiting. {'rt': ['686-pae'], None: ['686-pae', '686']} As I know my proc is 686. How to define 686 sub-arch to config-extract?
  6. bcache bug in 4.14.0

    Wondered if anyone had seen this bug, affects sys-kernel/gentoo-sources-4.14.0: link
  7. Debian-sources merge failed

    I'm installing Funtoo with the install handbook from the site. i have done this before and no problems. But now when i want to install the debian sources, it failes with error "Build requirements not met!" I did the --info command, but it does not give me info i can use or understand the problem. Kernel version is 4.5.2
  8. Can't boot on my Funtoo

    Yesterday night I performed a global upgrade of all my packages, noticed that it had genkernel updates included. The system upgraded nice and clean. I was doing my work while it worked. Turned off my PC after a depclean. But it seems that I had to eselect and boot-update the new kernel before doing that for now I can't boot to my OS anymore. Ok... Burned a System rescuecd 4.7.1 (the most recent on the install page). To try mounting my Funtoo installation directories and doing what I forgot last night. My problem is, everytime I boot this System rescuecd from my pen or any of the latest versions of it. I get at certain boot part of this cd what follows: 'Error: Cannot mount sysrcd.dat (none ....kernel details....)' and it gives me the basic terminal. (By the way, I'm currently having to use my Windows instalation, that's the only one that still works and burning the systemrescuecd with lili, (this kind of thing) is one of those situations that never gave any problem such as I reported... I'm stuck, for it never happened to me before. My computer hardware is very recent too. Can any of you guys possibly have an idea for me? Thanks in advance.
  9. Hello guys, does anyone here has already configure funtoo on a intel processor serie i7 with haswell as microarchitecture? If yes, could post here to me the dmesg and the .config of the kernel? I'm having a lot of trouble to make this work. And I really don't know why, but I'm almost sure that I've a hardware problem and not a kernel configuration problem, but I want to be sure, and I think I can be a little more sure if I compare my kernel configuration with the configuration of someone that has this configuration working. Thank you guys! Happy new year to all !!!
  10. OK, I have my kernel in @system, not in @world, and my kernel sources don't support 3.17 yet because its ck-sources, nor do I want to upgrade my kernel. I'm tired of compiling and tired of stuff being broken. WHY is it trying to install kernel-headers 3.17-r1? My kernel is 3.13, so this sounds like a really BAD idea. Shouldn't portage be smart enough not to do this? Maybe funtoo was a bad idea. Weeks now and still not finished installing! This shouldn't be this difficult. I only did a sync because it was supposed to fix gedit's vapigen thing, and its still broken just giving me different error (see other thread), php is still not building due to sandbox violations, and now I have a new problem I didn't have before. Next step is a hammer! Anyone know how to fix this??
  11. Hello guys, I'm having problems with kernel panic again and also with my sound. It seems that the kernel panic only occurs when I'm trying to emerge mplayer with the use flags a52 and ffmpeg. I could emerge mplayer without this two flags. And I can't get sound on mplayer/smplayer working, but I can get the sound working on the videos from youtube. I've here my dmesg and kernel configuration for more expert users can take a look and see if there is something (I know there is, but not what exactly) wrong. Just some points, after a while I gave up trying to install funtoo with crypt HD using LVM and busybox, I'll come back to that later, but for now, I need my notebook for work. So I have installed the funtoo in a very normal way, GPT uncrypted, using gentoo-sources and genkernel. Here is the config files: dmesg: https://bpaste.net/show/f0883dc6d635 kernel: https://bpaste.net/show/f1aa0e87a00a Thanks guys! PS: I tried to take a photo of the screen but the image got all fuzzy, so whenever it occurs again I'll try to get a better photo and post here.
  12. Phoronix: Using Udev Without Systemd Is Going To Become Harder http://www.phoronix.com/scan.php?page=news_item&px=MTczNjI Funtoo with eudev works very well for my purposes and so I have not dabbled with systemd. No doubt other distros and users are very happy with it. I am ignorant to the politics and decision making around systemd and udev. It does seem to me disappointing that udev would be changed in such a way that it breaks functionality with non-systemd init daemons. If that is not "forcing distros to use systemd" then I don't know what is. -_-
  13. Minimal LiveCD Reiser4 FS - Fabio Scaccabarozzi http://faskatech.net/ Reiser4 FS kernel patch - Edward Shishkin http://sourceforge.net/projects/reiser4/ Creating file systems: #mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sdaX Patch the kernel: #gzip -dc reiser4-for-3.xx.x.patch.gz | patch -p1 Compilebench https://reiser4.wiki.kernel.org/index.php/File:Compilebench-0.6.pdf Flexible IO Tester - Intel phoronix.com - [ less is better ] Image report: http://openbenchmarking.org/embed.php?i=1307311-SO-LINUX310R53&sha=c4f5b4f&p=2
  14. Cleaning kernel

    did "cleaning kernel" need a lot time? my terminal just show * Linux Kernel 3.14.4-1 for x86... * .. with config file /var/tmp/portage/sys-kernel/debian-sources-3.14.4/temp/config * kernel: Using config from /var/tmp/portage/sys-kernel/debian-sources-3.14.4/temp/config * kernel: >> Running mrproper... * >> Running oldconfig... * kernel: >> Cleaning... is it fine? i wait this from yesterday :D sorry, my english is bad