Jaromír Mikeš wrote:
> Hi,
>
> I'm just trying to make a new kernel for me and when I'm making
> "64studio:/home/mira/linux-2.6.24.7# mkinitrd /boot/initrd-2.6.24.7-rt20" I'm 
> geting:
> "bash: mkinitrd: command not found"
> After googling I've tried reinstall "initrd-tools" , but I've got:
> "cpio: ./sbin/udevtrigger : Cannot stat : No such file or directory"
>
> Any advice?
>
> Cheers 
>
> mira

Hi Mira :)

it works for me like I reported it in this older mail:

-------- Original Message --------
Subject:        Kernel
Date:   Sat, 06 Sep 2008 17:18:55 +0200
From:   Ralf Mardorf <[EMAIL PROTECTED]>
To:     [64studio-users] <[email protected]>



Hi :)

I'm compiling a kernel for the 64 Studio 2.1 default Etch install. Have
I done everything correct?

I found this link by Google: http://forums.debian.net/viewtopic.php?t=17035
And was linked by this side to:
http://www.rdegraaf.nl/index.asp?sND_ID=848152

Also I found: http://sidux.com/PNphpBB2-viewtopic-t-2201.html
And was linked to: http://rt.wiki.kernel.org/index.php/Main_Page
>From there linked to:
http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO#Patching_the_Kernel

But I tried the German link for Ubuntu:
http://www.ubuntufreunde.de/forum/p189/vanilla_kernel_mit_realtime_preemption_rt_patch.html?highlight=preemption#post189

Instead of version 2.6.26 I used 2.6.24, because MIDI shall not be fine
with kernel ex 2.6.26.

Prep:
64studio:/usr/src# apt-get install build-essential kernel-package
libncurses5-dev bin86
64studio:/usr/src# wget
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.24.7-rt17.bz2
64studio:/usr/src# wget
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.7.tar.bz2
64studio:/usr/src# tar -xvjf linux-2.6.24.7.tar.bz2
64studio:/usr/src# rm linux-2.6.24.7.tar.bz2
64studio:/usr/src# bunzip2 patch-2.6.24.7-rt17.bz2
64studio:/usr/src# mv linux-2.6.24.7
linux-2.6.24.7-spinymouse-sep-06-2008-rt
64studio:/usr/src# ln -s linux-2.6.24.7-spinymouse-sep-06-2008-rt linux
64studio:/usr/src# cd linux
64studio:/usr/src/linux# patch -p1 <../patch-2.6.24.7-rt17

Copy config file of 64 Studio 2.1 vanilla install:
64studio:/usr/src/linux# cp /boot/config-$(uname -r) .config

Just to be safe, cleaning the folder:
64studio:/usr/src/linux# make-kpkg clean

Starting the configuration:
64studio:/usr/src/linux# make menuconfig

_General setup_
unchanged

[*] _Enable loaded modul support_
unchanged

-*- _Enable the block layer_
unchanged

_Processor type and feature_
Worth mentioning unchanged:
Preemption Mode (Complete Preemption (Real-Time))
Timer Frequency 1000Hz
Changed settings, to:
[*] Tickless System (Dynamic Ticks)
[*] High Resolution Timer Support
Processor family (X) Opteron/Athlon64/Hammer/K8
(2) Maximum number of CPUs (2-255)
[ ] Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)

_Power Management Options_
unchanged

_Bus Options PCI etc
_unchanged

_Executable file formats Emulations
_unchanged

_Networking
_unchanged

_Device Drivers
_unchanged

_Firmware Drivers
_unchanged

_File System
_unchanged

[*] _Instrumentation Support_
unchanged

_Kernel Hacking_
unchanged

_Security Options
_unchanged

-*- _Cryptographic API
_unchanged

_Library Routines
_unchanged

Exit > 'Do you wish to save your new kernel configuration?' Yes

Compiling:
64studio:/usr/src/linux# make-kpkg clean
64studio:/usr/src/linux# make-kpkg -initrd --revision=2.6.24.7
--append-to-version=-rev01 kernel_image kernel_headers

I started compiling at 17:13:xy.

To be continued,
Ralf

PS: Any notes are welcome. I'll do the purchase for the weekend now.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to