[yocto] Using vendo kernel with Yocto
João Henrique Freitas
joaohf at gmail.com
Thu Apr 5 11:00:19 PDT 2012
Hi Paul,
> However, for one of my hobby projects I have been trying to get an iPAQ
> h2200
> (currently stuck with the 2.6.21-hh kernel) booting with a rootfs produced
> using Poky. The first problem is that the current version of udev that we
> have,
> 164, requires version 2.6.27 or later of the kernel, so you will need to
> provide an older udev. I've been testing with udev 092, but I still hit
> problems on boot
I disabled the device manage with:
VIRTUAL-RUNTIME_dev_manager = ""
> - if I disable the initscript that calls "ifup -a" it boots
> successfully, but with it the boot process hangs, even though there are no
> network interfaces other than lo and if I run "ifup -a" after booting then
> it
> works fine. That was the state a few weeks ago and I haven't done any
> further
> work on it since then.
>
>
I have the same behaviour. But after the boot, ifup -a freeze. This is the
strace:
open("/var/run/ifstate", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40003000
read(3, "lo=lo\n", 4096) = 6
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40003000, 4096) = 0
vfork() = 768
wait4(768,
If I remore the 'auto' from /etc/network/interfaces, ifup didn't freeze but
no ethx was configured.
> I guess what you can take from the above is it's almost certainly possible
> to
> work with a kernel as old as 2.6.2x, however you will need to downgrade
> udev
> (most easily by just bringing across udev recipes from OE Classic) and
> possibly other components, and you may still need to do additional
> troubleshooting.
>
>
I will try udev from OE Classic or port the Mindspeed patchs to kernel
2.6.27.
> Have you contacted the vendor to see if they can provide an updated patch?
>
>
Yes, I contacted they. They said that the kernel is 2.6.22.19 and did not
have plans to upgrade it.
Thanks.
--
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120405/c6a642a7/attachment.html>
More information about the yocto
mailing list