Gentoo Archives: gentoo-user

From: Kerin Millar <kerframil@×××××××××××.uk>
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:15:45
Message-Id: 52FE9586.9050106@fastmail.co.uk
In Reply to: [gentoo-user] Re: How to run 2.6.25 kernel (no DEVTMPFS)? by Grant Edwards
1 On 14/02/2014 21:31, Grant Edwards 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 from
7 >>> 3.14.rc2 to 2.6.32. There are various gcc and make issues which have
8 >>> been successfully dealt with, but now I'm stuck on DEVTMPFS.
9 >>>
10 >>> Prior to 2.6.32 DEVTMPFS isn't available, so even though I can build
11 >>> and boot a 2.6.25 kernel, udev craps out.
12 >>>
13 >>> There are plenty of spare paritions to play with, so doing a Linux
14 >>> install to test with kernels older than 2.6.32 is no problem.
15 >>>
16 >>> I'm wondering if instead of downloading an old Ubuntu or Fedora DVD,
17 >>> is there any way to install an "old" version of Gentoo that will work
18 >>> with pre-DEVTMPFS kernels?
19 >>
20 >> Do you actually need udev?
21 >
22 > Good question -- I probably don't. For the testing in question I
23 > should be able to live with a static /dev directory. Is there any
24 > documentation on doing a Gentoo install without udev?
25 >
26 >> If you can get away with just having a static /dev with pre-created
27 >> device nodes, that would be the simplest solution.
28 >
29 > It would probably be asking for too much to try to toggle between udev
30 > and static /dev at boot time in a single installation...
31 >
32
33 I remember that it was possible to toggle before openrc was introduced.
34
35 As things stand now, you would probably have to replace sys-fs/udev with
36 sys-fs/static-dev (which satisfies virtual/dev-manager). NeddySeagoon
37 mentions it here:
38
39 http://dev.gentoo.org/~neddyseagoon/Old_Fashioned_Gentoo_2.xml
40
41 He also describes its coverage as being incomplete. In that case, this
42 may help to populate /dev to a reasonable extent:
43
44 https://bugs.gentoo.org/show_bug.cgi?id=368597#c97
45
46 --Kerin