|
Home > Archive > Linux Debian support > March 2005 > Kernel confusion
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Draco Ravenloft 2005-03-08, 5:45 pm |
| Ok, I need to recompile my kernel. This is something that in 6 years of
using Linux, I've never needed to do before. I don't know how.
Ok, I'm using Debian-Sarge with kernel 2.6.8 installed. Now, I need to
patch it because I'd like to use bootsplash. So, I run aptitude, grab the
kernel-source package and let it install. So far so good........ only,
now I'm not 100% sure how to proceed. The instructions on bootsplash.org
assume I've at least installed and seen the kernel source before. I've
always prefered to keep those 40MB free.
While I'm in there.... how do I make the kernel have APM support, and
would enabling that make it to where when I run shutdown the computer will
turn itself off? From 2.0 with RH 5.2 to SuSE 9.1 with 2.6.x, and in
windows shutdown cut the power for me. I was a bit floored when I first
shutdown debian and it didn't.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
| |
| Andreas Janssen 2005-03-08, 5:45 pm |
| Hello
Draco Ravenloft (<draco81@comcast.net> ) wrote:
> Ok, I need to recompile my kernel. This is something that in 6 years
> of using Linux, I've never needed to do before. I don't know how.
>
> Ok, I'm using Debian-Sarge with kernel 2.6.8 installed. Now, I need
> to patch it because I'd like to use bootsplash. So, I run aptitude,
> grab the kernel-source package and let it install. So far so
> good........
> only, now I'm not 100% sure how to proceed. The instructions on
> bootsplash.org assume I've at least installed and seen the kernel
> source before. I've always prefered to keep those 40MB free.
You probably need to apply the bootslpash patch to the kernel source and
recompile it. You can use the configuration of the Debian kernel
package to start from (copy the config-2.6.8-... file in boot
to /path/to/kernel-source/.config and run make oldconfig), and you
probably need to enable bootsplash support somewhere (I assume the
bootsplash documentation knows what to do). Next, install
kernel-package and build-essential and run make-kpkg to build a Debian
package with the kernel image and modules. You need to tell make-kpkg
to create an initrd as well. There is a intro on how to compile kernels
the Debian way in the newbiedoc package.
> While I'm in there.... how do I make the kernel have APM support, and
> would enabling that make it to where when I run shutdown the computer
> will turn itself off?
The Debian kernels /do/ habe APM and ACPI support, but APM support is
compiled as a module. You need to load it using `modprobe apm`. To load
the driver automatically, add it to /etc/modules. You can also install
the apmd if you need the power saving support, starting apmd at boot
time will also load the apm driver.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Draco Ravenloft 2005-03-08, 5:45 pm |
| On Tue, 08 Mar 2005 20:03:37 +0100, Andreas Janssen
<andreas.janssen@bigfoot.com> wrote:
> Hello
>
> Draco Ravenloft (<draco81@comcast.net> ) wrote:
>
<snip>
> You probably need to apply the bootslpash patch to the kernel source and
> recompile it. You can use the configuration of the Debian kernel
> package to start from (copy the config-2.6.8-... file in boot
> to /path/to/kernel-source/.config and run make oldconfig), and you
> probably need to enable bootsplash support somewhere (I assume the
> bootsplash documentation knows what to do). Next, install
> kernel-package and build-essential and run make-kpkg to build a Debian
> package with the kernel image and modules. You need to tell make-kpkg
> to create an initrd as well. There is a intro on how to compile kernels
> the Debian way in the newbiedoc package.
oh, I did install that package, I just forgot about it thanks. While on
the subject of /path/to/kernel .... eh, dpkg doesn't have the nice
--filesbypkg option that rpm does. how do I find out where the
kernel-source was installed? /usr/src I imagine ....... oh, here's a
tarball that I bet is the kernel-source. lovely. I hate these things.
> The Debian kernels /do/ habe APM and ACPI support, but APM support is
> compiled as a module. You need to load it using `modprobe apm`. To load
> the driver automatically, add it to /etc/modules. You can also install
> the apmd if you need the power saving support, starting apmd at boot
> time will also load the apm driver.
yeah, I know about apmd. /etc/modules? oh, that's easy enough.
> best regards
> Andreas Janssen
>
thnx
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
| |
| Andreas Janssen 2005-03-08, 5:45 pm |
| Hello
Draco Ravenloft (<draco81@comcast.net> ) wrote:
> oh, I did install that package, I just forgot about it thanks. While
> on the subject of /path/to/kernel .... eh, dpkg doesn't have the nice
> --filesbypkg option that rpm does. how do I find out where the
> kernel-source was installed?
dpkg -L packagename
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Draco Ravenloft 2005-03-08, 5:45 pm |
| On Tue, 08 Mar 2005 21:30:19 +0100, Andreas Janssen
<andreas.janssen@bigfoot.com> wrote:
> Hello
>
> Draco Ravenloft (<draco81@comcast.net> ) wrote:
>
>
> dpkg -L packagename
>
> best regards
> Andreas Janssen
>
May all the Gods bless you. I that ISN'T in dpkg --help or man dpkg is
it? If it is, I'm sorry I'm apparently blind.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
| |
| Andreas Janssen 2005-03-09, 7:45 am |
| Hello
Draco Ravenloft (<draco81@comcast.net> ) wrote:
> Andreas Janssen <andreas.janssen@bigfoot.com> wrote:
>
> May all the Gods bless you. I that ISN'T in dpkg --help or man dpkg
> is it? If it is, I'm sorry I'm apparently blind.
Actually it is in the man page, look for "dpkg-query-actions", somewhere
in the middle of the man page.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Draco Ravenloft 2005-03-09, 5:46 pm |
| figures. thanks.
On Wed, 09 Mar 2005 11:04:30 +0100, Andreas Janssen
<andreas.janssen@bigfoot.com> wrote:
> Hello
>
> Draco Ravenloft (<draco81@comcast.net> ) wrote:
>
> Actually it is in the man page, look for "dpkg-query-actions", somewhere
> in the middle of the man page.
>
> best regards
> Andreas Janssen
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
|
|