Problem : patching the kernel

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Eric Cathelinaud e.cathelinaud at googlemail.com
Tue May 12 13:28:48 UTC 2009


Hi,

Thanks for your help.

I tried your command:

mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4

An error occured:
cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'

I really don't know how to solve the problem.


Then I tried to use the image of the previous kernel 2.6.26.2 to launch
2.6.27.4. There is no more Kernel panic but an error saying the lib/modules/
2.6.27.4/ directory doesn't exist. I don't understand this error at all
cause I checked and this directory actually exists.

Eric

2009/5/12 Bjoern Heller <mailinglists at hellercom.de>

> Hi,
> that should fix it ;)
>
> If anything is wrong in the tutorial tell me please.
> For me everything worked on both etch and lenny.
> I used standard netinstall...
>
> Björn
>
> Am 11.05.2009 um 17:26 schrieb Marcel Klein:
>
> Eric Cathelinaud wrote:
>
> [...] In /boot directory, I have initdr files only for 2.6.26.2 and
>
> 2.6.26.1.
>
>
> Sorry I am quite weak concerning the kernel. Can anyone help me?
>
>
> Then just use mkinitramfs-kpkg to build a new initrd for your build.
>
> ex: $ mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
>
> title           Debian GNU/Linux, kernel X
> root            (hd0,0)
> kernel          /vmlinuz-X
> initrd          /initrd.img-X
>
> and so on...
>
>
>      kenny_
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Björn Heller
> Jabber: tec at jabber.hellercom.de
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090512/3b2a922b/attachment.htm>


More information about the OpenBSC mailing list