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
Wed May 13 13:28:16 UTC 2009


Hi,

Finally i used yaird instead of mkinitramfs to build the image and it works
fine:

apt-get install yaird
yaird –v –o /boot/initrd.img-2.6.27.4 2.6.27.4

*if yaird return an error saying /lib/modules/2.6.27.4/modules.pcimap is
missing:

depmod -a -m -F /boot/System.map-2.6.27.4 2.6.27.4

dpkg --configure -a


Now I can boot on kernel 2.6.27.4
Thanks a lot for the help

I still have a problem with *hfcmulti.dslot=1*
After reboot it says that it is not recognized and is ignored.
My /boot/grub/menu.lst is as follow:

title           Debian GNU/Linux, kernel 2.6.27.4
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.27.4 root=/dev/hda1 hfcmulti.dslot=1 ro
quiet
initrd          /boot/initrd.img-2.6.27.4

and during the *make-kpkg linux-image --initrd --revision=openbsc01.0*, I
saw these lines:
CC [M]  drivers/isdn/hardware/mISDN/hfcpci.o
CC [M]  drivers/isdn/hardware/mISDN/hfcmulti.o
...

Did I miss something?

Best regards,
Eric


2009/5/13 Eric Cathelinaud <e.cathelinaud at googlemail.com>

> Hi Holger,
>
> I have got an IDE hard desk, not SATA.
> I think it's coming from the initrd missing. I don't understand why there
> is an error when launching the command:
> mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
> The error is :
> cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'
>
> I tried to do 'update-initramfs -u -k all' but still have the same problem:
> cp: operand of the target file missing after
> `/tmp/tmp.XXXX<something>/sbin/'
>
> The software is using cp for some reason but something is missing and I
> don't know what.
> I installed mkinitramfs and libbash (needed by mkinitramfs). Did I miss
> something?
>
> Best regards,
> Eric
>
> 2009/5/12 Holger Adams <holger at kernreaktor.org>
>
> Hi Eric,
>>
>> Eric Cathelinaud wrote:
>> > Hi,
>> >
>> > I followed Debian_Getting_Started chapter in the wiki. There wasn't any
>> > error but, after rebooting, the kernel crashed:
>> >
>> > Booting 'Debian GNU/Linux, kernel 2.6.27.4'
>> >
>> > root (hd0,0)
>> > Filesystem type is ext2fs, partition type 0x83
>> > kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1
>> > [Linux-bzImage, setup=0x3000, size=0x1796901]
>> >
>> >
>> > [0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring
>> > [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on
>> > unknown-block(0,0)
>>
>> Have you forgotten to add SATA support to the kernel and renaming the
>> hardisk to sda (fstab)?
>>
>> Best Regards,
>> Holger
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090513/a5a7682a/attachment.htm>


More information about the OpenBSC mailing list