Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to compile a custom Linux Kernel but when I get to the last step and compiling VMLinux.o,
the make process gets killed and shows error137, which means that I'm out of memory.
I'm on 4gb RAM, a core2duo and have compiled Kernels before without any issues.
The issue started when I was editing make menu config so I must have done something that makes the compilation require more RAM.
i've already tried ''make -j1'' to compile the Kernel but I still get the same issue.
(P.S I'm doing it from an live image of Linux Mint so I don't have a swap partition but that hasn't been a problem until now.)
yes, especially optimization may require a lot of RAM. Anyway, if you can add swap try it. and shut down anything else (if possible). Even you can try it without GUI.
Worked, all good now except when i'm trying to ''ip link'' to my ethernet/wi-fi i can't find any of them. What part of the ''menuconfig'' is used in order for eth0/wi-fi to show up, do you know?
Location: Generalized in equations, without escape!
Distribution: Arch
Posts: 14
Rep:
Does ip link throw an error? Also, make sure you enabled support for IPv4/IPv6 and Ethernet, and if they are built as modules, make sure they're locked and loaded. Well, I mean, preferably not locked but you get the idea.
Worked, all good now except when i'm trying to ''ip link'' to my ethernet/wi-fi i can't find any of them. What part of the ''menuconfig'' is used in order for eth0/wi-fi to show up, do you know?
I think it comes under Drivers. You need to include the specific drivers for your cards. lspci -v should show you what they are.
I was always told that network drivers should be compiled and loaded as modules, not built in, because sometimes they need to load firmware which might not be available until the root filesystem has been mounted. But I don't know if that still applies
Location: Generalized in equations, without escape!
Distribution: Arch
Posts: 14
Rep:
That's what I do with my network drivers that aren't the default TCP/IP stack or Ethernet drivers. I keep those baked in because I once had a bad experience and needed them.
In addition to hazel's tip about using lspci -v, check the "Kernel driver in use field" and "Kernel modules" and see if you did in fact build them, but they aren't working for some reason. Might save you a rebuild.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.