Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How to run 2.6.25 kernel (no DEVTMPFS)?
Date: Fri, 14 Feb 2014 22:00:56
Message-Id: b7165e0a-3718-4152-bfee-a9aed9ac7827@email.android.com
In Reply to: [gentoo-user] Re: How to run 2.6.25 kernel (no DEVTMPFS)? by Grant Edwards
1 On 14 February 2014 22:31:54 CET, Grant Edwards <grant.b.edwards@×××××.com> wrote:
2 >On 2014-02-14, Mike Gilbert <floppym@g.o> wrote:
3 >> On Fri, Feb 14, 2014 at 4:12 PM, Grant Edwards
4 >><grant.b.edwards@×××××.com> wrote:
5 >>> I need to do some testing with kernels as far back as 2.6.25. I've
6 >>> currently got a Gentoo box that can build and run kernels ranging
7 >from
8 >>> 3.14.rc2 to 2.6.32. There are various gcc and make issues which have
9 >>> been successfully dealt with, but now I'm stuck on DEVTMPFS.
10 >>>
11 >>> Prior to 2.6.32 DEVTMPFS isn't available, so even though I can build
12 >>> and boot a 2.6.25 kernel, udev craps out.
13 >>>
14 >>> There are plenty of spare paritions to play with, so doing a Linux
15 >>> install to test with kernels older than 2.6.32 is no problem.
16 >>>
17 >>> I'm wondering if instead of downloading an old Ubuntu or Fedora DVD,
18 >>> is there any way to install an "old" version of Gentoo that will
19 >work
20 >>> with pre-DEVTMPFS kernels?
21 >>
22 >> Do you actually need udev?
23 >
24 >Good question -- I probably don't. For the testing in question I
25 >should be able to live with a static /dev directory. Is there any
26 >documentation on doing a Gentoo install without udev?
27 >
28 >> If you can get away with just having a static /dev with pre-created
29 >> device nodes, that would be the simplest solution.
30 >
31 >It would probably be asking for too much to try to toggle between udev
32 >and static /dev at boot time in a single installation...
33
34 Not aware of documentation.
35 Mkdev would be a good start for google.
36
37 To toggle at boottime, use different runlevels.
38
39 1 that mounts tmpfs over /dev and starts udev.
40 Another that doesn't.
41
42 And /dev contains static device nodes.
43
44 --
45 Joost
46 --
47 Sent from my Android device with K-9 Mail. Please excuse my brevity.