lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Oct 2008 22:29:56 +0200
From:	Willy Tarreau <w@....eu>
To:	j.d.-linux-kernel@...or.de
Cc:	linux-kernel@...r.kernel.org
Subject: Re: How can I build a 2.4 kernel on a 2.6 System

Hi,

On Fri, Oct 24, 2008 at 02:16:40PM +0200, j.d.-linux-kernel@...or.de wrote:
> Hello list
> 
> I will build some 2.4 kernel modules on a system with a running 2.6 kernel.
> 
> Is it possible and how can I do this?

Not sure what you really mean. If you mean build 2.4 modules for 2.4 on
a machine running 2.6, that's OK as there's no dependency between the
running kernel and the one you're building. However, you should be
careful about two things :
  - gcc: it tends to be too recent for 2.4. gcc 4.1 is the highest version
    supported.
  - modutils: most recent distros only ship module-init-tools without the
    old depmod. If you intend to "make modules_install INSTALL_MOD_PATH=..."
    then get prepared to see some errors from depmod at the end. The easiest
    solution consists in getting a depmod from an old machine an installing
    it in /tmp for instance.

Hoping this helps,
Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ