Gentoo Archives: gentoo-user

From: Lord Sauron <lordsauronthegreat@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
Date: Thu, 30 Mar 2006 00:16:50
Message-Id: e5a3e9ac0603291611s5c2fa3d8xcce855722f60165c@mail.gmail.com
In Reply to: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel by Bo Andresen
1 On 3/29/06, Bo Andresen <bo.andresen@×××××.com> wrote:
2 > On Wednesday 29 March 2006 21:58, Lord Sauron wrote:
3 > > Okay, here's where I've isolated the problem to. This might be a
4 > > rather lengthy explanation, so make sure you have about 15 minutes on
5 > > your hands before diving in. However, the explanation shouldn't take
6 > > long - I've never actually compiled/installed/used a kernel before.
7 > > Okay, enough apologising in advance: down to business.
8 > >
9 > > I know that it correctly compiles the kernel. I put a new name for
10 > > the new kernel (test1) to try and ID it as it floats about all the
11 > > other kernels I'm too scared to delete.
12 > >
13 > > # make install
14 > >
15 > > Sticks it into /boot. /boot now reads
16 > >
17 > > System.map config.old
18 > > System.map-2.6.15-gentoo-r1 grub
19 > > System.map-2.6.15-gentoo-r1.old
20 > > initramfs-genkernel-x86-2.6.15-gentoo-r5 System.map-2.6.15-gentoo-r1test1
21 > > kernel-genkernel-x86-2.6.15-gentoo-r5
22 > > System.map-2.6.15-gentoo-r1test1.old lost+found
23 > > System.map.old vmlinuz
24 > > boot vmlinuz-2.6.15-gentoo-r1
25 > > config vmlinuz-2.6.15-gentoo-r1.old
26 > > config-2.6.15-gentoo-r1 vmlinuz-2.6.15-gentoo-r1test1
27 > > config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
28 > > config-2.6.15-gentoo-r1test1 vmlinuz.old
29 > > config-2.6.15-gentoo-r1test1.old
30 > >
31 > > Not terribly exciting. However, I went to /boot/grub/menu.lst and it
32 > > reads as such:
33 > >
34 > > localhost boot # cat ./grub/menu.lst
35 > > default 0
36 > > timeout 7
37 > > splashimage=(hd0,0)/grub/splash.xpm.gz
38 > > title=Gentoo Linux
39 > > root (hd0,0)
40 > > kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
41 > > init=/linuxrc ramdisk=8192 real_root=/dev/hda3
42 > > initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
43 > >
44 > > The most concerning part is the last three lines. For any kernel, it
45 > > appears to demand the kernel itself. If you'll refer back to # ls
46 > > /boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
47 > > there.
48 >
49 > Sure it is. It's vmlinuz-2.6.15-gentoo-r1test1 and make install even made a
50 > symlink to it: vmlinuz.
51
52 So that's what it's all about... Okay, that makes sense now.
53
54 > If you type ls -l /boot/vmlinuz it should give something that end on:
55 > /boot/vmlinuz -> vmlinuz-2.6.15-gentoo-r1test1
56 >
57 > > Nor is the initrd.
58 >
59 > If you don't use genkernel you don't actually need an initrd. If you want one
60 > you have to enable it. I can't tell you how since I don't use it myself.
61
62 Okay. So there are two ways of making kernels, and one of them is
63 with Genkernel and I'm not using that so I don't need to worry, right?
64
65 > > I don't know where they might be, or if
66 > > they're not there then how to generate them.
67 >
68 > Try adding the following to /boot/grub/menu.lst:
69 >
70 > title Gentoo Linux test1
71 > root (hd0,0)
72 > kernel /vmlinuz root=/dev/hda3
73 >
74 > This will create a new menu item in Grub during start up. If you want this
75 > kernel to be selected by default you either add above the genkernel menu item
76 > shown above or change the default to 1. After default you can add a fallback
77 > line and set it to another kernel than the default.
78 >
79 > This is a part of my menu.lst:
80 > ================================================================
81 > # Boot automatically after 30 secs.
82 > timeout 5
83 >
84 > # By default, boot the first entry.
85 > default 0
86 >
87 > # Fallback to the second entry.
88 > fallback 1
89 >
90 > # Reboot 5 seconds after a kernel panic
91 > panic=5
92 >
93 > # Nice splash image for grub :)
94 > splashimage=(hd0,1)/grub/splash.xpm.gz
95 >
96 > title Gentoo Linux
97 > root (hd0,1)
98 > kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
99 > splash=silent,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
100 > initrd /fbsplash-livecd-2006.0-1400x1050
101 >
102 > title Gentoo Linux (Old)
103 > root (hd0,1)
104 > kernel /vmlinuz.old root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
105 > splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
106 > initrd /boot/fbsplash-livecd-2006.0-1024x768
107 > ================================================================
108 >
109 > The indented lines are on the end of the kernel line above them. My initrd's
110 > are create by splashutils and have nothing to do with compiling the kernel.
111 > If they are removed it boots just as well just without the livecd-2006 theme.
112 >
113 > > If I can find out those two things then I should be able to test my
114 > > new kernel and see if it actually worked.
115 > >
116 > > On 3/28/06, Neil Bothwick <neil@××××××××××.uk> wrote:
117 > > > On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
118 > > > > > Sorry, what does YMMV mean?
119 > > > >
120 > > > > Those are the resources that I use for that kind of questions:
121 > > > >
122 > > > > http://en.wikipedia.org/wiki/YMMV
123 > > > > http://www.urbandictionary.com/define.php?term=ymmv
124 > > >
125 > > > You can also emerge wtf.
126 > >
127 > > I assume wtf will tell me what wtf stands for... is the last letter
128 > > representative of a forbidden word, by any chance?
129 >
130 > Of course ;) :
131 >
132 > $ wtf wtf
133 > WTF: {what,when,where,who,why} the fuck
134 >
135 > > > $ wtf ymmv
136 > > > YMMV: your mileage may vary
137 > > >
138 >
139 > Yeah, it's just that the wiki and sometimes the urban dictionary are often
140 > more detailed. :)
141 >
142 > --
143 > Bo Andresen
144 > --
145 > gentoo-user@g.o mailing list
146 >
147 >
148
149
150 --
151 ========== GCv3.12 ==========
152 GCS d-(++) s+: a? C++ UL+>++++ P+
153 L++ E--- W+(+++) N++ o? K? w--- O? M+
154 V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
155 DI+++ D+ G e* h- !r !y
156 ========= END GCv3.12 ========
157
158 --
159 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron <lordsauronthegreat@×××××.com>
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Teresa and Dale <teendale@×××××××××××××.com>