OM2008.9 kernel mutex problems
Vasco Névoa
vasco.nevoa at sapo.pt
Sat Nov 1 11:20:55 CET 2008
Andy Green wrote:
> Are you sure your modules belong with your monolithic kernel?
>
> In our build process from git we mark the version of the kernel in a way
> that makes it look down a version-specific path in /lib/modules, if we
> are not doing this in our packaged kernels you can end up with modules
> from a different build of the kernel getting pulled in if you just
> updated the monolithic kernel alone and see these kinds of insanity.
The problem seems to be in opkg dependencies... the modules are not
being updated correctly (they are in fact not in sync with the kernel).
For example:
opkg -f testing.conf whatdepends kernel-module-ppp-generic
Root set:
kernel-module-ppp-generic
What depends on root set
kernel-module-bsd-comp
2:2.6.24+git75969+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r1.01
depends on kernel-module-ppp-generic
kernel-module-ppp-async
2:2.6.24+git75969+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r1.01
depends on kernel-module-ppp-generic
kernel-module-ppp-deflate
2:2.6.24+git75969+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r1.01
depends on kernel-module-ppp-generic
kernel-module-ppp-mppe
2:2.6.24+git75969+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r1.01
depends on kernel-module-ppp-generic
kernel-module-ppp-synctty
2:2.6.24+git75969+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r1.01
depends on kernel-module-ppp-generic
kernel-modules
3:2.6.24+gitr76001+6e2a723ef54ee2e739c34786981b2c508db803c1-r2
depends on kernel-module-bsd-comp
task-base-ppp 1.0-r67.02 depends on kernel-module-ppp-async
task-machine-base 1.0-r67.02 depends on kernel-modules
This looks ok.
But if I do:
opkg -f testing.conf whatprovides kernel-modules
Collected errors:
* What provides kernel-modules
* kernel-modules *
It doesn't seem to know about dependencies...
In fact:
opkg -f testing.conf install -force-reinstall kernel-modules
Reinstalling kernel-modules
(3:2.6.24+gitr76001+6e2a723ef54ee2e739c34786981b2c508db803c1-r2) on root...
Downloading
http://downloads.openmoko.org/repository/testing/om-gta02/kernel-modules_2.6.24+gitr76001+6e2a723ef54ee2e739c34786981b2c508db803c1-r2_om-gta02.opk
Configuring kernel-modules
And that's it... it doesn't reinstall the modules themselves... :(
I'm using OM2008.9 stable, and then calling opkg with -f testing.conf
which has the link to "testing/om-gta02" to upgrade just the kernel.
Any hints?
Vasco.
More information about the devel
mailing list