On Fri, Oct 30, 2015, at 16:30, Richard Weinberger wrote: > On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco <balacob...@imap.cc> wrote: > > I restarted, now I've got another kernel source (2.6.32.68), knowing > > that it may be old, but it's the "newer old" for 2.6, and I hoped that > > it would work. > > Are you an archeologist? ;-) > Is there a particular reason why you can't use something recent? >
I hope this is just a joke, because the kernel.org says about this kernel version: "longterm / 2.6.32.68 / 2015-09-18", and the changelog (which I check as I wrote this sentence) has many changes made very recently. Most of remote machines I'm using right now have Ubuntu installed on them. The newer Ubuntu releases have suffered, always with things that use to work since years before... and suddenly (or magically) someone do something to make them break. I prefer relatively old things - that work, and there are many! It is usually easier to work with things that are known to many people and for a long time than recent nice changes that sometimes have new surprises. And I checked one detail: Welcome to "Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-61-generic x86_64)"; this is what I see when I log into one of the remote machines. If Ubuntu is using 3.13 kernels I won't even bother trying the 4.x+ ones. I prefer a linux with a kernel like those that were used in machines that stayed up for years, without any big changes on them (just configuration files, rarely, and nothing else). We see so many people with top-notch mobiles and tables that sometimes suffer to do basic things we have done for decades, like sending email... that's no good technology, I don't want to be too close to these. :) Anyway, lets stop talking nonsense... hehehehe > > Steps done: > > > > 1. downloaded https://cdn. kernel > > .org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.68.tar.xz > > 2. extract with tar cJf (whatever) > > 3. A few commands: > > make defconfig ARCH=um > > # config is saved on a file, to be restarted from a known point > > whenever needed > > make menuconfig ARCH=um > > make mrproper # zero start guarantee when > > repeating these steps > > make mrproper ARCH=um # " > > make ARCH=uml > > > > 4. It stops a few seconds after, with a few errors that may be simple to > > fix: > > > > =============== > > arch/um/os-Linux/start_up.c: In function 'check_coredump_limit': > > arch/um/os-Linux/start_up.c:340:16: error: storage size of 'lim' isn't > > known > > struct rlimit lim; > > ^ > > arch/um/os-Linux/start_up.c:341:2: error: implicit declaration of > > function 'getrlimit' [-Werror=implicit-function-declaration] > > int err = getrlimit(RLIMIT_CORE, &lim); > > ^ > > arch/um/os-Linux/start_up.c:341:22: error: 'RLIMIT_CORE' undeclared > > (first use in this function) > > int err = getrlimit(RLIMIT_CORE, &lim); > > ^ > > arch/um/os-Linux/start_up.c:341:22: note: each undeclared identifier is > > reported only once for each function it appears in > > arch/um/os-Linux/start_up.c:349:22: error: 'RLIM_INFINITY' undeclared > > (first use in this function) > > if (lim.rlim_cur == RLIM_INFINITY) > > ^ > > arch/um/os-Linux/start_up.c:340:16: warning: unused variable 'lim' > > [-Wunused-variable] > > struct rlimit lim; > > ^ > > cc1: some warnings being treated as errors > > make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 > > make: *** [arch/um/os-Linux] Error 2 > > > > =============== > > > > Do you know the reason for these two errors? And how I should fix them? > > It depends what libc you're using. AFAICT libc moved a header file to > a new location. > I'll try to find in which header file those should exist... if Internet does not find the answer for me (and I have searched a bit before, while writing the previous message) I'll make a good old grep... if nothing works, I'll write again. Thank you, -- Balaco -- http://www.fastmail.com - Email service worth paying for. Try it for free ------------------------------------------------------------------------------ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user