* installation of kernel modules
@ 2016-06-21 8:33 S.Jaritz
2016-06-21 18:15 ` Daniel.
0 siblings, 1 reply; 4+ messages in thread
From: S.Jaritz @ 2016-06-21 8:33 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]
Hej
I have a problem when running do_rootfs() with some own kernel drivers
included.
My kernel recipe builds some easy GPIO drivers.
# They come as one package:
myKernelModules:
-> a.ko
-> b.ko
-> c.ko
# I build a recipe which creates:
myKernelModules.bb
-> packages-split/myKernelModules
-> packages-split/kernel-module-a
-> packages-split/kernel-module-b
-> packages-split/kernel-module-c
-> packages-split/myKernelModules-.....
# I try to pack/install my Module by adding to layer.conf:
IMAGE_INSTALL_append=" myKernelModules"
When I try to build the rootfs I got that error:
The following packages have unmet dependencies:
myKernelModules : Depends: kernel-module-a but it is not installable
Depends: kernel-module-b but it is not installable
Depends: kernel-module-c but it is not installable
E: Unable to correct problems, you have held broken packages.
Any idea how to fix this problem?
Regards!
Stefan Jaritz
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz@esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
[-- Attachment #2: Type: text/html, Size: 3883 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: installation of kernel modules
2016-06-21 8:33 installation of kernel modules S.Jaritz
@ 2016-06-21 18:15 ` Daniel.
2016-06-22 6:57 ` Antwort: " S.Jaritz
0 siblings, 1 reply; 4+ messages in thread
From: Daniel. @ 2016-06-21 18:15 UTC (permalink / raw)
To: S.Jaritz; +Cc: yocto
Take a look at deploy folder if your packages (rpm in my case) are
being created. I have faced problems where files go to -dev.rpm
packages and the yocto silently refuses to create empty .rpm package.
Regards,
2016-06-21 5:33 GMT-03:00 <S.Jaritz@esa-grimma.de>:
> Hej
>
> I have a problem when running do_rootfs() with some own kernel drivers
> included.
>
> My kernel recipe builds some easy GPIO drivers.
>
> # They come as one package:
> myKernelModules:
> -> a.ko
> -> b.ko
> -> c.ko
>
> # I build a recipe which creates:
> myKernelModules.bb
> -> packages-split/myKernelModules
> -> packages-split/kernel-module-a
> -> packages-split/kernel-module-b
> -> packages-split/kernel-module-c
> -> packages-split/myKernelModules-.....
>
> # I try to pack/install my Module by adding to layer.conf:
>
> IMAGE_INSTALL_append=" myKernelModules"
>
> When I try to build the rootfs I got that error:
>
> The following packages have unmet dependencies:
> myKernelModules : Depends: kernel-module-a but it is not installable
> Depends: kernel-module-b but it is not installable
> Depends: kernel-module-c but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
> Any idea how to fix this problem?
>
> Regards!
>
> Stefan Jaritz
>
> ------------------------------------------------------------
> ESA Elektroschaltanlagen Grimma GmbH
> Broner Ring 30
> 04668 Grimma
> Telefon: +49 3437 9211 176
> Telefax: +49 3437 9211 26
> E-Mail: s.jaritz@esa-grimma.de
> Internet: www.esa-grimma.de
>
>
> Geschäftsführer:
> Dipl.-Ing. Jörg Gaitzsch
> Jörg Reinker
>
> Sitz der Gesellschaft: Grimma
> Ust.-ID: DE 141784437
> Amtsgericht: Leipzig, HRB 5159
> Steuernummer: 238/108/00755
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> Mail
> ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly
> forbidden.
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
--
"Do or do not. There is no try"
Yoda Master
^ permalink raw reply [flat|nested] 4+ messages in thread
* Antwort: Re: installation of kernel modules
2016-06-21 18:15 ` Daniel.
@ 2016-06-22 6:57 ` S.Jaritz
2016-06-22 12:48 ` Daniel.
0 siblings, 1 reply; 4+ messages in thread
From: S.Jaritz @ 2016-06-22 6:57 UTC (permalink / raw)
To: Daniel.; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 4871 bytes --]
Hej Daniel,
Building the modules as rpm works fine but it fails for deb. The deb
generation process seems a little buggy. I have discovered problems with
naming recipes (the QA tries to find the license by a "lowercased" link).
I checked the package dir. It is fine. The 3 files (a.ko, b.ko, & c.ko)
are placed rightfully. The splitting into packages produces 3 kernel
module packages and the 6 standard packages(like dev, static, local, etc).
I think the problem is that the module will be compiled and deployed
together with the kernel and the common packages later at the do_rootfs.
That's why the myKernelModules recipe is deployed at the tmp/wok/<kernel>
dir (and not at the tmp/work/<rootfs>).
Regards,
Stefan Jaritz
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz@esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
Von: "Daniel." <danielhilst@gmail.com>
An: S.Jaritz@esa-grimma.de
Kopie: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Datum: 21.06.2016 20:15
Betreff: Re: [yocto] installation of kernel modules
Take a look at deploy folder if your packages (rpm in my case) are
being created. I have faced problems where files go to -dev.rpm
packages and the yocto silently refuses to create empty .rpm package.
Regards,
2016-06-21 5:33 GMT-03:00 <S.Jaritz@esa-grimma.de>:
> Hej
>
> I have a problem when running do_rootfs() with some own kernel drivers
> included.
>
> My kernel recipe builds some easy GPIO drivers.
>
> # They come as one package:
> myKernelModules:
> -> a.ko
> -> b.ko
> -> c.ko
>
> # I build a recipe which creates:
> myKernelModules.bb
> -> packages-split/myKernelModules
> -> packages-split/kernel-module-a
> -> packages-split/kernel-module-b
> -> packages-split/kernel-module-c
> -> packages-split/myKernelModules-.....
>
> # I try to pack/install my Module by adding to layer.conf:
>
> IMAGE_INSTALL_append=" myKernelModules"
>
> When I try to build the rootfs I got that error:
>
> The following packages have unmet dependencies:
> myKernelModules : Depends: kernel-module-a but it is not installable
> Depends: kernel-module-b but it is not installable
> Depends: kernel-module-c but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
> Any idea how to fix this problem?
>
> Regards!
>
> Stefan Jaritz
>
> ------------------------------------------------------------
> ESA Elektroschaltanlagen Grimma GmbH
> Broner Ring 30
> 04668 Grimma
> Telefon: +49 3437 9211 176
> Telefax: +49 3437 9211 26
> E-Mail: s.jaritz@esa-grimma.de
> Internet: www.esa-grimma.de
>
>
> Geschäftsführer:
> Dipl.-Ing. Jörg Gaitzsch
> Jörg Reinker
>
> Sitz der Gesellschaft: Grimma
> Ust.-ID: DE 141784437
> Amtsgericht: Leipzig, HRB 5159
> Steuernummer: 238/108/00755
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> Mail
> ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If
you
> are
> not the intended recipient (or have received this e-mail in error)
please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly
> forbidden.
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
--
"Do or do not. There is no try"
Yoda Master
[-- Attachment #2: Type: text/html, Size: 7156 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: installation of kernel modules
2016-06-22 6:57 ` Antwort: " S.Jaritz
@ 2016-06-22 12:48 ` Daniel.
0 siblings, 0 replies; 4+ messages in thread
From: Daniel. @ 2016-06-22 12:48 UTC (permalink / raw)
To: S.Jaritz; +Cc: yocto
Hi Stefan,
Can you share your log.do_rootfs?
Regards,
2016-06-22 3:57 GMT-03:00 <S.Jaritz@esa-grimma.de>:
> Hej Daniel,
>
> Building the modules as rpm works fine but it fails for deb. The deb
> generation process seems a little buggy. I have discovered problems with
> naming recipes (the QA tries to find the license by a "lowercased" link).
>
> I checked the package dir. It is fine. The 3 files (a.ko, b.ko, & c.ko) are
> placed rightfully. The splitting into packages produces 3 kernel module
> packages and the 6 standard packages(like dev, static, local, etc). I think
> the problem is that the module will be compiled and deployed together with
> the kernel and the common packages later at the do_rootfs. That's why the
> myKernelModules recipe is deployed at the tmp/wok/<kernel> dir (and not at
> the tmp/work/<rootfs>).
>
> Regards,
>
>
> Stefan Jaritz
>
>
> ------------------------------------------------------------
> ESA Elektroschaltanlagen Grimma GmbH
> Broner Ring 30
> 04668 Grimma
> Telefon: +49 3437 9211 176
> Telefax: +49 3437 9211 26
> E-Mail: s.jaritz@esa-grimma.de
> Internet:
> www.esa-grimma.de
>
>
>
> Geschäftsführer:
> Dipl.-Ing. Jörg Gaitzsch
> Jörg Reinker
>
> Sitz der Gesellschaft: Grimma
> Ust.-ID: DE 141784437
> Amtsgericht: Leipzig, HRB 5159
> Steuernummer: 238/108/00755
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> Mail
> ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly
> forbidden.
>
>
>
> Von: "Daniel." <danielhilst@gmail.com>
> An: S.Jaritz@esa-grimma.de
> Kopie: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
> Datum: 21.06.2016 20:15
> Betreff: Re: [yocto] installation of kernel modules
> ________________________________
>
>
>
> Take a look at deploy folder if your packages (rpm in my case) are
> being created. I have faced problems where files go to -dev.rpm
> packages and the yocto silently refuses to create empty .rpm package.
>
> Regards,
>
> 2016-06-21 5:33 GMT-03:00 <S.Jaritz@esa-grimma.de>:
>> Hej
>>
>> I have a problem when running do_rootfs() with some own kernel drivers
>> included.
>>
>> My kernel recipe builds some easy GPIO drivers.
>>
>> # They come as one package:
>> myKernelModules:
>> -> a.ko
>> -> b.ko
>> -> c.ko
>>
>> # I build a recipe which creates:
>> myKernelModules.bb
>> -> packages-split/myKernelModules
>> -> packages-split/kernel-module-a
>> -> packages-split/kernel-module-b
>> -> packages-split/kernel-module-c
>> -> packages-split/myKernelModules-.....
>>
>> # I try to pack/install my Module by adding to layer.conf:
>>
>> IMAGE_INSTALL_append=" myKernelModules"
>>
>> When I try to build the rootfs I got that error:
>>
>> The following packages have unmet dependencies:
>> myKernelModules : Depends: kernel-module-a but it is not installable
>> Depends: kernel-module-b but it is not installable
>> Depends: kernel-module-c but it is not installable
>> E: Unable to correct problems, you have held broken packages.
>>
>> Any idea how to fix this problem?
>>
>> Regards!
>>
>> Stefan Jaritz
>>
>> ------------------------------------------------------------
>> ESA Elektroschaltanlagen Grimma GmbH
>> Broner Ring 30
>> 04668 Grimma
>> Telefon: +49 3437 9211 176
>> Telefax: +49 3437 9211 26
>> E-Mail: s.jaritz@esa-grimma.de
>> Internet: www.esa-grimma.de
>>
>>
>> Geschäftsführer:
>> Dipl.-Ing. Jörg Gaitzsch
>> Jörg Reinker
>>
>> Sitz der Gesellschaft: Grimma
>> Ust.-ID: DE 141784437
>> Amtsgericht: Leipzig, HRB 5159
>> Steuernummer: 238/108/00755
>>
>>
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen.
>> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
>> erhalten
>> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
>> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
>> Mail
>> ist nicht gestattet.
>>
>> This e-mail may contain confidential and/or privileged information. If you
>> are
>> not the intended recipient (or have received this e-mail in error) please
>> notify the sender immediately and destroy this e-mail. Any unauthorized
>> copying, disclosure or distribution of the material in this e-mail is
>> strictly
>> forbidden.
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
>
> --
> "Do or do not. There is no try"
> Yoda Master
>
--
"Do or do not. There is no try"
Yoda Master
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-22 12:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 8:33 installation of kernel modules S.Jaritz
2016-06-21 18:15 ` Daniel.
2016-06-22 6:57 ` Antwort: " S.Jaritz
2016-06-22 12:48 ` Daniel.
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.