From: Wolfgang Grandegger <wg@domain.hid>
To: Eric Noulard <eric.noulard@domain.hid>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] patching continues
Date: Tue, 20 Feb 2007 11:16:21 +0100 [thread overview]
Message-ID: <45DACA75.8030001@domain.hid> (raw)
In-Reply-To: <cbe23c50702192323h370cd65fg3490d82fea34cd33@domain.hid>
Eric Noulard wrote:
> 2007/2/19, Roland Tollenaar <rwatollenaar@domain.hid>:
>> Hi all,
>>
>> I have gone through the kernel patching steps and all seems to go well.
>> Except...
>>
>> 1
>> I don't seem to get an initrd from the make process and my system does
>> not have a mkinitrd on it. Is this normal? I get the vmlinux though
>> which I am very happy about :)
>
> I don't know how you did compile your kernel but if you "only" did:
>
> make YYYYconfig
> make
> make modules_install
>
> you won't get initrd from this.
> you need to do it yourself for example with
>
> /sbin/mkinitrd -v -f /what_ever_dir_is/boot/initrd-2.6.16-pipe.img
> 2.6.16-pipe
>
> which will create (OR REPLACE if it exists) your initrd file for kernel
> version
>
> 2.6.16-pipe
>
> Note that you still to update your lilo.conf / grub.conf file for
> adding your freshly
> compiled kernel.
On my FC5 distro I simply do:
$ make bzImage
$ make modules
# make modules_install
# make install
Then I reboot and select the new entry in the grub boot loader. I guess
this works for other distros as well.
>> 2
>> Then the make modules install generates the lib/modules/2.6.16-pipe
>> directory but it has only a very few modules. Not nearly as many as the
>> current kernel seems to have.
>
> It really depends on what you chose during
>
> make YYYYconfig
>
> step.
>
> you may try to diff the .config obtained for your currently running kernel
> with the one used for xenomai-patched kernel.
Copy the .config from you vanilla kernel to the Xenomai/iPipe kernel and
do "make menuconfig" selecting Xenomai options. On FC5 I can find the
.config for my running kernel in /boot or it might be visible via PROC
file system (/proc/config.gz if CONFIG_IKCONFIG is set). Unfortunately
this selects plenty of modules and building them takes very long.
>>
>> Might anyone be able to give some hints as to what I could be doing
>> wrong?
>
> What is wrong did you manage to boot?
>
> I don't if my answer are appropriate since I don't know
> exactly what step you did for compiling your kernel.
>
> May be you can tell us what you did exactly (command lines)
> and what you expected that does not work
> (missing files, kernel does not boot, no new kernel boot menu...)
>
>
next prev parent reply other threads:[~2007-02-20 10:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-19 19:15 [Xenomai-help] patching continues Roland Tollenaar
2007-02-20 7:23 ` Eric Noulard
2007-02-20 9:47 ` Roland Tollenaar
2007-02-20 10:16 ` Eric Noulard
2007-02-20 10:34 ` Roland Tollenaar
2007-02-20 11:00 ` Paul
2007-02-20 10:16 ` Wolfgang Grandegger [this message]
2007-02-20 13:11 ` Eric Noulard
2007-02-20 16:08 ` Roland Tollenaar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45DACA75.8030001@domain.hid \
--to=wg@domain.hid \
--cc=Xenomai-help@domain.hid \
--cc=eric.noulard@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.