* [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
@ 2006-03-24 7:10 Lord Sauron
2006-03-24 8:19 ` Gabriel Dain
` (3 more replies)
0 siblings, 4 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-24 7:10 UTC (permalink / raw
To: gentoo-user
Hi,
I'm very very new to Gentoo. I managed to squeak through a install
from the live CD, however, this gave me a kernel with little or no
ACPI support - I have a laptop, so I'd like to have this support
enabled.
However, I don't know how to rebuild the kernel, or do so enabling
ACPI support. I only know a few precious things about emerge, like
--sync, --search, and even --help, but beyond that I'm not that good
at all, and the man pages didn't offer much help for me.
I know this is a painfully elementary question, but thanks for any
help you can give!
====== Lord Sauron the Great =====
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
====== www.geekcode.com =======
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
@ 2006-03-24 8:19 ` Gabriel Dain
2006-03-24 8:27 ` Teresa and Dale
2006-03-24 9:34 ` Neil Bothwick
2006-03-24 9:02 ` Alexander Kirillov
` (2 subsequent siblings)
3 siblings, 2 replies; 47+ messages in thread
From: Gabriel Dain @ 2006-03-24 8:19 UTC (permalink / raw
To: gentoo-user
> However, I don't know how to rebuild the kernel
# cd /usr/src/linux
# make menuconfig
<!--- Add whatever support you need, i've never worked with ACPI, sorry --->
# make && make modules_install
# reboot
that should do it, if support is what you need. However, this will
probably be more useful:
# emerge -av acpid <!--- -av means --verbose and --ask, so you can see
what you're actually emerging, and have to choice no to, if you want
--->
and read this for help on configuring it:
http://gentoo-wiki.com/TIP_ACPI_basic_configuration
Gabriel Dain
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 8:19 ` Gabriel Dain
@ 2006-03-24 8:27 ` Teresa and Dale
2006-03-25 0:14 ` Lord Sauron
2006-03-25 14:07 ` Alexander Skwar
2006-03-24 9:34 ` Neil Bothwick
1 sibling, 2 replies; 47+ messages in thread
From: Teresa and Dale @ 2006-03-24 8:27 UTC (permalink / raw
To: gentoo-user
Gabriel Dain wrote:
>>However, I don't know how to rebuild the kernel
>>
>>
>
># cd /usr/src/linux
># make menuconfig
><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
># make && make modules_install
>
>
Addition:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
Then add it or change it in bootloader, grub is easier on this one. ;-)
Then . . . .
># reboot
>
>that should do it, if support is what you need. However, this will
>probably be more useful:
>
># emerge -av acpid <!--- -av means --verbose and --ask, so you can see
>what you're actually emerging, and have to choice no to, if you want
>--->
>
>and read this for help on configuring it:
>http://gentoo-wiki.com/TIP_ACPI_basic_configuration
>
>Gabriel Dain
>
>
>
Other than that, pretty good start. May need more help though since you
are new to this. Welcome to Gentoo Linux. You'll get over that feeling
of being a 'long tail cat in a room full of rocking chairs' after a
while. LOL
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
2006-03-24 8:19 ` Gabriel Dain
@ 2006-03-24 9:02 ` Alexander Kirillov
2006-03-24 16:38 ` Richard Fish
2006-03-25 3:44 ` Mait
3 siblings, 0 replies; 47+ messages in thread
From: Alexander Kirillov @ 2006-03-24 9:02 UTC (permalink / raw
To: gentoo-user
> I'm very very new to Gentoo. I managed to squeak through a install
> from the live CD, however, this gave me a kernel with little or no
> ACPI support - I have a laptop, so I'd like to have this support
> enabled.
>
> However, I don't know how to rebuild the kernel, or do so enabling
> ACPI support. I only know a few precious things about emerge, like
> --sync, --search, and even --help, but beyond that I'm not that good
> at all, and the man pages didn't offer much help for me.
There's a chapter on kernel config in Gentoo handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
If LiveCD kernel works for you,
you may use its config as a starting point for your custom kernel.
There's a couple of articles on Gentoo wiki which may be helpful:
http://gentoo-wiki.com/Index:HOWTO#ACPI_.26_APM
HTH,
Sasha
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 8:19 ` Gabriel Dain
2006-03-24 8:27 ` Teresa and Dale
@ 2006-03-24 9:34 ` Neil Bothwick
1 sibling, 0 replies; 47+ messages in thread
From: Neil Bothwick @ 2006-03-24 9:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
On Fri, 24 Mar 2006 19:19:07 +1100, Gabriel Dain wrote:
> # cd /usr/src/linux
> # make menuconfig
> <!--- Add whatever support you need, i've never worked with ACPI, sorry
> ---> # make && make modules_install
> # reboot
That should be "make && make modules_install && make install" or your new
kernel will still be in /usr/src/linux :(
--
Neil Bothwick
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
2006-03-24 8:19 ` Gabriel Dain
2006-03-24 9:02 ` Alexander Kirillov
@ 2006-03-24 16:38 ` Richard Fish
2006-03-24 16:39 ` Richard Fish
2006-03-25 3:44 ` Mait
3 siblings, 1 reply; 47+ messages in thread
From: Richard Fish @ 2006-03-24 16:38 UTC (permalink / raw
To: gentoo-user
On 3/24/06, Lord Sauron <lordsauronthegreat@gmail.com> wrote:
> However, I don't know how to rebuild the kernel, or do so enabling
Others have covered the mechanics of building and installing the
kernel. Just a couple of points to try to keep you out of trouble:
1. However you install the kernel (by which I mean the bzImage gets
copied to /boot), make really sure you have a backup kernel, and can
boot from it. Something like:
cp /boot/vmlinuz-blah-blah /boot/vmlinuz-SAFE
cp /boot/initrd-blah-blah /boot/initrd-SAFE
and then add an entry to /boot/grub/grub.conf like so:
title Safe
kernel /vmlinuz-SAFE blah blah blah
initrd /initrd-SAFE
Then reboot to your 'Safe' kernel to make sure things work.
2. Since you are just starting out with kernel configuration, only
_add_ things to the kernel, don't delete any drivers, and avoid
modules (make everything a '*' in menuconfig, not 'M'). Once you get
some confidence with configuring and installing kernels, and rebooting
with your backup kernel, you can get more adventurous with modules or
removing unnecessary drivers.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 16:38 ` Richard Fish
@ 2006-03-24 16:39 ` Richard Fish
2006-03-24 19:25 ` Mike Myers
0 siblings, 1 reply; 47+ messages in thread
From: Richard Fish @ 2006-03-24 16:39 UTC (permalink / raw
To: gentoo-user
On 3/24/06, Richard Fish <bigfish@asmallpond.org> wrote:
> Then reboot to your 'Safe' kernel to make sure things work.
Oh, and obviously, you should do this *before* starting any work on
rebuilding or installing a new kernel...
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 16:39 ` Richard Fish
@ 2006-03-24 19:25 ` Mike Myers
0 siblings, 0 replies; 47+ messages in thread
From: Mike Myers @ 2006-03-24 19:25 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
>On 3/24/06, Richard Fish <bigfish@asmallpond.org> wrote:
>
>
>>Then reboot to your 'Safe' kernel to make sure things work.
>>
>>
>
>Oh, and obviously, you should do this *before* starting any work on
>rebuilding or installing a new kernel...
>
>-Richard
>
>
>
Also, something to keep in mind, if anything gets messed up (like you
can't boot at all anymore) you can use that install cd as a livecd and
repair whatever you need to.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 8:27 ` Teresa and Dale
@ 2006-03-25 0:14 ` Lord Sauron
2006-03-25 1:22 ` Lord Sauron
2006-03-25 2:21 ` Teresa and Dale
2006-03-25 14:07 ` Alexander Skwar
1 sibling, 2 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-25 0:14 UTC (permalink / raw
To: gentoo-user
On 3/24/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Gabriel Dain wrote:
>
> >>However, I don't know how to rebuild the kernel
> >>
> >>
> >
> ># cd /usr/src/linux
Know how to do that...
> ># make menuconfig
I don't see a file called "menuconfig" in here. Will this work? All
I see (that looks relevant) is Makefile, include/ and kernel/
> ><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
No clue whatsoever how to do that. I've never built a kernel before,
not on Debian, not on Red Hat, not on anything.
> ># make && make modules_install
What'll that do? Make and make modules_install? I don't see anything
called "modules_install" either.
> Addition:
>
> cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
I think mine is a i686... I think I should say that I did just take
the kernel off the live CD... I wasn't brave enough (at the time) to
build a kernel.
> Then add it or change it in bootloader, grub is easier on this one. ;-)
I use grup.
> Then . . . .
>
> ># reboot
> >
> >that should do it, if support is what you need. However, this will
> >probably be more useful:
> >
> ># emerge -av acpid <!--- -av means --verbose and --ask, so you can see
> >what you're actually emerging, and have to choice no to, if you want
> >--->
Okay...
> >and read this for help on configuring it:
> >http://gentoo-wiki.com/TIP_ACPI_basic_configuration
Did so. However, the Battery Monitor for KDE still tells me to
rebuild my kernel with this ACPI enabled, most specifically "AC
Adaptor" and "Control Method Battery," though if it'll support more
then I'd certainly love to do that.
> >Gabriel Dain
> >
> >
> >
>
> Other than that, pretty good start. May need more help though since you
> are new to this. Welcome to Gentoo Linux. You'll get over that feeling
> of being a 'long tail cat in a room full of rocking chairs' after a
> while. LOL
I've been using Debian (Debian and Kubuntu) for the past 5 months or
so to build my skills to the point that I can squeak through Gentoo
with only minor injuries : ) I'm also in that odd area of learning
C++ where I'm not ultra-good, but I'm not clueless, either : ) So
eventually I'll be attempting to interrogate all of you about these
fascinating bash scripts.
Even so, I'm really loving Gentoo.... it leaves a smaller memory
footprint than even Debian! Coming from ten years of Windows use,
that's like... going to heaven without having to die, really.
Thanks for your help. I'll try and see if I can get this to work the easy way.
Also, emerge now tells me that I have 19 config files in /etc to be
updated. How would I go about doing that? emerge --help config
confused me more than anything else (that was what emerge reccommended
I do).
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 0:14 ` Lord Sauron
@ 2006-03-25 1:22 ` Lord Sauron
2006-03-25 1:31 ` Ryan Tandy
2006-03-25 2:21 ` Teresa and Dale
1 sibling, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-25 1:22 UTC (permalink / raw
To: gentoo-user
Hah! Think I found my problem! Correct me if I'm wrong!
I just was reading some documentation using KDE Help Centre and found
this thing called APMD. I tried typing "apmd" into Konsole, and it
said "No APM support in kernel." Does this mean this is going to be
as easy as "emerge apmd"?
On 3/24/06, Lord Sauron <lordsauronthegreat@gmail.com> wrote:
> On 3/24/06, Teresa and Dale <teendale@vista-express.com> wrote:
> > Gabriel Dain wrote:
> >
> > >>However, I don't know how to rebuild the kernel
> > >>
> > >>
> > >
> > ># cd /usr/src/linux
>
> Know how to do that...
>
> > ># make menuconfig
>
> I don't see a file called "menuconfig" in here. Will this work? All
> I see (that looks relevant) is Makefile, include/ and kernel/
>
> > ><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
>
> No clue whatsoever how to do that. I've never built a kernel before,
> not on Debian, not on Red Hat, not on anything.
>
> > ># make && make modules_install
>
> What'll that do? Make and make modules_install? I don't see anything
> called "modules_install" either.
>
> > Addition:
> >
> > cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
>
> I think mine is a i686... I think I should say that I did just take
> the kernel off the live CD... I wasn't brave enough (at the time) to
> build a kernel.
>
> > Then add it or change it in bootloader, grub is easier on this one. ;-)
>
> I use grup.
>
> > Then . . . .
> >
> > ># reboot
> > >
> > >that should do it, if support is what you need. However, this will
> > >probably be more useful:
> > >
> > ># emerge -av acpid <!--- -av means --verbose and --ask, so you can see
> > >what you're actually emerging, and have to choice no to, if you want
> > >--->
>
> Okay...
>
> > >and read this for help on configuring it:
> > >http://gentoo-wiki.com/TIP_ACPI_basic_configuration
>
> Did so. However, the Battery Monitor for KDE still tells me to
> rebuild my kernel with this ACPI enabled, most specifically "AC
> Adaptor" and "Control Method Battery," though if it'll support more
> then I'd certainly love to do that.
>
> > >Gabriel Dain
> > >
> > >
> > >
> >
> > Other than that, pretty good start. May need more help though since you
> > are new to this. Welcome to Gentoo Linux. You'll get over that feeling
> > of being a 'long tail cat in a room full of rocking chairs' after a
> > while. LOL
>
> I've been using Debian (Debian and Kubuntu) for the past 5 months or
> so to build my skills to the point that I can squeak through Gentoo
> with only minor injuries : ) I'm also in that odd area of learning
> C++ where I'm not ultra-good, but I'm not clueless, either : ) So
> eventually I'll be attempting to interrogate all of you about these
> fascinating bash scripts.
>
> Even so, I'm really loving Gentoo.... it leaves a smaller memory
> footprint than even Debian! Coming from ten years of Windows use,
> that's like... going to heaven without having to die, really.
>
> Thanks for your help. I'll try and see if I can get this to work the easy way.
>
> Also, emerge now tells me that I have 19 config files in /etc to be
> updated. How would I go about doing that? emerge --help config
> confused me more than anything else (that was what emerge reccommended
> I do).
>
> --
> ========== GCv3.12 ==========
> GCS d-(++) s+: a? C++ UL+>++++ P+
> L++ E--- W+(+++) N++ o? K? w--- O? M+
> V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
> DI+++ D+ G e* h- !r !y
> ========= END GCv3.12 ========
>
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 1:22 ` Lord Sauron
@ 2006-03-25 1:31 ` Ryan Tandy
0 siblings, 0 replies; 47+ messages in thread
From: Ryan Tandy @ 2006-03-25 1:31 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
> Hah! Think I found my problem! Correct me if I'm wrong!
>
> I just was reading some documentation using KDE Help Centre and found
> this thing called APMD. I tried typing "apmd" into Konsole, and it
> said "No APM support in kernel." Does this mean this is going to be
> as easy as "emerge apmd"?
>
APM is the old power management system, from before ACPI was invented.
You can use APM or ACPI, but the two are mutually exclusive and do *not*
work together. If you'd like to use APM, you need to remove ACPI
support from your kernel, replace it with APM support, uninstall acpid
(or at least stop it running), and install and start apmd. ACPI is
recommended over APM these days due to its larger feature set.
HTH.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 0:14 ` Lord Sauron
2006-03-25 1:22 ` Lord Sauron
@ 2006-03-25 2:21 ` Teresa and Dale
2006-03-25 7:21 ` Lord Sauron
1 sibling, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-25 2:21 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
>On 3/24/06, Teresa and Dale <teendale@vista-express.com> wrote:
>
>
>>Gabriel Dain wrote:
>>
>>
>>
>>>>However, I don't know how to rebuild the kernel
>>>>
>>>>
>>>>
>>>>
>>># cd /usr/src/linux
>>>
>>>
>
>Know how to do that...
>
>
>
>>># make menuconfig
>>>
>>>
>
>I don't see a file called "menuconfig" in here. Will this work? All
>I see (that looks relevant) is Makefile, include/ and kernel/
>
>
You don't see that as a file, it is a command. Just type it in and a
new screen comes up to configure the kernel with. Use the arrow keys to
navigate around. I use the space bar to toggle what I want it to do as
far as modules or build in. Some of this may not make sense until you
are in there. Once you see it, it will clear up a bit. It took be
about 10 tries to get a stable kernel the first time I did it. Now, if
I know the hard ware, twice is about the most tries I need. I usually
hit it the first time.
>
>
>>><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
>>>
>>>
>
>No clue whatsoever how to do that. I've never built a kernel before,
>not on Debian, not on Red Hat, not on anything.
>
>
>
>>># make && make modules_install
>>>
>>>
>
>What'll that do? Make and make modules_install? I don't see anything
>called "modules_install" either.
>
>
When you type in make, it builds the kernel itself and creates a
bzImage, it also makes the modules. BzImage is the kernel. That is the
first thing the OS itself loads up to boot, yes, windoze has one too.
Make modules_install installs any modules that were built during the
make command.
>
>
>>Addition:
>>
>>cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
>>
>>
>
>I think mine is a i686... I think I should say that I did just take
>the kernel off the live CD... I wasn't brave enough (at the time) to
>build a kernel.
>
>
It is the same for them all. My rig is i686 too but the kernel in i386
is what you use.
>
>
>>Then add it or change it in bootloader, grub is easier on this one. ;-)
>>
>>
>
>I use grup.
>
>
Either they have a new bootloader or you mean grub. I have used Lilo
and now use grub. IMHO, grub is better.
>
>
<snip>
I hope some of this makes sense. I have been where you are now and it
is a bit . . . . scary.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
` (2 preceding siblings ...)
2006-03-24 16:38 ` Richard Fish
@ 2006-03-25 3:44 ` Mait
3 siblings, 0 replies; 47+ messages in thread
From: Mait @ 2006-03-25 3:44 UTC (permalink / raw
To: gentoo-user
[1]http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree
[2]http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
[3]http://www.gentoo.org/doc/en/kernel-upgrade.xml
[4]http://www.gentoo.org/doc/en/genkernel.xml
If you new to kernel compile and config, Dont hurry. relax~ : )
First, read the *README*[1] file in kernel source. Maybe it is already
installed at /usr/src/linux/README.('/usr/src/linux' is symbolic links
that point real kernel source directory '/usr/src/linux-yourversion')
And check 'Gentoo Handbook - Configuring Kernel'[2] for current gentoo
profile(2006.0) required kernel option(and other contents too)
[3], [4] is maybe optional. But encourage yourself reading that document. :)
When configuring kernel option in 'menuconfig' or 'xconfg'(gconfig), you
can read inline help document. Critical option(cause to boot failure) is
everywhere. Be patient and Dont hurry
Before reboot with new kernel, Keep your existing(bootable) kernel file
and bootloader config(/boot/grub.conf).
Hope to get your 'own' kernel. :)
--
Mait
Lord Sauron wrote:
> Hi,
>
> I'm very very new to Gentoo. I managed to squeak through a install
> from the live CD, however, this gave me a kernel with little or no
> ACPI support - I have a laptop, so I'd like to have this support
> enabled.
>
> However, I don't know how to rebuild the kernel, or do so enabling
> ACPI support. I only know a few precious things about emerge, like
> --sync, --search, and even --help, but beyond that I'm not that good
> at all, and the man pages didn't offer much help for me.
>
> I know this is a painfully elementary question, but thanks for any
> help you can give!
>
> ====== Lord Sauron the Great =====
> ========== GCv3.12 ==========
> GCS d-(++) s+: a? C++ UL+>++++ P+
> L++ E--- W+(+++) N++ o? K? w--- O? M+
> V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
> DI+++ D+ G e* h- !r !y
> ========= END GCv3.12 ========
> ====== www.geekcode.com =======
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 2:21 ` Teresa and Dale
@ 2006-03-25 7:21 ` Lord Sauron
2006-03-25 16:56 ` Teresa and Dale
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-25 7:21 UTC (permalink / raw
To: gentoo-user
On 3/24/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Lord Sauron wrote:
>
> >On 3/24/06, Teresa and Dale <teendale@vista-express.com> wrote:
> >
> >
> >>Gabriel Dain wrote:
> >>
> >>
> >>
> >>>>However, I don't know how to rebuild the kernel
> >>>>
> >>>>
> >>>>
> >>>>
> >>># cd /usr/src/linux
> >>>
> >>>
> >
> >Know how to do that...
> >
> >
> >
> >>># make menuconfig
> >>>
> >>>
> >
> >I don't see a file called "menuconfig" in here. Will this work? All
> >I see (that looks relevant) is Makefile, include/ and kernel/
> >
> >
>
> You don't see that as a file, it is a command. Just type it in and a
> new screen comes up to configure the kernel with. Use the arrow keys to
> navigate around. I use the space bar to toggle what I want it to do as
> far as modules or build in. Some of this may not make sense until you
> are in there. Once you see it, it will clear up a bit. It took be
> about 10 tries to get a stable kernel the first time I did it. Now, if
> I know the hard ware, twice is about the most tries I need. I usually
> hit it the first time.
Ah, okay. That makes sense.
> >
> >
> >>><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
> >>>
> >>>
> >
> >No clue whatsoever how to do that. I've never built a kernel before,
> >not on Debian, not on Red Hat, not on anything.
> >
> >
> >
> >>># make && make modules_install
> >>>
> >>>
> >
> >What'll that do? Make and make modules_install? I don't see anything
> >called "modules_install" either.
> >
> >
>
> When you type in make, it builds the kernel itself and creates a
> bzImage, it also makes the modules. BzImage is the kernel. That is the
> first thing the OS itself loads up to boot, yes, windoze has one too.
> Make modules_install installs any modules that were built during the
> make command.
>
> >
> >
> >>Addition:
> >>
> >>cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
> >>
> >>
> >
> >I think mine is a i686... I think I should say that I did just take
> >the kernel off the live CD... I wasn't brave enough (at the time) to
> >build a kernel.
> >
> >
>
> It is the same for them all. My rig is i686 too but the kernel in i386
> is what you use.
>
> >
> >
> >>Then add it or change it in bootloader, grub is easier on this one. ;-)
> >>
> >>
> >
> >I use grup.
> >
> >
>
> Either they have a new bootloader or you mean grub. I have used Lilo
> and now use grub. IMHO, grub is better.
Yes, I mean grub. I had a small technical difficulty : )
> >
> >
> <snip>
>
> I hope some of this makes sense. I have been where you are now and it
> is a bit . . . . scary.
Hmm... maybe not scary as much as being assaulted with too many new
things all at once. It makes it very hard to find where to dip your
toe into the larger pool of information.
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-24 8:27 ` Teresa and Dale
2006-03-25 0:14 ` Lord Sauron
@ 2006-03-25 14:07 ` Alexander Skwar
1 sibling, 0 replies; 47+ messages in thread
From: Alexander Skwar @ 2006-03-25 14:07 UTC (permalink / raw
To: gentoo-user
Teresa and Dale wrote:
> Gabriel Dain wrote:
>
>>>However, I don't know how to rebuild the kernel
>>>
>>>
>>
>># cd /usr/src/linux
>># make menuconfig
>><!--- Add whatever support you need, i've never worked with ACPI, sorry --->
>># make && make modules_install
>>
>>
>
> Addition:
>
> cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage<your stuff here>
>
> Then add it or change it in bootloader, grub is easier on this one. ;-)
make install will do that as well. It will also re-run lilo,
if lilo is used instead of grub.
>># emerge -av acpid <!--- -av means --verbose and --ask, so you can see
Better yet:
emerge -avt acpid
The "-t" (tree) will show what package is causing the emerge
of other packages.
Alexander Skwar
--
"The idea of abstracting away the one thing that must be blindingly fast, the kernel, is inherently counter productive."
-- Linus Torvalds on Microkernels (Open Sources, 1999 O'Reilly & Associates)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 21:58 ` Peter Ruskin
@ 2006-03-25 15:10 ` Josh Helmer
2006-03-26 7:26 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Josh Helmer @ 2006-03-25 15:10 UTC (permalink / raw
To: gentoo-user
On Saturday 25 March 2006 21:58, Peter Ruskin wrote:
> On Saturday 25 March 2006 21:22, Lord Sauron wrote:
> > Found xinit! However... it's very... confusing.
>
> What you want is a file called .xsession in your home directory.
> Mine just contains:
>
> #!/bin/sh
> `which startkde`
Why not just:
#!/bin/sh
startkde
If 'which' can find startkde then it must be in the PATH.
Josh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 7:21 ` Lord Sauron
@ 2006-03-25 16:56 ` Teresa and Dale
2006-03-25 21:17 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-25 16:56 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
>
>>Either they have a new bootloader or you mean grub. I have used Lilo
>>and now use grub. IMHO, grub is better.
>>
>>
>
>Yes, I mean grub. I had a small technical difficulty : )
>
>
For me, that would be not being able to type worth a hoot. My sig on
the forums says I can't type good.
>
>
>>>
>>>
>><snip>
>>
>>I hope some of this makes sense. I have been where you are now and it
>>is a bit . . . . scary.
>>
>>
>
>Hmm... maybe not scary as much as being assaulted with too many new
>things all at once. It makes it very hard to find where to dip your
>toe into the larger pool of information.
>
>--
>========== GCv3.12 ==========
>GCS d-(++) s+: a? C++ UL+>++++ P+
>L++ E--- W+(+++) N++ o? K? w--- O? M+
>V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
> DI+++ D+ G e* h- !r !y
>========= END GCv3.12 ========
>
>
>
Weeeelllll, this Gentoo Linux. I can tell you that once you get Gentoo
up and running, it is awesome. I have used Mandrake and it was OK until
it came time to upgrade. It also didn't teach me much. Installing
Gentoo taught me a lot. It takes time but it is worth it in the end.
There are also some good folks on here and the forums to help get you
through. Just hope you like to search and read a lot. Forums are a
great place to search.
Go here: www.linuxplanet.com/linuxplanet/tutorials/3196/5/ and read
this section: "4.3. Configuring the kernel" That should help. That is
a old guide for the older kernels but some of it still applies. That
should help you a lot though.
Hope that helps. Keep your chin up.
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 16:56 ` Teresa and Dale
@ 2006-03-25 21:17 ` Lord Sauron
2006-03-25 21:22 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-25 21:17 UTC (permalink / raw
To: gentoo-user
On 3/25/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Lord Sauron wrote:
>
> >
> >>Either they have a new bootloader or you mean grub. I have used Lilo
> >>and now use grub. IMHO, grub is better.
> >>
> >>
> >
> >Yes, I mean grub. I had a small technical difficulty : )
> >
> >
>
> For me, that would be not being able to type worth a hoot. My sig on
> the forums says I can't type good.
>
> >
> >
> >>>
> >>>
> >><snip>
> >>
> >>I hope some of this makes sense. I have been where you are now and it
> >>is a bit . . . . scary.
> >>
> >>
> >
> >Hmm... maybe not scary as much as being assaulted with too many new
> >things all at once. It makes it very hard to find where to dip your
> >toe into the larger pool of information.
> >
> >--
> >========== GCv3.12 ==========
> >GCS d-(++) s+: a? C++ UL+>++++ P+
> >L++ E--- W+(+++) N++ o? K? w--- O? M+
> >V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
> > DI+++ D+ G e* h- !r !y
> >========= END GCv3.12 ========
> >
> >
> >
>
> Weeeelllll, this Gentoo Linux. I can tell you that once you get Gentoo
> up and running, it is awesome. I have used Mandrake and it was OK until
> it came time to upgrade. It also didn't teach me much. Installing
> Gentoo taught me a lot. It takes time but it is worth it in the end.
You think it taught you a lot? You should see how much I've learned from it!
> There are also some good folks on here and the forums to help get you
> through. Just hope you like to search and read a lot. Forums are a
> great place to search.
Yeah, I got lots of good comments from others about how great the
Gentoo community was/is.
>
> Go here: www.linuxplanet.com/linuxplanet/tutorials/3196/5/ and read
> this section: "4.3. Configuring the kernel" That should help. That is
> a old guide for the older kernels but some of it still applies. That
> should help you a lot though.
Yeah, I did what you told me to do with the make install_whatevers and
then rebooted and I got what I think is vanilla X - no GDM, KDM, or
anything. It's sorta cool, 'cause they give you an xterm and nothing
else, but at the same time I want my KDE back.
Anyone know what to do here? init.d says has these things:
acpid crypto-loop gpm localmount pwcheck shutdown.sh
apmd cupsd halt.sh modules reboot.sh spamd
bootmisc depscan.sh hdparm net.eth0 reslisa sshd
checkfs distccd hostname net.lo rmnologin syslog-ng
checkroot domainname hotplug netmount rsyncd urandom
clock esound keymaps nscd runscript.sh vixie-cron
coldplug fand lisa numlock samba xdm
consolefont functions.sh local portmap sasauthd
I tried xdm restart, xdm start, and am about to try xdm stop to see if
I can get the normal GDM login screen (which will then start KDE -
yay!) However, I'm not sure what to do if that fails. I know that
there's a xinit something or other somewhere that I should put
startkde in, but I'm not sure where or what to do now. I learned
about xinit and startkde a long while ago on Debian when I didn't know
that hitting spacebar selects a checkbox. I ended up installing the
base Debian system - nothing extra. It was interesting, my first time
on Linux with nothing but me and the console. Luckily I managed to
beat my way through the problem after about a week.
> Hope that helps. Keep your chin up.
Yeah, don't worry - I don't stop until it's done. Thanks for your help!
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 21:17 ` Lord Sauron
@ 2006-03-25 21:22 ` Lord Sauron
2006-03-25 21:58 ` Peter Ruskin
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-25 21:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
Found xinit! However... it's very... confusing.
Well, not confusing; I understand most of it, however, I'm just not
prepared to start carving it up - I don't want to know how bad I can
screw things up. I think that if I go to ~/.xinit.d it'll be the
thing I'm looking for, but I'm not sure. Here's a copy of the file I
found for you to try and tell me if I'm right - I'm going to explore
the aforementioned file and see if that's something good.
I'll also work on removing apmd. Would this be something like emerge
--unmerge apmd? Or am I off the mark?
[-- Attachment #2: xinitrc --]
[-- Type: application/octet-stream, Size: 918 bytes --]
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
xinitdir=/usr/X11R6/lib/X11/xinit
sysresources=$xinitdir/.Xresources
sysmodmap=$xinitdir/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# First try ~/.xinitrc
if [ -f "$HOME/.xinitrc" ]; then
XINITRC="$HOME/.xinitrc"
exec /bin/sh "$HOME/.xinitrc"
# If not present, try the system default
elif [ -n "`/etc/X11/chooser.sh`" ]; then
exec "`/etc/X11/chooser.sh`"
# Failsafe
else
# start some nice programs
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
fi
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 21:22 ` Lord Sauron
@ 2006-03-25 21:58 ` Peter Ruskin
2006-03-25 15:10 ` Josh Helmer
0 siblings, 1 reply; 47+ messages in thread
From: Peter Ruskin @ 2006-03-25 21:58 UTC (permalink / raw
To: gentoo-user
On Saturday 25 March 2006 21:22, Lord Sauron wrote:
> Found xinit! However... it's very... confusing.
What you want is a file called .xsession in your home directory.
Mine just contains:
#!/bin/sh
`which startkde`
...and it's executable.
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.54. kernel-2.6.16-gentoo.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.6.
KDE: 3.5.1. Qt: 3.3.6.
========================================================================
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-25 15:10 ` Josh Helmer
@ 2006-03-26 7:26 ` Lord Sauron
2006-03-26 23:20 ` Gabriel Dain
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-26 7:26 UTC (permalink / raw
To: gentoo-user
On 3/25/06, Josh Helmer <joshhelmer@cox.net> wrote:
> On Saturday 25 March 2006 21:58, Peter Ruskin wrote:
> > On Saturday 25 March 2006 21:22, Lord Sauron wrote:
> > > Found xinit! However... it's very... confusing.
> >
> > What you want is a file called .xsession in your home directory.
> > Mine just contains:
> >
> > #!/bin/sh
> > `which startkde`
>
> Why not just:
>
> #!/bin/sh
> startkde
>
> If 'which' can find startkde then it must be in the PATH.
Yeah, I'm trying that now. When you say "home directory" you mean
/home/lsauron (my default user), right?
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-26 7:26 ` Lord Sauron
@ 2006-03-26 23:20 ` Gabriel Dain
2006-03-26 23:24 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Gabriel Dain @ 2006-03-26 23:20 UTC (permalink / raw
To: gentoo-user
"home directory" is ~. Get used to writing ~ for the home directory,
so that your scripts/apps/whatever are "plug n play" for all users.
Gabio
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-26 23:20 ` Gabriel Dain
@ 2006-03-26 23:24 ` Lord Sauron
2006-03-27 1:18 ` Gabriel Dain
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-26 23:24 UTC (permalink / raw
To: gentoo-user
On 3/26/06, Gabriel Dain <gabrieldain@gmail.com> wrote:
> "home directory" is ~. Get used to writing ~ for the home directory,
> so that your scripts/apps/whatever are "plug n play" for all users.
Yeah, it's just that I normally use my non-root account lsauron,
however, I sometimes will open a Xnest window and come in as root for
this or that, so I want to ensure that the same things work for both
user accounts.
I think that by now I'm down to just how to compile and update my
kernel with the ACPI stuff enabled. I don't think that the last time
I tried that it worked, because it still tells me (KDE's Control
Centre) that ACPI support is not compiled into the kernel and that I
need to recompile with that stuff in the kernel.
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-26 23:24 ` Lord Sauron
@ 2006-03-27 1:18 ` Gabriel Dain
2006-03-27 4:43 ` Teresa and Dale
0 siblings, 1 reply; 47+ messages in thread
From: Gabriel Dain @ 2006-03-27 1:18 UTC (permalink / raw
To: gentoo-user
Are you sure you compiled it as embbeded, and not module? (* or M in
menuconfig). If it is M, you'll have to load the module, and add it to
the list of modules that are loaded at startup.
--
Gabriel Dain
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 1:18 ` Gabriel Dain
@ 2006-03-27 4:43 ` Teresa and Dale
2006-03-27 6:35 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-27 4:43 UTC (permalink / raw
To: gentoo-user
Gabriel Dain wrote:
>Are you sure you compiled it as embbeded, and not module? (* or M in
>menuconfig). If it is M, you'll have to load the module, and add it to
>the list of modules that are loaded at startup.
>--
>Gabriel Dain
>
>
>
I'll take some time to clarify this more. This is a copy and paste of my
kernel config for the ACPI stuff.
> Linux Kernel v2.6.14-gentoo-r5 Configuration
> ────────────────────────────────────────────────────────────────────────────────────
> ┌────────── ACPI (Advanced Configuration and Power Interface) Support
> ──────────┐
> │ Arrow keys navigate the menu. <Enter> selects submenus --->.
> Highlighted │
> │ letters are hotkeys. Pressing <Y> includes, <N> excludes, <M>
> modularizes │
> │ features. Press <Esc><Esc> to exit, <?> for Help, </> for Search.
> Legend: │
> │ [*] built-in [ ] excluded <M> module < > module capable │
> │
> ┌───────────────────────────────────────────────────────────────────────────┐
> │
> │ │[*] ACPI Support │ │
> │ │[ ] Sleep States │ │
> │ │< > AC Adapter │ │
> │ │<M> Battery │ │
> │ │<*> Button │ │
> │ │< > Video │ │
> │ │< > Generic Hotkey (EXPERIMENTAL) │ │
> │ │< > Fan │ │
> │ │< > Processor │ │
> │ │< > ASUS/Medion Laptop Extras │ │
> │ │< > IBM ThinkPad Laptop Extras │ │
> │ │< > Toshiba Laptop Extras │ │
> │ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
> │ │[ ] Debug Statements (NEW) │ │
> │ │[ ] Power Management Timer Support │ │
> │
> └┴(+)───────────────────────────────────────────────────────────────────────┘
> │
> ├───────────────────────────────────────────────────────────────────────────────┤
> │ <Select> < Exit > < Help > │
> └───────────────────────────────────────────────────────────────────────────────┘
>
>
It's not the best, but it should help anyway. Do you see the * to the
left of ACPI Support? That means that that is compiled into the kernel.
The same for Button. See the M to the left of Battery? That means it is
compiled as a module and has to be loaded when you boot up or whenever
you need to use. The ones that have nothing in there, they are not in
the kernel at all. Oh, do you see the little + sign at the bottom right
under Power Management Timer Support? That means there is more below.
You can use the down arrow to scroll down and it will come up.
As it says up at the top, you can press "y" to compile it in, press "m"
to have it as a module or press "n" to leave it out. You can also swith
through them with the space bar. There are a lot of gurus here that may
disagree with this, but I have no modules for my kernel unless I have to
have it for some reason. I did have modules for my temp sensors but that
was so I could reset it without rebooting. I'm sure someone will come in
with 100 reasons to have modules and some others will have reasons not
too. I say do it like you need to and whatever makes you and the system
happy.
When you make a new kernel, don't remove the old one. Since it does boot
up, you can use it to fall back on in case your new one fails for some
reason. Just give it a different name from the old one when you copy it
over. I do mine names like this:
> root@smoker / # ls -al /boot/bzI*
> -rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
> -rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
> -rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
> root@smoker / #
I currently have three kernels that I can boot if one of them gets
corrupted or something. The last digit is like a version number for me.
If you can't boot the old one, you can hit "e" twice when grub comes up
and then use the arrow keys to edit which kernel you want to boot. It
can save you a lot of headaches too. After you edit that, you just hit
return and then hit the "b" key to boot it up. If it gives you a grub
error, just hit the escape (Esc) key to go back and try again.
Another thing you may not know, you can hit the tab key to complete a
lot of commands too. That includes on the grub screen. If you know it is
bzImage something but can't remember the rest, just delete back to the
bzImage then hit the tab key, may have to hit it twice though. It will
either fill it in or give you a list of the ones that match so far. That
works for a lot of things in Linux. Oh, the arrow keys work in there
too. You can left arrow over until you get to the kernel name to change
that. It will keep you from having to put the root= stuff back in that way.
Hope this helps. I'm about to take some meds and may not be around for a
while. Plenty of others here to help though.
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 4:43 ` Teresa and Dale
@ 2006-03-27 6:35 ` Lord Sauron
2006-03-27 18:13 ` Teresa and Dale
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-27 6:35 UTC (permalink / raw
To: gentoo-user
On 3/26/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Gabriel Dain wrote:
>
> >Are you sure you compiled it as embbeded, and not module? (* or M in
> >menuconfig). If it is M, you'll have to load the module, and add it to
> >the list of modules that are loaded at startup.
> >--
> >Gabriel Dain
> >
> >
> >
>
> I'll take some time to clarify this more. This is a copy and paste of my
> kernel config for the ACPI stuff.
>
> > Linux Kernel v2.6.14-gentoo-r5 Configuration
> > ────────────────────────────────────────────────────────────────────────────────────
> > ┌────────── ACPI (Advanced Configuration and Power Interface) Support
> > ──────────┐
> > │ Arrow keys navigate the menu. <Enter> selects submenus --->.
> > Highlighted │
> > │ letters are hotkeys. Pressing <Y> includes, <N> excludes, <M>
> > modularizes │
> > │ features. Press <Esc><Esc> to exit, <?> for Help, </> for Search.
> > Legend: │
> > │ [*] built-in [ ] excluded <M> module < > module capable │
> > │
> > ┌───────────────────────────────────────────────────────────────────────────┐
> > │
> > │ │[*] ACPI Support │ │
Yes, that is the same as my config.
> > │ │[ ] Sleep States │ │
> > │ │< > AC Adapter │ │
> > │ │<M> Battery │ │
I had this set to be compiled into the kernel. Should that present
any problems?
> > │ │<*> Button │ │
> > │ │< > Video │ │
> > │ │< > Generic Hotkey (EXPERIMENTAL) │ │
> > │ │< > Fan │ │
> > │ │< > Processor │ │
> > │ │< > ASUS/Medion Laptop Extras │ │
> > │ │< > IBM ThinkPad Laptop Extras │ │
I had this enabled (compiled into kernel) since I do own a IBM X40.
> > │ │< > Toshiba Laptop Extras │ │
> > │ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
What on earth is this? I read the descriptor, but it didn't help me much...
> > │ │[ ] Debug Statements (NEW) │ │
> > │ │[ ] Power Management Timer Support │ │
> > │
> > └┴(+)───────────────────────────────────────────────────────────────────────┘
> > │
> > ├───────────────────────────────────────────────────────────────────────────────┤
> > │ <Select> < Exit > < Help > │
> > └───────────────────────────────────────────────────────────────────────────────┘
> >
> >
>
> It's not the best, but it should help anyway. Do you see the * to the
> left of ACPI Support? That means that that is compiled into the kernel.
> The same for Button. See the M to the left of Battery? That means it is
> compiled as a module and has to be loaded when you boot up or whenever
> you need to use. The ones that have nothing in there, they are not in
> the kernel at all. Oh, do you see the little + sign at the bottom right
> under Power Management Timer Support? That means there is more below.
> You can use the down arrow to scroll down and it will come up.
>
> As it says up at the top, you can press "y" to compile it in, press "m"
> to have it as a module or press "n" to leave it out. You can also swith
> through them with the space bar. There are a lot of gurus here that may
> disagree with this, but I have no modules for my kernel unless I have to
> have it for some reason. I did have modules for my temp sensors but that
> was so I could reset it without rebooting. I'm sure someone will come in
> with 100 reasons to have modules and some others will have reasons not
> too. I say do it like you need to and whatever makes you and the system
> happy.
I'm just going to try compiling stuff into the kernel first, before I
try and tinker.
> When you make a new kernel, don't remove the old one. Since it does boot
> up, you can use it to fall back on in case your new one fails for some
> reason. Just give it a different name from the old one when you copy it
> over. I do mine names like this:
So, I should rename one of my kernels and try and see which one is
which? Or am I still off the mark? It didn't look like it compiled
the kernel... I think it should have taken longer, but it didn't. I
may be missing a step. : /
> > root@smoker / # ls -al /boot/bzI*
> > -rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
> > -rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
> > -rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
> > root@smoker / #
>
>
> I currently have three kernels that I can boot if one of them gets
> corrupted or something. The last digit is like a version number for me.
> If you can't boot the old one, you can hit "e" twice when grub comes up
> and then use the arrow keys to edit which kernel you want to boot. It
> can save you a lot of headaches too. After you edit that, you just hit
> return and then hit the "b" key to boot it up. If it gives you a grub
> error, just hit the escape (Esc) key to go back and try again.
Just a question: if the support is made to be as a module (M, instead
of *) does that mean that you have to add something like "doacpi" to
the boot parameters?
> Another thing you may not know, you can hit the tab key to complete a
> lot of commands too. That includes on the grub screen. If you know it is
> bzImage something but can't remember the rest, just delete back to the
> bzImage then hit the tab key, may have to hit it twice though. It will
> either fill it in or give you a list of the ones that match so far. That
> works for a lot of things in Linux. Oh, the arrow keys work in there
> too. You can left arrow over until you get to the kernel name to change
> that. It will keep you from having to put the root= stuff back in that way.
>
> Hope this helps. I'm about to take some meds and may not be around for a
> while. Plenty of others here to help though.
Ah, you take crazy-pills too. I've already taken mine, so I'm a
couple minutes away from sleep. Thanks for your help. By the end of
this I'll hopefully be guru enough to help someone else out in turn :
)
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 6:35 ` Lord Sauron
@ 2006-03-27 18:13 ` Teresa and Dale
2006-03-27 19:39 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-27 18:13 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
>On 3/26/06, Teresa and Dale <teendale@vista-express.com> wrote:
>
>
>
>
>I had this set to be compiled into the kernel. Should that present
>any problems?
>
>
Most things do not matter. You can do either way. There are some
things that I have seen that must be modules and some things, like file
systems, that must be compiled in. Example on the last one, I use
reiserfs for my files system including root. If I have reiserfs as a
module, the kernel will not be able to read my root partition to boot
up. For that reason, I have to compile it in so it can read the root
partition. IF I had say a data partition that used XFS, I could make
that a module if I wanted to. The system will boot up and then load all
the modules so it can read the other file systems.
One reason some use modules is that you can update them or do bug fixes
without rebooting. You just unload the module, update it, then reload
it again. This is usually something that folks like me and you do not
have to worry about though.
>
>
>>>│ │<*> Button │ │
>>>│ │< > Video │ │
>>>│ │< > Generic Hotkey (EXPERIMENTAL) │ │
>>>│ │< > Fan │ │
>>>│ │< > Processor │ │
>>>│ │< > ASUS/Medion Laptop Extras │ │
>>>│ │< > IBM ThinkPad Laptop Extras │ │
>>>
>>>
>
>I had this enabled (compiled into kernel) since I do own a IBM X40.
>
>
>
>>>│ │< > Toshiba Laptop Extras │ │
>>>│ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
>>>
>>>
>
>What on earth is this? I read the descriptor, but it didn't help me much...
>
>
>From what I have read, some systems do not support ACPI at all. They
will not work, or maybe they blow up or something. I assume that there
is some way for it to know when it was made and it will disable it if it
is before that date. I'm not really sure either.
>>As it says up at the top, you can press "y" to compile it in, press "m"
>>to have it as a module or press "n" to leave it out. You can also swith
>>through them with the space bar. There are a lot of gurus here that may
>>disagree with this, but I have no modules for my kernel unless I have to
>>have it for some reason. I did have modules for my temp sensors but that
>>was so I could reset it without rebooting. I'm sure someone will come in
>>with 100 reasons to have modules and some others will have reasons not
>>too. I say do it like you need to and whatever makes you and the system
>>happy.
>>
>>
>
>I'm just going to try compiling stuff into the kernel first, before I
>try and tinker.
>
>
Save that info, you may need it. The first kernel I made would boot up
but some things, USB and a couple other things didn't work, so I made a
new one. The new one wouldn't work at all. Something I changed didn't
work right at all. Since I saved the old one, I just rebooted and used
it. Otherwise, I would have had to boot the CD and chrooted in to fix
it. That's a good tip to keep in mind.
>
>
>>When you make a new kernel, don't remove the old one. Since it does boot
>>up, you can use it to fall back on in case your new one fails for some
>>reason. Just give it a different name from the old one when you copy it
>>over. I do mine names like this:
>>
>>
>
>So, I should rename one of my kernels and try and see which one is
>which? Or am I still off the mark? It didn't look like it compiled
>the kernel... I think it should have taken longer, but it didn't. I
>may be missing a step. : /
>
>
Most likely the first one is named bzImage and that is fine. Just name
you new one something different. You can name it bzImage-1 if you
want. I put the kernel version on the end so I know what version it is.
>
>
>>>root@smoker / # ls -al /boot/bzI*
>>>-rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
>>>-rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
>>>-rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
>>>root@smoker / #
>>>
>>>
>>I currently have three kernels that I can boot if one of them gets
>>corrupted or something. The last digit is like a version number for me.
>>If you can't boot the old one, you can hit "e" twice when grub comes up
>>and then use the arrow keys to edit which kernel you want to boot. It
>>can save you a lot of headaches too. After you edit that, you just hit
>>return and then hit the "b" key to boot it up. If it gives you a grub
>>error, just hit the escape (Esc) key to go back and try again.
>>
>>
>
>Just a question: if the support is made to be as a module (M, instead
>of *) does that mean that you have to add something like "doacpi" to
>the boot parameters?
>
>
That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
file for it to load the module when it boots. This is what my file
looks like:
> nvidia
> hwmon_vid
> i2c_isa
> w83627hf
I guess I do still have my sensors as modules. Anyway, nvidia has to be
a module. You will see them when they load up.
>
>>
>>Hope this helps. I'm about to take some meds and may not be around for a
>>while. Plenty of others here to help though.
>>
>>
>
>Ah, you take crazy-pills too. I've already taken mine, so I'm a
>couple minutes away from sleep. Thanks for your help. By the end of
>this I'll hopefully be guru enough to help someone else out in turn :
>)
>
>
Not crazy pills. I'm disabled from a skin disorder and when it starts
to itch like crazy I can take meds for it. It's just that the meds make
me sleepy. When I get up, I have a really dry mouth and I want to eat
everything in the house, even some foods I don't like. I took my meds,
just one pill though, so parden me while I go eat. O_O
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 18:13 ` Teresa and Dale
@ 2006-03-27 19:39 ` Lord Sauron
2006-03-27 20:09 ` Lord Sauron
` (2 more replies)
0 siblings, 3 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-27 19:39 UTC (permalink / raw
To: gentoo-user
On 3/27/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Lord Sauron wrote:
>
> >On 3/26/06, Teresa and Dale <teendale@vista-express.com> wrote:
> >
> >
> >
> >
> >I had this set to be compiled into the kernel. Should that present
> >any problems?
> >
> >
>
> Most things do not matter. You can do either way. There are some
> things that I have seen that must be modules and some things, like file
> systems, that must be compiled in. Example on the last one, I use
> reiserfs for my files system including root. If I have reiserfs as a
> module, the kernel will not be able to read my root partition to boot
> up. For that reason, I have to compile it in so it can read the root
> partition. IF I had say a data partition that used XFS, I could make
> that a module if I wanted to. The system will boot up and then load all
> the modules so it can read the other file systems.
Clever.
> One reason some use modules is that you can update them or do bug fixes
> without rebooting. You just unload the module, update it, then reload
> it again. This is usually something that folks like me and you do not
> have to worry about though.
Extremely clever. I'll have to remeber cool tricks like that when I'm
working with my own server...
> >>>│ │<*> Button │ │
> >>>│ │< > Video │ │
> >>>│ │< > Generic Hotkey (EXPERIMENTAL) │ │
> >>>│ │< > Fan │ │
> >>>│ │< > Processor │ │
> >>>│ │< > ASUS/Medion Laptop Extras │ │
> >>>│ │< > IBM ThinkPad Laptop Extras │ │
> >>>
> >>>
> >
> >I had this enabled (compiled into kernel) since I do own a IBM X40.
> >
> >
> >
> >>>│ │< > Toshiba Laptop Extras │ │
> >>>│ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
> >>>
> >>>
> >
> >What on earth is this? I read the descriptor, but it didn't help me much...
> >
> >
>
> From what I have read, some systems do not support ACPI at all. They
> will not work, or maybe they blow up or something. I assume that there
> is some way for it to know when it was made and it will disable it if it
> is before that date. I'm not really sure either.
Oh... that makes sense.
> >>As it says up at the top, you can press "y" to compile it in, press "m"
> >>to have it as a module or press "n" to leave it out. You can also swith
> >>through them with the space bar. There are a lot of gurus here that may
> >>disagree with this, but I have no modules for my kernel unless I have to
> >>have it for some reason. I did have modules for my temp sensors but that
> >>was so I could reset it without rebooting. I'm sure someone will come in
> >>with 100 reasons to have modules and some others will have reasons not
> >>too. I say do it like you need to and whatever makes you and the system
> >>happy.
> >>
> >>
> >
> >I'm just going to try compiling stuff into the kernel first, before I
> >try and tinker.
> >
> >
>
> Save that info, you may need it. The first kernel I made would boot up
> but some things, USB and a couple other things didn't work, so I made a
> new one. The new one wouldn't work at all. Something I changed didn't
> work right at all. Since I saved the old one, I just rebooted and used
> it. Otherwise, I would have had to boot the CD and chrooted in to fix
> it. That's a good tip to keep in mind.
I'm actually not certain that I have the kernel built and installed.
I tried the make install command, but I'm still not certain that I've
done this all correctly. At this rate, I may try and re-install KDE
and stuff to see if it's no longer a problem with the kernel. Is
there a way to see what's currently compiled in or modules
enabled/loaded in the kernel that currently running? If there is,
then I could very quickly diagnose where the disconnect is.
> >>When you make a new kernel, don't remove the old one. Since it does boot
> >>up, you can use it to fall back on in case your new one fails for some
> >>reason. Just give it a different name from the old one when you copy it
> >>over. I do mine names like this:
> >>
> >>
> >
> >So, I should rename one of my kernels and try and see which one is
> >which? Or am I still off the mark? It didn't look like it compiled
> >the kernel... I think it should have taken longer, but it didn't. I
> >may be missing a step. : /
> >
> >
>
> Most likely the first one is named bzImage and that is fine. Just name
> you new one something different. You can name it bzImage-1 if you
> want. I put the kernel version on the end so I know what version it is.
Yeah, but I've been using the "make install" command, so I'm not
totally sure if what I'm doing is even effective.
> >>>root@smoker / # ls -al /boot/bzI*
> >>>-rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
> >>>-rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
> >>>-rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
> >>>root@smoker / #
> >>>
> >>>
> >>I currently have three kernels that I can boot if one of them gets
> >>corrupted or something. The last digit is like a version number for me.
> >>If you can't boot the old one, you can hit "e" twice when grub comes up
> >>and then use the arrow keys to edit which kernel you want to boot. It
> >>can save you a lot of headaches too. After you edit that, you just hit
> >>return and then hit the "b" key to boot it up. If it gives you a grub
> >>error, just hit the escape (Esc) key to go back and try again.
> >>
> >>
> >
> >Just a question: if the support is made to be as a module (M, instead
> >of *) does that mean that you have to add something like "doacpi" to
> >the boot parameters?
> >
> >
>
> That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
> file for it to load the module when it boots. This is what my file
> looks like:
So I'd add something like
> acpi
?
> > nvidia
> > hwmon_vid
> > i2c_isa
> > w83627hf
>
>
> I guess I do still have my sensors as modules. Anyway, nvidia has to be
> a module. You will see them when they load up.
Yeah, nVidia supplies proprietary closed-source drivers, don't they?
> >>Hope this helps. I'm about to take some meds and may not be around for a
> >>while. Plenty of others here to help though.
> >>
> >>
> >
> >Ah, you take crazy-pills too. I've already taken mine, so I'm a
> >couple minutes away from sleep. Thanks for your help. By the end of
> >this I'll hopefully be guru enough to help someone else out in turn :
> >)
> >
> >
>
> Not crazy pills. I'm disabled from a skin disorder and when it starts
> to itch like crazy I can take meds for it. It's just that the meds make
> me sleepy. When I get up, I have a really dry mouth and I want to eat
> everything in the house, even some foods I don't like. I took my meds,
> just one pill though, so parden me while I go eat. O_O
Oh. I just have ADD. My pills in the morning shut me up, the ones in
the evening shut me down. When I forget to take my morning pills...
yeah. I'm not so bad as I am Mr. Comedy-Central.
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 19:39 ` Lord Sauron
@ 2006-03-27 20:09 ` Lord Sauron
2006-03-27 20:13 ` Devon Miller
2006-03-28 2:29 ` Teresa and Dale
2 siblings, 0 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-27 20:09 UTC (permalink / raw
To: gentoo-user
Hey, I found something interesting...
/boot/config
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.15-gentoo-r1
> # Sun Mar 26 17:30:03 2006
> #
large snip of non-ACPI stuff, mainly architecture flags.
> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI=y
> CONFIG_ACPI_AC=y
> CONFIG_ACPI_BATTERY=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_HOTKEY is not set
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_ASUS is not set
> CONFIG_ACPI_IBM=y
> # CONFIG_ACPI_TOSHIBA is not set
> CONFIG_ACPI_BLACKLIST_YEAR=0
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_X86_PM_TIMER is not set
> # CONFIG_ACPI_CONTAINER is not set
/boot/config-2.6.15-gentoo-r1
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.15-gentoo-r1
> # Sun Mar 26 17:30:03 2006
> #
another snip of mainly the same content
> #
> # Power management options (ACPI, APM)
> #
> CONFIG_PM=y
> CONFIG_PM_LEGACY=y
> # CONFIG_PM_DEBUG is not set
>
> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI=y
> CONFIG_ACPI_AC=y
> CONFIG_ACPI_BATTERY=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_HOTKEY is not set
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_ASUS is not set
> CONFIG_ACPI_IBM=y
> # CONFIG_ACPI_TOSHIBA is not set
> CONFIG_ACPI_BLACKLIST_YEAR=0
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_X86_PM_TIMER is not set
> # CONFIG_ACPI_CONTAINER is not set
My best guess now is that the line # CONFIG_ACIP_HOTKEY is not set is
causing my problems. What do you think? I also think that this more
or less confirms that the kernel is getting compiled, and it is
working... but now it's a problem with KDE. I'll try opening Gnome
in a xnest window and seeing if my battery monitor works then.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 19:39 ` Lord Sauron
2006-03-27 20:09 ` Lord Sauron
@ 2006-03-27 20:13 ` Devon Miller
2006-03-28 2:18 ` Teresa and Dale
2006-03-28 2:29 ` Teresa and Dale
2 siblings, 1 reply; 47+ messages in thread
From: Devon Miller @ 2006-03-27 20:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 504 bytes --]
Just to throw my 2 cents in...
I always set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
unless I'm building for a memory constrained system. This stores the config
file in the kernel image and makes it available as /proc/config.gz. That
way, when I get it working, I know what I did.
I'm currently running 2.6.15-r8 of suspend2_sources, so if you're using a
different kernel YMMV.
Also, you can tell when the running kernel was built looking in
/proc/version for the date stamp.
dcm
[-- Attachment #2: Type: text/html, Size: 532 bytes --]
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 20:13 ` Devon Miller
@ 2006-03-28 2:18 ` Teresa and Dale
2006-03-28 2:51 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-28 2:18 UTC (permalink / raw
To: gentoo-user
Devon Miller wrote:
> Just to throw my 2 cents in...
>
> I always set
>
> CONFIG_IKCONFIG=y
> CONFIG_IKCONFIG_PROC=y
>
> unless I'm building for a memory constrained system. This stores the
> config file in the kernel image and makes it available as
> /proc/config.gz. That way, when I get it working, I know what I did.
>
> I'm currently running 2.6.15-r8 of suspend2_sources, so if you're
> using a different kernel YMMV.
>
> Also, you can tell when the running kernel was built looking in
> /proc/version for the date stamp.
>
> dcm
I use the config.gz too. You can actually boot up and untar that thing
and copy it over to a kernel directory and use it. That's good if you
royally screw up your config and need to step back a bit, or maybe a
lot. ;-)
I'm not guru by any means, I just read a lot and sometimes my light bulb
will go off and it makes sense. If the bulb doesn't go off, stick a
fork in me, I'm done.
LOL
Dale
:-)
P.S. Supper time. Meds make me hungry. < stuffs mouth >
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-27 19:39 ` Lord Sauron
2006-03-27 20:09 ` Lord Sauron
2006-03-27 20:13 ` Devon Miller
@ 2006-03-28 2:29 ` Teresa and Dale
2006-03-28 2:55 ` Lord Sauron
2 siblings, 1 reply; 47+ messages in thread
From: Teresa and Dale @ 2006-03-28 2:29 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
>On 3/27/06, Teresa and Dale <teendale@vista-express.com> wrote:
>
>
>
>Extremely clever. I'll have to remeber cool tricks like that when I'm
>working with my own server...
>
>
You can never know to much. That's for sure. I know I haven't had that
trouble yet on my end. o_O
>
>Yeah, but I've been using the "make install" command, so I'm not
>totally sure if what I'm doing is even effective.
>
>
I always copy mine by hand. That way I know it is there and what it is
named. Make SURE to mount /boot before you copy that. If you installed
as the manual says, /boot is not auto mounted at boot up. mount /boot
should work.
>
>>>
>>>
>>>
>>>
>>That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
>>file for it to load the module when it boots. This is what my file
>>looks like:
>>
>>
>
>So I'd add something like
>
>
>
>>acpi
>>
>>
>
>?
>
>
>
> Linux Kernel v2.6.14-gentoo-r5 Configuration
> ────────────────────────────────────────────────────────────────────────────────────
> ┌───────────────────────── IBM ThinkPad Laptop Extras
> ──────────────────────────┐
> │
> CONFIG_ACPI_IBM:
> │
>
> │
> │
> │ This is a Linux ACPI driver for the IBM ThinkPad laptops. It
> adds │
> │ support for Fn-Fx key combinations, Bluetooth control,
> video │
> │ output switching, ThinkLight control, UltraBay eject and
> more. │
> │ For more information about this driver see
> <file:Documentation/ibm-acpi.txt> │
> │ and <http://ibm-acpi.sf.net/>
> . │
>
> │
> │
> │ If you have an IBM ThinkPad laptop, say Y or M
> here. │
>
> │
> │
> │ Symbol: ACPI_IBM
> [=y] │
> │ Prompt: IBM ThinkPad Laptop
> Extras │
> │ Defined at
> drivers/acpi/Kconfig:197 │
> │ Depends on: !X86_VOYAGER && !X86_VISWS && !IA64_HP_SIM && (IA64
> || X86) && │
> │
> Location:
> │
> │ -> Power management options (ACPI,
> APM) │
> │ -> ACPI (Advanced Configuration and Power Interface)
> Support │
> │ -> ACPI Support (ACPI
> [=y]) │
That is the help screen. I THINK the module will be called ACPI_IBM.
Someone correct me if I am wrong though. I think you take off the
CONFIG_ part. It may also need to be lowercase. Keep in mind that case
does matter in Linux. Let someone chime in on that one though.
>>I guess I do still have my sensors as modules. Anyway, nvidia has to be
>>a module. You will see them when they load up.
>>
>>
>
>Yeah, nVidia supplies proprietary closed-source drivers, don't they?
>
>
Yes they do. They do work pretty good though. At least they try. Some
video card people don't even do that.
Later
Dale
:-) :-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 2:18 ` Teresa and Dale
@ 2006-03-28 2:51 ` Lord Sauron
2006-03-28 9:51 ` Bo Andresen
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-28 2:51 UTC (permalink / raw
To: gentoo-user
On 3/27/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Devon Miller wrote:
>
> > Just to throw my 2 cents in...
> >
> > I always set
> >
> > CONFIG_IKCONFIG=y
> > CONFIG_IKCONFIG_PROC=y
> >
> > unless I'm building for a memory constrained system. This stores the
> > config file in the kernel image and makes it available as
> > /proc/config.gz. That way, when I get it working, I know what I did.
> >
> > I'm currently running 2.6.15-r8 of suspend2_sources, so if you're
> > using a different kernel YMMV.
Sorry, what does YMMV mean?
> > Also, you can tell when the running kernel was built looking in
> > /proc/version for the date stamp.
Ah... I'll do that right away!
> > dcm
Once more, what does that mean? Oh... Devon C. Miller... dcm... hah, I geddit.
> I use the config.gz too. You can actually boot up and untar that thing
> and copy it over to a kernel directory and use it. That's good if you
> royally screw up your config and need to step back a bit, or maybe a
> lot. ;-)
>
> I'm not guru by any means, I just read a lot and sometimes my light bulb
> will go off and it makes sense. If the bulb doesn't go off, stick a
> fork in me, I'm done.
about the same here. Some thing I can help with, most things I can't.
> P.S. Supper time. Meds make me hungry. < stuffs mouth >
So that's where all my cookies went... oh wait... I ate 'em : )
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 2:29 ` Teresa and Dale
@ 2006-03-28 2:55 ` Lord Sauron
2006-03-28 3:25 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-28 2:55 UTC (permalink / raw
To: gentoo-user
On 3/27/06, Teresa and Dale <teendale@vista-express.com> wrote:
> Lord Sauron wrote:
>
> >On 3/27/06, Teresa and Dale <teendale@vista-express.com> wrote:
> >
> >
> >
> >Extremely clever. I'll have to remeber cool tricks like that when I'm
> >working with my own server...
> >
> >
>
> You can never know to much. That's for sure. I know I haven't had that
> trouble yet on my end. o_O
I haven't had any troubles with that either yet. Then again... I'm
nowhere near where anyone could possibly or conceivably have a problem
with it.
> >Yeah, but I've been using the "make install" command, so I'm not
> >totally sure if what I'm doing is even effective.
> >
> >
>
> I always copy mine by hand. That way I know it is there and what it is
> named. Make SURE to mount /boot before you copy that. If you installed
> as the manual says, /boot is not auto mounted at boot up. mount /boot
> should work.
>
> >
> >>>
> >>>
> >>>
> >>>
> >>That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
> >>file for it to load the module when it boots. This is what my file
> >>looks like:
> >>
> >>
> >
> >So I'd add something like
> >
> >
> >
> >>acpi
> >>
> >>
> >
> >?
> >
> >
> >
>
> > Linux Kernel v2.6.14-gentoo-r5 Configuration
> > ────────────────────────────────────────────────────────────────────────────────────
> > ┌───────────────────────── IBM ThinkPad Laptop Extras
> > ──────────────────────────┐
> > │
> > CONFIG_ACPI_IBM:
> > │
> >
> > │
> > │
> > │ This is a Linux ACPI driver for the IBM ThinkPad laptops. It
> > adds │
> > │ support for Fn-Fx key combinations, Bluetooth control,
> > video │
> > │ output switching, ThinkLight control, UltraBay eject and
> > more. │
> > │ For more information about this driver see
> > <file:Documentation/ibm-acpi.txt> │
> > │ and <http://ibm-acpi.sf.net/>
> > . │
> >
> > │
> > │
> > │ If you have an IBM ThinkPad laptop, say Y or M
> > here. │
> >
> > │
> > │
> > │ Symbol: ACPI_IBM
> > [=y] │
> > │ Prompt: IBM ThinkPad Laptop
> > Extras │
> > │ Defined at
> > drivers/acpi/Kconfig:197 │
> > │ Depends on: !X86_VOYAGER && !X86_VISWS && !IA64_HP_SIM && (IA64
> > || X86) && │
> > │
> > Location:
> > │
> > │ -> Power management options (ACPI,
> > APM) │
> > │ -> ACPI (Advanced Configuration and Power Interface)
> > Support │
> > │ -> ACPI Support (ACPI
> > [=y]) │
>
>
> That is the help screen. I THINK the module will be called ACPI_IBM.
> Someone correct me if I am wrong though. I think you take off the
> CONFIG_ part. It may also need to be lowercase. Keep in mind that case
> does matter in Linux. Let someone chime in on that one though.
>
> >>I guess I do still have my sensors as modules. Anyway, nvidia has to be
> >>a module. You will see them when they load up.
> >>
> >>
> >
> >Yeah, nVidia supplies proprietary closed-source drivers, don't they?
> >
> >
>
> Yes they do. They do work pretty good though. At least they try. Some
> video card people don't even do that.
Wish they'd make better drivers for OS X though... none of my OS X
buddies ever use nVidia cards (which are better - if you wanna argue
you can talk to my GeForce 6800 anytime) because the OS X drivers make
them about as good as a ATI card. Oh well... can't win 'em all I
guess.
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 2:55 ` Lord Sauron
@ 2006-03-28 3:25 ` Lord Sauron
2006-03-28 4:45 ` Jeremy Olexa
0 siblings, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-28 3:25 UTC (permalink / raw
To: gentoo-user
Okay, yet another update.
I found that these packages were not installed:
ibm-acpi
acpi
(though acpid was installed)
I emerged them and then recompiled the kernel. However, I'm really
beginning to get suspicious... I really think that a kernel recompile
would take longer. Would you say about 45 seconds is right for a
1.0GHz Pentium-M with 256Megs of PC2700 SO-DIMM RAM? (200-pin, of
course)
I'm going to go recheck a few things now.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 3:25 ` Lord Sauron
@ 2006-03-28 4:45 ` Jeremy Olexa
2006-03-28 5:43 ` Teresa and Dale
2006-03-28 6:02 ` Lord Sauron
0 siblings, 2 replies; 47+ messages in thread
From: Jeremy Olexa @ 2006-03-28 4:45 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
> Would you say about 45 seconds is right for a
> 1.0GHz Pentium-M with 256Megs of PC2700 SO-DIMM RAM? (200-pin, of
> course)
Sounds about right. You aren't recompiling the WHOLE kernel everytime.
Just whatever changes.
-Jeremy
>
> I'm going to go recheck a few things now.
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 4:45 ` Jeremy Olexa
@ 2006-03-28 5:43 ` Teresa and Dale
2006-03-28 6:02 ` Lord Sauron
1 sibling, 0 replies; 47+ messages in thread
From: Teresa and Dale @ 2006-03-28 5:43 UTC (permalink / raw
To: gentoo-user
Jeremy Olexa wrote:
> Lord Sauron wrote:
>
>> Would you say about 45 seconds is right for a
>> 1.0GHz Pentium-M with 256Megs of PC2700 SO-DIMM RAM? (200-pin, of
>> course)
>
>
> Sounds about right. You aren't recompiling the WHOLE kernel everytime.
> Just whatever changes.
>
> -Jeremy
>
>>
>> I'm going to go recheck a few things now.
>>
>
Yea, it just makes changes after the first time. When I get a new one I
always do a make mrproper which cleans out some cruft left over from the
devs, or whoever has them before me.
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 4:45 ` Jeremy Olexa
2006-03-28 5:43 ` Teresa and Dale
@ 2006-03-28 6:02 ` Lord Sauron
1 sibling, 0 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-28 6:02 UTC (permalink / raw
To: gentoo-user
On 3/27/06, Jeremy Olexa <olex.mail.lists@gmail.com> wrote:
> Lord Sauron wrote:
> > Would you say about 45 seconds is right for a
> > 1.0GHz Pentium-M with 256Megs of PC2700 SO-DIMM RAM? (200-pin, of
> > course)
>
> Sounds about right. You aren't recompiling the WHOLE kernel everytime.
> Just whatever changes.
BRILLIANT!!! I keep on being impressed by this Open Source stuff.
It's gonna take MS so darn long to kill Linux... they might be able
to do it in another couple mellenia.
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 2:51 ` Lord Sauron
@ 2006-03-28 9:51 ` Bo Andresen
2006-03-28 11:01 ` Neil Bothwick
0 siblings, 1 reply; 47+ messages in thread
From: Bo Andresen @ 2006-03-28 9:51 UTC (permalink / raw
To: gentoo-user
On Tuesday 28 March 2006 04:51, Lord Sauron wrote:
> > > I'm currently running 2.6.15-r8 of suspend2_sources, so if you're
> > > using a different kernel YMMV.
>
> Sorry, what does YMMV mean?
Those are the resources that I use for that kind of questions:
http://en.wikipedia.org/wiki/YMMV
http://www.urbandictionary.com/define.php?term=ymmv
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 9:51 ` Bo Andresen
@ 2006-03-28 11:01 ` Neil Bothwick
2006-03-29 19:58 ` Lord Sauron
0 siblings, 1 reply; 47+ messages in thread
From: Neil Bothwick @ 2006-03-28 11:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
> > Sorry, what does YMMV mean?
>
> Those are the resources that I use for that kind of questions:
>
> http://en.wikipedia.org/wiki/YMMV
> http://www.urbandictionary.com/define.php?term=ymmv
You can also emerge wtf.
$ wtf ymmv
YMMV: your mileage may vary
--
Neil Bothwick
Interchangeable parts aren't.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-28 11:01 ` Neil Bothwick
@ 2006-03-29 19:58 ` Lord Sauron
2006-03-29 21:12 ` Holly Bostick
2006-03-29 21:49 ` Bo Andresen
0 siblings, 2 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-29 19:58 UTC (permalink / raw
To: gentoo-user
Okay, here's where I've isolated the problem to. This might be a
rather lengthy explanation, so make sure you have about 15 minutes on
your hands before diving in. However, the explanation shouldn't take
long - I've never actually compiled/installed/used a kernel before.
Okay, enough apologising in advance: down to business.
I know that it correctly compiles the kernel. I put a new name for
the new kernel (test1) to try and ID it as it floats about all the
other kernels I'm too scared to delete.
# make install
Sticks it into /boot. /boot now reads
System.map config.old
System.map-2.6.15-gentoo-r1 grub
System.map-2.6.15-gentoo-r1.old initramfs-genkernel-x86-2.6.15-gentoo-r5
System.map-2.6.15-gentoo-r1test1 kernel-genkernel-x86-2.6.15-gentoo-r5
System.map-2.6.15-gentoo-r1test1.old lost+found
System.map.old vmlinuz
boot vmlinuz-2.6.15-gentoo-r1
config vmlinuz-2.6.15-gentoo-r1.old
config-2.6.15-gentoo-r1 vmlinuz-2.6.15-gentoo-r1test1
config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
config-2.6.15-gentoo-r1test1 vmlinuz.old
config-2.6.15-gentoo-r1test1.old
Not terribly exciting. However, I went to /boot/grub/menu.lst and it
reads as such:
localhost boot # cat ./grub/menu.lst
default 0
timeout 7
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
The most concerning part is the last three lines. For any kernel, it
appears to demand the kernel itself. If you'll refer back to # ls
/boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
there. Nor is the initrd. I don't know where they might be, or if
they're not there then how to generate them.
If I can find out those two things then I should be able to test my
new kernel and see if it actually worked.
On 3/28/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
>
> > > Sorry, what does YMMV mean?
> >
> > Those are the resources that I use for that kind of questions:
> >
> > http://en.wikipedia.org/wiki/YMMV
> > http://www.urbandictionary.com/define.php?term=ymmv
>
> You can also emerge wtf.
I assume wtf will tell me what wtf stands for... is the last letter
representative of a forbidden word, by any chance?
> $ wtf ymmv
> YMMV: your mileage may vary
>
>
> --
> Neil Bothwick
>
> Interchangeable parts aren't.
What was your first clue?
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-29 19:58 ` Lord Sauron
@ 2006-03-29 21:12 ` Holly Bostick
2006-03-29 21:49 ` Bo Andresen
1 sibling, 0 replies; 47+ messages in thread
From: Holly Bostick @ 2006-03-29 21:12 UTC (permalink / raw
To: gentoo-user
Lord Sauron schreef:
> Okay, here's where I've isolated the problem to.
<snip>
.>
> I know that it correctly compiles the kernel. I put a new name for
> the new kernel (test1) to try and ID it
<snip>
> # make install
>
> Sticks it into /boot. /boot now reads
>
> System.map config.old
> System.map-2.6.15-gentoo-r1 grub
> System.map-2.6.15-gentoo-r1.old initramfs-genkernel-x86-2.6.15-gentoo-r5
> System.map-2.6.15-gentoo-r1test1 kernel-genkernel-x86-2.6.15-gentoo-r5
> System.map-2.6.15-gentoo-r1test1.old lost+found
> System.map.old vmlinuz
> boot vmlinuz-2.6.15-gentoo-r1
> config vmlinuz-2.6.15-gentoo-r1.old
> config-2.6.15-gentoo-r1 v mlinuz-2.6.15-gentoo-r1test1
> config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
> config-2.6.15-gentoo-r1test1 vmlinuz.old
> config-2.6.15-gentoo-r1test1.old
>
> Not terribly exciting. However, I went to /boot/grub/menu.lst and it
> reads as such:
>
> localhost boot # cat ./grub/menu.lst
> default 0
> timeout 7
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title=Gentoo Linux
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
> init=/linuxrc ramdisk=8192 real_root=/dev/hda3
> initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
>
> The most concerning part is the last three lines. For any kernel, it
> appears to demand the kernel itself. If you'll refer back to # ls
> /boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
> there.
???? Yes it is:
vmlinuz-2.6.15-gentoo-r1test1
>Nor is the initrd. I don't know where they might be, or if
> they're not there then how to generate them.
No, the initrd isn't there; you apparently made your previous kernel
with genkernel, which creates an initrd, and you further do not have
splashutils installed (which would/can also make an initrd to contain
the bootsplash images).
Manual kernel installation using 'make install' copies the bzImage (the
kernel itself) to /boot/, and names it
vmlinuz-kernel.version-extra_version_if_used.
Make install also copies the "helpful but not strictly necessary"
.config and system.map files to /boot/ adding the version to the end to
distinguish it from other supplemental files for other kernels, and
creates two symlinks to the current and newly-installed kernel:
vmlinuz -- links to the newly installed kernel
vmlinuz.old -- links to the current kernel that the newly-installed
kernel is replacing.
Similar symlinks are also created for the .config and system.map files
for the respective kernels.
What this means is that you can just tell grub that the first item on
the list should load 'vmlinuz' (which is going to be a link to the most
recently installed kernel), and the second entry should load vmlinuz.old
(which is a link to the previous kernel to the most newly installed, in
case of problems). If you have even more old kernels, they can always be
listed by the full kernel version.
In any case, it seems to me that you basically need to create a new
entry for the test kernel; just copy the current entry, paste it above
the other one, then delete the following relevant portions:
1. Change 'kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0'
to read kernel /vmlinuz root=/dev/ram0 (not sure about the 'root= part;
/dev/ram0 seems a bit weird to me but perhaps this is in some way
functional for your particular setup. I have no experience with
genkernel, which this setting looks like to me, but maybe somebody can
confirm that. If it is from genkernel, root= should be the partition of
the root filesystem, on my system, this setting is root=/dev/hda5)
2. delete.... everything else, apparently. I can see that most of the
entry is generated by/related to genkernel.
Here, for reference is my grub entry for my manually compiled kernels
(never used genkernel, as I said):
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda5
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/grub-livecd2.xpm.gz
title Gentoo_current (2.6.15-gentoo-r7mga)
root (hd0,1)
kernel /vmlinuz ro quiet root=/dev/hda5
video=matroxfb:vesa:0x11B,depth:32 splash=silent,theme:livecd-2005.1
CONSOLE=/dev/tty1
title Gentoo_prev (2.6.15-gentoo-r7)
root (hd0,1)
kernel /vmlinuz.old ro root=/dev/hda5
video=matroxfb:vesa:0x11B:ywrap,pmipal,mtrr:3,1280x1024-32@60
splash=verbose,theme:emergence quiet CONSOLE=/dev/tty1
title Failsafe_current
root (hd0,1)
kernel /vmlinuz ro root=/dev/hda5
video=vesafb:ywrap,pmipal,mtrr:3,1280x1024-32@60 emergency
If you ignore all the video= settings, as you should, since they are to
provide the bootsplash, which is irrelevant here, the relevant entry
that allows me to boot is only
title Gentoo_current (2.6.15-gentoo-r7mga)
root (hd0,1)
kernel /vmlinuz ro quiet root=/dev/hda5
title Gentoo_prev (2.6.15-gentoo-r7)
root (hd0,1)
kernel /vmlinuz.old ro root=/dev/hda5
>>
>>>> Sorry, what does YMMV mean?
>>> Those are the resources that I use for that kind of questions:
>>>
>>> http://en.wikipedia.org/wiki/YMMV
>>> http://www.urbandictionary.com/define.php?term=ymmv
>> You can also emerge wtf.
>
> I assume wtf will tell me what wtf stands for... is the last letter
> representative of a forbidden word, by any chance?
Yes, it will, and yes it is.
On the web, you can also try acronymfinder.com, which has most everything.
HTH (look it up; wtf hth :-) )
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-29 19:58 ` Lord Sauron
2006-03-29 21:12 ` Holly Bostick
@ 2006-03-29 21:49 ` Bo Andresen
2006-03-30 0:11 ` Lord Sauron
1 sibling, 1 reply; 47+ messages in thread
From: Bo Andresen @ 2006-03-29 21:49 UTC (permalink / raw
To: gentoo-user
On Wednesday 29 March 2006 21:58, Lord Sauron wrote:
> Okay, here's where I've isolated the problem to. This might be a
> rather lengthy explanation, so make sure you have about 15 minutes on
> your hands before diving in. However, the explanation shouldn't take
> long - I've never actually compiled/installed/used a kernel before.
> Okay, enough apologising in advance: down to business.
>
> I know that it correctly compiles the kernel. I put a new name for
> the new kernel (test1) to try and ID it as it floats about all the
> other kernels I'm too scared to delete.
>
> # make install
>
> Sticks it into /boot. /boot now reads
>
> System.map config.old
> System.map-2.6.15-gentoo-r1 grub
> System.map-2.6.15-gentoo-r1.old
> initramfs-genkernel-x86-2.6.15-gentoo-r5 System.map-2.6.15-gentoo-r1test1
> kernel-genkernel-x86-2.6.15-gentoo-r5
> System.map-2.6.15-gentoo-r1test1.old lost+found
> System.map.old vmlinuz
> boot vmlinuz-2.6.15-gentoo-r1
> config vmlinuz-2.6.15-gentoo-r1.old
> config-2.6.15-gentoo-r1 vmlinuz-2.6.15-gentoo-r1test1
> config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
> config-2.6.15-gentoo-r1test1 vmlinuz.old
> config-2.6.15-gentoo-r1test1.old
>
> Not terribly exciting. However, I went to /boot/grub/menu.lst and it
> reads as such:
>
> localhost boot # cat ./grub/menu.lst
> default 0
> timeout 7
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title=Gentoo Linux
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
> init=/linuxrc ramdisk=8192 real_root=/dev/hda3
> initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
>
> The most concerning part is the last three lines. For any kernel, it
> appears to demand the kernel itself. If you'll refer back to # ls
> /boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
> there.
Sure it is. It's vmlinuz-2.6.15-gentoo-r1test1 and make install even made a
symlink to it: vmlinuz.
If you type ls -l /boot/vmlinuz it should give something that end on:
/boot/vmlinuz -> vmlinuz-2.6.15-gentoo-r1test1
> Nor is the initrd.
If you don't use genkernel you don't actually need an initrd. If you want one
you have to enable it. I can't tell you how since I don't use it myself.
> I don't know where they might be, or if
> they're not there then how to generate them.
Try adding the following to /boot/grub/menu.lst:
title Gentoo Linux test1
root (hd0,0)
kernel /vmlinuz root=/dev/hda3
This will create a new menu item in Grub during start up. If you want this
kernel to be selected by default you either add above the genkernel menu item
shown above or change the default to 1. After default you can add a fallback
line and set it to another kernel than the default.
This is a part of my menu.lst:
================================================================
# Boot automatically after 30 secs.
timeout 5
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# Reboot 5 seconds after a kernel panic
panic=5
# Nice splash image for grub :)
splashimage=(hd0,1)/grub/splash.xpm.gz
title Gentoo Linux
root (hd0,1)
kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
splash=silent,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
initrd /fbsplash-livecd-2006.0-1400x1050
title Gentoo Linux (Old)
root (hd0,1)
kernel /vmlinuz.old root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-livecd-2006.0-1024x768
================================================================
The indented lines are on the end of the kernel line above them. My initrd's
are create by splashutils and have nothing to do with compiling the kernel.
If they are removed it boots just as well just without the livecd-2006 theme.
> If I can find out those two things then I should be able to test my
> new kernel and see if it actually worked.
>
> On 3/28/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> > On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
> > > > Sorry, what does YMMV mean?
> > >
> > > Those are the resources that I use for that kind of questions:
> > >
> > > http://en.wikipedia.org/wiki/YMMV
> > > http://www.urbandictionary.com/define.php?term=ymmv
> >
> > You can also emerge wtf.
>
> I assume wtf will tell me what wtf stands for... is the last letter
> representative of a forbidden word, by any chance?
Of course ;) :
$ wtf wtf
WTF: {what,when,where,who,why} the fuck
> > $ wtf ymmv
> > YMMV: your mileage may vary
> >
Yeah, it's just that the wiki and sometimes the urban dictionary are often
more detailed. :)
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-29 21:49 ` Bo Andresen
@ 2006-03-30 0:11 ` Lord Sauron
2006-03-30 0:53 ` Lord Sauron
2006-03-30 1:19 ` Teresa and Dale
0 siblings, 2 replies; 47+ messages in thread
From: Lord Sauron @ 2006-03-30 0:11 UTC (permalink / raw
To: gentoo-user
On 3/29/06, Bo Andresen <bo.andresen@gmail.com> wrote:
> On Wednesday 29 March 2006 21:58, Lord Sauron wrote:
> > Okay, here's where I've isolated the problem to. This might be a
> > rather lengthy explanation, so make sure you have about 15 minutes on
> > your hands before diving in. However, the explanation shouldn't take
> > long - I've never actually compiled/installed/used a kernel before.
> > Okay, enough apologising in advance: down to business.
> >
> > I know that it correctly compiles the kernel. I put a new name for
> > the new kernel (test1) to try and ID it as it floats about all the
> > other kernels I'm too scared to delete.
> >
> > # make install
> >
> > Sticks it into /boot. /boot now reads
> >
> > System.map config.old
> > System.map-2.6.15-gentoo-r1 grub
> > System.map-2.6.15-gentoo-r1.old
> > initramfs-genkernel-x86-2.6.15-gentoo-r5 System.map-2.6.15-gentoo-r1test1
> > kernel-genkernel-x86-2.6.15-gentoo-r5
> > System.map-2.6.15-gentoo-r1test1.old lost+found
> > System.map.old vmlinuz
> > boot vmlinuz-2.6.15-gentoo-r1
> > config vmlinuz-2.6.15-gentoo-r1.old
> > config-2.6.15-gentoo-r1 vmlinuz-2.6.15-gentoo-r1test1
> > config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
> > config-2.6.15-gentoo-r1test1 vmlinuz.old
> > config-2.6.15-gentoo-r1test1.old
> >
> > Not terribly exciting. However, I went to /boot/grub/menu.lst and it
> > reads as such:
> >
> > localhost boot # cat ./grub/menu.lst
> > default 0
> > timeout 7
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> > title=Gentoo Linux
> > root (hd0,0)
> > kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
> > init=/linuxrc ramdisk=8192 real_root=/dev/hda3
> > initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
> >
> > The most concerning part is the last three lines. For any kernel, it
> > appears to demand the kernel itself. If you'll refer back to # ls
> > /boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
> > there.
>
> Sure it is. It's vmlinuz-2.6.15-gentoo-r1test1 and make install even made a
> symlink to it: vmlinuz.
So that's what it's all about... Okay, that makes sense now.
> If you type ls -l /boot/vmlinuz it should give something that end on:
> /boot/vmlinuz -> vmlinuz-2.6.15-gentoo-r1test1
>
> > Nor is the initrd.
>
> If you don't use genkernel you don't actually need an initrd. If you want one
> you have to enable it. I can't tell you how since I don't use it myself.
Okay. So there are two ways of making kernels, and one of them is
with Genkernel and I'm not using that so I don't need to worry, right?
> > I don't know where they might be, or if
> > they're not there then how to generate them.
>
> Try adding the following to /boot/grub/menu.lst:
>
> title Gentoo Linux test1
> root (hd0,0)
> kernel /vmlinuz root=/dev/hda3
>
> This will create a new menu item in Grub during start up. If you want this
> kernel to be selected by default you either add above the genkernel menu item
> shown above or change the default to 1. After default you can add a fallback
> line and set it to another kernel than the default.
>
> This is a part of my menu.lst:
> ================================================================
> # Boot automatically after 30 secs.
> timeout 5
>
> # By default, boot the first entry.
> default 0
>
> # Fallback to the second entry.
> fallback 1
>
> # Reboot 5 seconds after a kernel panic
> panic=5
>
> # Nice splash image for grub :)
> splashimage=(hd0,1)/grub/splash.xpm.gz
>
> title Gentoo Linux
> root (hd0,1)
> kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
> splash=silent,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
> initrd /fbsplash-livecd-2006.0-1400x1050
>
> title Gentoo Linux (Old)
> root (hd0,1)
> kernel /vmlinuz.old root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
> splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
> initrd /boot/fbsplash-livecd-2006.0-1024x768
> ================================================================
>
> The indented lines are on the end of the kernel line above them. My initrd's
> are create by splashutils and have nothing to do with compiling the kernel.
> If they are removed it boots just as well just without the livecd-2006 theme.
>
> > If I can find out those two things then I should be able to test my
> > new kernel and see if it actually worked.
> >
> > On 3/28/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> > > On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
> > > > > Sorry, what does YMMV mean?
> > > >
> > > > Those are the resources that I use for that kind of questions:
> > > >
> > > > http://en.wikipedia.org/wiki/YMMV
> > > > http://www.urbandictionary.com/define.php?term=ymmv
> > >
> > > You can also emerge wtf.
> >
> > I assume wtf will tell me what wtf stands for... is the last letter
> > representative of a forbidden word, by any chance?
>
> Of course ;) :
>
> $ wtf wtf
> WTF: {what,when,where,who,why} the fuck
>
> > > $ wtf ymmv
> > > YMMV: your mileage may vary
> > >
>
> Yeah, it's just that the wiki and sometimes the urban dictionary are often
> more detailed. :)
>
> --
> Bo Andresen
> --
> gentoo-user@gentoo.org mailing list
>
>
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-30 0:11 ` Lord Sauron
@ 2006-03-30 0:53 ` Lord Sauron
2006-03-30 1:44 ` Bo Andresen
2006-03-30 1:19 ` Teresa and Dale
1 sibling, 1 reply; 47+ messages in thread
From: Lord Sauron @ 2006-03-30 0:53 UTC (permalink / raw
To: gentoo-user
SOLVED!!!
I did as you suggested.
localhost ~ # cat /boot/grub/menu.lst
default 0
timeout 7
splashimage=(hd0,0)/grub/splash.xpm.gz
title Current Kernel
root (hd0,0)
kernel /vmlinuz root=/dev/hda3
title Old Kernel
root (hd0,0)
kernel /vmlinuz.old root=/dev/hda3
title Failsafe
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
is now what I use. Later I hope to reinsert my Live CD and get the
pretty stuff off of it to beautify my Gentoo.
ACPI now works perfectly. There was a small glitch in which I
discovered that my newly built kernel did *not* have my networking
card installed, so I had to recompile with that enabled but after this
it was no sweat.
Thanks for your help - I would have gotten as far as Kubuntu if you
hadn't helped me (as in I would be back with Kubuntu).
However, even before beautification I have to figure out how to mount
my USB memory stick (/dev/sda1), however, that's for another thread.
Thanks for your help - I hope to be able to make it up to you all someday : )
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-30 0:11 ` Lord Sauron
2006-03-30 0:53 ` Lord Sauron
@ 2006-03-30 1:19 ` Teresa and Dale
1 sibling, 0 replies; 47+ messages in thread
From: Teresa and Dale @ 2006-03-30 1:19 UTC (permalink / raw
To: gentoo-user
Lord Sauron wrote:
>
>
>Okay. So there are two ways of making kernels, and one of them is
>with Genkernel and I'm not using that so I don't need to worry, right?
>
>
>
Just like most things in Linux, there are several ways to do it. Yours
isn't the way I do it but if it works for ya, go for it.
Dale
:-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
2006-03-30 0:53 ` Lord Sauron
@ 2006-03-30 1:44 ` Bo Andresen
0 siblings, 0 replies; 47+ messages in thread
From: Bo Andresen @ 2006-03-30 1:44 UTC (permalink / raw
To: gentoo-user
On Thursday 30 March 2006 02:53, Lord Sauron wrote:
> Later I hope to reinsert my Live CD and get the
> pretty stuff off of it to beautify my Gentoo.
For what kind of beautifying do you need the Live CD? If you are referring to
the splash theme that it uses then it is in portage.
http://gentoo-wiki.com/HOWTO_fbsplash
> However, even before beautification I have to figure out how to mount
> my USB memory stick (/dev/sda1), however, that's for another thread.
What you want is CONFIG_USB_STORAGE in the kernel configuration. The following
is from make menuconfig:
Symbol: USB_STORAGE [=m]
Prompt: USB Mass Storage support
Defined at drivers/usb/storage/Kconfig:9
Depends on: USB
Location:
-> Device Drivers
-> USB support
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 47+ messages in thread
end of thread, other threads:[~2006-03-30 1:53 UTC | newest]
Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
2006-03-24 8:19 ` Gabriel Dain
2006-03-24 8:27 ` Teresa and Dale
2006-03-25 0:14 ` Lord Sauron
2006-03-25 1:22 ` Lord Sauron
2006-03-25 1:31 ` Ryan Tandy
2006-03-25 2:21 ` Teresa and Dale
2006-03-25 7:21 ` Lord Sauron
2006-03-25 16:56 ` Teresa and Dale
2006-03-25 21:17 ` Lord Sauron
2006-03-25 21:22 ` Lord Sauron
2006-03-25 21:58 ` Peter Ruskin
2006-03-25 15:10 ` Josh Helmer
2006-03-26 7:26 ` Lord Sauron
2006-03-26 23:20 ` Gabriel Dain
2006-03-26 23:24 ` Lord Sauron
2006-03-27 1:18 ` Gabriel Dain
2006-03-27 4:43 ` Teresa and Dale
2006-03-27 6:35 ` Lord Sauron
2006-03-27 18:13 ` Teresa and Dale
2006-03-27 19:39 ` Lord Sauron
2006-03-27 20:09 ` Lord Sauron
2006-03-27 20:13 ` Devon Miller
2006-03-28 2:18 ` Teresa and Dale
2006-03-28 2:51 ` Lord Sauron
2006-03-28 9:51 ` Bo Andresen
2006-03-28 11:01 ` Neil Bothwick
2006-03-29 19:58 ` Lord Sauron
2006-03-29 21:12 ` Holly Bostick
2006-03-29 21:49 ` Bo Andresen
2006-03-30 0:11 ` Lord Sauron
2006-03-30 0:53 ` Lord Sauron
2006-03-30 1:44 ` Bo Andresen
2006-03-30 1:19 ` Teresa and Dale
2006-03-28 2:29 ` Teresa and Dale
2006-03-28 2:55 ` Lord Sauron
2006-03-28 3:25 ` Lord Sauron
2006-03-28 4:45 ` Jeremy Olexa
2006-03-28 5:43 ` Teresa and Dale
2006-03-28 6:02 ` Lord Sauron
2006-03-25 14:07 ` Alexander Skwar
2006-03-24 9:34 ` Neil Bothwick
2006-03-24 9:02 ` Alexander Kirillov
2006-03-24 16:38 ` Richard Fish
2006-03-24 16:39 ` Richard Fish
2006-03-24 19:25 ` Mike Myers
2006-03-25 3:44 ` Mait
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox