You are not logged in.

#26 2006-06-28 06:01:59

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: kernel26ck - moving to 2.6.17-ck1

phrakture wrote:
EAD wrote:

mkinitcpio -k linux-2.6.17-ck -g /boot/kernel26ck.img

You want to use "-k 2.6.17-ck".  You do not need the "linux" prefix in there.  It should mirror the $(uname -r) output on a system.  Still, I guess that's an important error case to check. :oops:

what?
Can you please explain me?

Offline

#27 2006-06-28 08:45:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: kernel26ck - moving to 2.6.17-ck1

EAD wrote:

When making my own kernel, or even download yours kernel, after doing pacman -s kernel26ck, I am doing mkinitcpio -k linux-2.6.17-ck -g /boot/kernel26ck.img

Regarding your custom kernel, I'm going to assume that you've got the various files from CVS, and are building a modified kernel26ck. If you haven't made any changes to kernel26ck.install, the initcpio image is generated automatically on install - it is not necessary to do it independently. The same, of course, applies if you get the kernel26ck package with pacman. You should watch for the following post-install message:

>>> MKINITCPIO SETUP
>>> ----------------
>>> To switch to mkinitcpio ramdisk setup please change your bootloader config:
>>> - initrd26ck.img to kernel26ck.img
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
>>> Generating fallback ramdisk, using mkinitcpio. Please wait...
EAD wrote:
phrakture wrote:
EAD wrote:

mkinitcpio -k linux-2.6.17-ck -g /boot/kernel26ck.img

You want to use "-k 2.6.17-ck".  You do not need the "linux" prefix in there.  It should mirror the $(uname -r) output on a system.  Still, I guess that's an important error case to check. :oops:

what?
Can you please explain me?

I think he just did, EAD -  what do you not understand?

Offline

#28 2006-06-28 09:27:33

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: kernel26ck - moving to 2.6.17-ck1

Ok I have got it, tanx

Offline

#29 2006-07-01 11:13:46

Samuel Cengel
Member
From: Slovak Republic
Registered: 2005-11-19
Posts: 55

Re: kernel26ck - moving to 2.6.17-ck1

Can you add to kernel CONFIG_APM_REAL_MODE_POWER_OFF? My laptop doesnt off correctly without this choice. Thanks

Offline

#30 2006-07-01 14:49:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: kernel26ck - moving to 2.6.17-ck1

As long as it doesn't conflict with anything else, I'll add it for the next kernel26ck build.

Offline

#31 2006-07-01 15:40:28

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: kernel26ck - moving to 2.6.17-ck1

This change would only affect APM users. But I believe it will break shutdown for all APM users for whom it currently works. I am however not sure of this.

Offline

#32 2006-07-01 16:37:21

Samuel Cengel
Member
From: Slovak Republic
Registered: 2005-11-19
Posts: 55

Re: kernel26ck - moving to 2.6.17-ck1

I think that this options is only used when the kernel boot line contains apm=powef-off.

Offline

#33 2006-07-01 16:46:55

Samuel Cengel
Member
From: Slovak Republic
Registered: 2005-11-19
Posts: 55

Re: kernel26ck - moving to 2.6.17-ck1

Yes, it is true. Arch stock kernel contains this option, yet and is only used when apm=power-off.

Offline

Board footer

Powered by FluxBB