Date   

#yocto #kernel #yocto #kernel

Monsees, Steven C (US)
 

 

Working on zeus 3.0.4, for aarch64

 

I  have a startup script making use of “service” How do I properly configure in support for the “service” command ?

I do not have an error when working under rocko.

 

The error seen is :    /etc/rc5.d/S15mountnfs.sh: line 70: service: command not found

 

Usage: @ line 70:  “service rpcbind status >/dev/null”

 

Thanks,

Steve


remove particular device from QB_OPT_APPEND: per-word manner

Sergey Ivanov <icegood1980@...>
 

For all info

---------- Forwarded message ---------
От: Quentin Schulz <quentin.schulz@...>
Date: вт, 12 янв. 2021 г. в 17:43
Subject: Re: [yocto] remove particular device from QB_OPT_APPEND: per-word manner
To: Sergey Ivanov <icegood1980@...>


Rah, please answer to all always (keep the mailing list in Cc). I'll
bounce the mail on the mailing list for you now.

On Tue, Jan 12, 2021 at 05:27:58PM +0200, Sergey Ivanov wrote:
> Thanks, it should work, provided...
> Am i understand correctly that all append-remove stuff works BEFORE
> anonymous python script?
>
> вт, 12 янв. 2021 г. в 17:19, Quentin Schulz <
> quentin.schulz@...>:
>
> > Hi Sergey,
> >
> > On Tue, Jan 12, 2021 at 05:09:25PM +0200, Sergey Ivanov wrote:
> > > Hi there.
> > >
> > > I'm working with arm64 target and i want to take control on usb buses on
> > it.
> > > What i'm trying to do is tro remove both bus and hid devices on it via
> > > QB_OPT_APPEND_remove = " -show-cursor -device qemu-xhci -device
> > usb-tablet
> > > -device usb-kbd "
> > >
> > > Of course, it doesn't work properly since it removes ALL occurrences of
> > > each word above. In particular, i had "-device VGA,edid=on" that i wanted
> > > to stay.
> > > Instead, i obtained "VGA,edid=on" that lead to boot error. OK, it is
> > clear.
> > > I also tried smth. like
> > >
> > > QB_OPT_APPEND_remove = " -show-cursor '-device qemu-xhci' '-device
> > > usb-tablet' '-device usb-kbd -device' "
> > >
> > > however nothing was removed here. Can i workaround given issue under
> > *Zeus?*
> >
> > A "hack" I'm thinking about right now would be to remove those variables
> > by hand in a python anonymous function. You want to expand the variable
> > first, then do some python regex or however you like, to remove what you
> > want. Python anonymous functions are run at parsing time.
> >
> > Otherwise, if you know pretty much exactly what the content of the
> > variable should be for you, you can always use the following:
> > QB_OPT_APPEND_<my-machine> = "<content>"
> >
> > Hope this can give you some ideas,
> > Cheers,
> > Quentin
> >
>
>
> --
> Kind regards,
> Sergey Ivanov

--
StreamUnlimited Engineering GmbH
High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, 1100 Vienna, Austria
Fax: +43 1 667 20 02 4401
quentin.schulz@..., www.streamunlimited.com


--
Kind regards,
Sergey Ivanov


Re: remove particular device from QB_OPT_APPEND: per-word manner

Quentin Schulz
 

On Tue, Jan 12, 2021 at 05:27:58PM +0200, Sergey Ivanov wrote:
Thanks, it should work, provided...
Am i understand correctly that all append-remove stuff works BEFORE
anonymous python script?
I'd say yes except for task-specific variables (one can do
QB_OPT_APPEND_task-install for example). Make sure you expand the
variable though (d.getVar('QB_OPT_APPEND', True) IIRC?) so that if
QB_OPT_APPEND contains other variables, they'll be resolved before you
start doing your logic.

Quentin


Yocto Project Status WW02`21

Stephen Jolley
 

Current Dev Position: YP 3.3 M2 development

Next Deadline: 18th January 2021 YP 3.3 M2 build 

 

Next Team Meetings:

 

Key Status/Updates:

  • Patches for 3.3 M2 development are being tested and merged. We have one week left before M2 is due to be built.
  • It was a mixed week for builds and patches, several reproducibility issues appeared and issues also appeared after patches had merged in the second or third build after that due to state reuse and differences between worker distros. This makes merging the patches challenging.
  • In particular, an upgrade to qemu 5.2.0 did merge. That upgrade includes a change to the underlying build system and the patchset was significantly rationalised which may cause issues. In particular, issues on centos hosts were eventually traced to the mmap_min_addr setting being too low (65536 now seems to be the useful minimum).
  • We are now tracking intermittent ptest failures and a number of bugs have been opened for these, we don’t as yet have people able to work on them though.
  • CVE metrics are starting to trend down again but we still have 56 “open” CVEs against master and more in gatesgath/dunfell so help in further reducing the number would be appreciated.
  • Intermittent autobuilder issues continue to occur and with more invasive changes and higher rebuild rates, the numbers are increasing again. You can see the list of failures we’re continuing to see by searching for the “AB-INT” tag in bugzilla: https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT

 

Ways to contribute:

 

YP 3.3 Milestone Dates:

  • YP 3.3 M2 build date 2021/01/18
  • YP 3.3 M2 Release date 2021/01/29
  • YP 3.3 M3 build date 2021/03/01
  • YP 3.3 M3 Release date 2021/03/12
  • YP 3.3 M4 build date 2021/04/05
  • YP 3.3 M4 Release date 2021/04/30

 

Planned upcoming dot releases:

  • YP 3.1.5 build date 2021/01/11
  • YP 3.1.5 release date 2021/01/22
  • YP 3.2.2 build date 2021/02/08
  • YP 3.2.2 release date 2021/02/19
  • YP 3.1.6 build date 2021/02/22
  • YP 3.1.6 release date 2021/03/05
  • YP 3.1.7 build date 2021/03/22
  • YP 3.1.7 release date 2021/04/02

 

Tracking Metrics:

 

The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at:

https://wiki.yoctoproject.org/wiki/TSC

 

The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status

 

[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Re: remove particular device from QB_OPT_APPEND: per-word manner

Quentin Schulz
 

Hi Sergey,

On Tue, Jan 12, 2021 at 05:09:25PM +0200, Sergey Ivanov wrote:
Hi there.

I'm working with arm64 target and i want to take control on usb buses on it.
What i'm trying to do is tro remove both bus and hid devices on it via
QB_OPT_APPEND_remove = " -show-cursor -device qemu-xhci -device usb-tablet
-device usb-kbd "

Of course, it doesn't work properly since it removes ALL occurrences of
each word above. In particular, i had "-device VGA,edid=on" that i wanted
to stay.
Instead, i obtained "VGA,edid=on" that lead to boot error. OK, it is clear.
I also tried smth. like

QB_OPT_APPEND_remove = " -show-cursor '-device qemu-xhci' '-device
usb-tablet' '-device usb-kbd -device' "

however nothing was removed here. Can i workaround given issue under *Zeus?*
A "hack" I'm thinking about right now would be to remove those variables
by hand in a python anonymous function. You want to expand the variable
first, then do some python regex or however you like, to remove what you
want. Python anonymous functions are run at parsing time.

Otherwise, if you know pretty much exactly what the content of the
variable should be for you, you can always use the following:
QB_OPT_APPEND_<my-machine> = "<content>"

Hope this can give you some ideas,
Cheers,
Quentin


Re: insmod - huawei E3372h kernel module

Zoltan Kerenyi Nagy
 

If I make a symbolic link for modprobe, the message is the same like insmod:
root@barix-ipam400:~# ln -s /lib/modules/4.10.0/extra/cdc-ncm.ko /lib/modules/4.10.0/
root@barix-ipam400:~# modprobe cdc_ncm.ko
modprobe: can't load module cdc_wdm (extra/cdc-wdm.ko): invalid module format

--
Zolee


Re: insmod - huawei E3372h kernel module

Zoltan Kerenyi Nagy
 

Intrestingly modprobe gives me a different error than insmod:
To me this means that it's gonna be a Yocto issue during bitbake.
My testing kernel module (hello word) bitbakes, and can be loaded and unloaded on the hardware
root@barix-ipam400:~# modprobe /lib/modules/4.10.0/extra/cdc-ncm.ko       
modprobe: module /lib/modules/4.10.0/extra/cdc-ncm.ko not found in modules.dep
root@barix-ipam400:~#
root@barix-ipam400:~# modprobe /lib/modules/4.10.0/extra/cdc-wdm.ko
modprobe: module /lib/modules/4.10.0/extra/cdc-wdm.ko not found in modules.dep
root@barix-ipam400:~#
root@barix-ipam400:~# modprobe /lib/modules/4.10.0/extra/h         
hello.ko           huawei_cdc_ncm.ko 
root@barix-ipam400:~# modprobe /lib/modules/4.10.0/extra/huawei_cdc_ncm.ko
modprobe: module /lib/modules/4.10.0/extra/huawei_cdc_ncm.ko not found in modules.dep
root@barix-ipam400:~#


--
Zolee


remove particular device from QB_OPT_APPEND: per-word manner

Sergey Ivanov <icegood1980@...>
 

Hi there.

I'm working with arm64 target and i want to take control on usb buses on it.
What i'm trying to do is tro remove both bus and hid devices on it via
QB_OPT_APPEND_remove = " -show-cursor -device qemu-xhci -device usb-tablet -device usb-kbd "

Of course, it doesn't work properly since it removes ALL occurrences of each word above. In particular, i had "-device VGA,edid=on" that i wanted to stay.
Instead, i obtained "VGA,edid=on" that lead to boot error. OK, it is clear. I also tried smth. like

QB_OPT_APPEND_remove = " -show-cursor '-device qemu-xhci' '-device usb-tablet' '-device usb-kbd -device' "

however nothing was removed here. Can i workaround given issue under Zeus?
--
Kind regards,
Sergey Ivanov


Re: Unable to add pre compiled library #yocto

Quentin Schulz
 

Hi VR,

On Tue, Jan 12, 2021 at 07:57:46PM +0530, Vijay Rakesh Munganda wrote:
Hi Raj,

I had downloaded complete meta-clang and ran bitbake then I got an error message as layer is not compatible with dunfell version. Then I had downloaded libcxx recipe and added into the build, but do_compile doesn’t show any progress, even after two hours at shows 16%. At this point RAM usage is 72% and CPU is 43%. I’m not sure whether this is related to memory resource or any other.
I told you on StackOverflow to checkout the dunfell branch of
meta-clang. Do that, and recompile again instead of cherry-picking
recipes, classes, patches and whatnot.
Once you've something that works, you can experiment with cherry-picking
if you want.

Cheers,
Quentin


Re: Unable to add pre compiled library #yocto

Vijay Rakesh Munganda
 

Hi Raj,

I had downloaded complete meta-clang and ran bitbake then I got an error message as layer is not compatible with dunfell version. Then I had downloaded libcxx recipe and added into the build, but do_compile doesn’t show any progress, even after two hours at shows 16%. At this point RAM usage is 72% and CPU is 43%. I’m not sure whether this is related to memory resource or any other.

Thanks & Regards,
VR

On 12-Jan-2021, at 14:38, Khem Raj <raj.khem@...> wrote:

On Mon, Jan 11, 2021 at 11:46 PM Vijay Rakesh Munganda
<vijayrakeshmunganda@...> wrote:
Hi,
I'm trying to install a pre-compiled library, but I got an error as follows. I had tried to add libcxx from meta-clang, but it doesn't compatible with Yocto dunfell version. Is there another way to avoid error?
it seems to need llvm C++ runtime and using meta-clang/libcxx is the
right way to go about it. What errors do you run into ?

ERROR: tokbox-2.18.1-r0 do_package_qa: QA Issue: /usr/lib/libopentok.so contained in package tokbox requires libc++.so.1()(64bit), but no providers found in RDEPENDS_tokbox? [file-rdeps]
ERROR: tokbox-2.18.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
Thanks,
VR.


Re: Unable to add pre compiled library #yocto

Khem Raj
 

On Mon, Jan 11, 2021 at 11:46 PM Vijay Rakesh Munganda
<vijayrakeshmunganda@...> wrote:

Hi,

I'm trying to install a pre-compiled library, but I got an error as follows. I had tried to add libcxx from meta-clang, but it doesn't compatible with Yocto dunfell version. Is there another way to avoid error?
it seems to need llvm C++ runtime and using meta-clang/libcxx is the
right way to go about it. What errors do you run into ?

ERROR: tokbox-2.18.1-r0 do_package_qa: QA Issue: /usr/lib/libopentok.so contained in package tokbox requires libc++.so.1()(64bit), but no providers found in RDEPENDS_tokbox? [file-rdeps]
ERROR: tokbox-2.18.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

Thanks,
VR.


Unable to add pre compiled library #yocto

Vijay Rakesh Munganda
 

Hi,

I'm trying to install a pre-compiled library, but I got an error as follows. I had tried to add libcxx from meta-clang, but it doesn't compatible with Yocto dunfell version. Is there another way to avoid error?

ERROR: tokbox-2.18.1-r0 do_package_qa: QA Issue: /usr/lib/libopentok.so contained in package tokbox requires libc++.so.1()(64bit), but no providers found in RDEPENDS_tokbox? [file-rdeps]
ERROR: tokbox-2.18.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
Thanks,
VR.


Re: BITBAKE HANGS

U RAVI KUMAR <uppadaravi2511@...>
 

Hello Davis,

              I will try using 16 GB ram. Thank you very much for your response.
Thanks,
ravi uppada.

On Mon, Jan 11, 2021 at 11:18 PM Davis, Michael <michael.davis@...> wrote:

QTWebengine needs a considerable amount of RAM to compile and link relative to the rest of Yocto.

Normally around 12-16GB.  Less than that and the system tends to hang.

 

 

 

From: yocto@... <yocto@...> On Behalf Of U RAVI KUMAR via lists.yoctoproject.org
Sent: Monday, January 11, 2021 11:25 AM
To: yocto@...
Subject: [yocto] BITBAKE HANGS

 

hi guys,

 

 I have encountered with a problem.I have built a custom linux for raspberrypi and included meta-openembedded,meta-raspberrypi,meta-qt5,meta-python2 layers and compiled on the bitbake. it is working fine.

I have added recipe "qtwebengine" , here i have encountered an issue i.e the system hangs. only while compiling qtwebengine system hangs.Can anyone suggest me the solution.So that i canovercome and proceed fiurther..

 

Thanks and regards,

ravikumar



CONFIDENTIALITY NOTICE:

This e-mail transmission and any documents, files or previous e-mail messages attached to it may contain information that is confidential, protected by the attorney/client or other privileges, and may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above.

Any unauthorized use, reproduction, forwarding, distribution or other dissemination of this transmission is strictly prohibited and may be unlawful. If you are not an intended recipient of this email transmission, please notify the sender by return e-mail and permanently delete any record of this transmission. Your cooperation is appreciated. To find out more Click Here.


M+ & H bugs with Milestone Movements WW02

Stephen Jolley
 

All,

YP M+ or high bugs which moved to a new milestone in WW02 are listed below:

Priority

Bug ID

Short Description

Changer

Owner

Was

Became

Medium+

13919

Multi License GPLv3 -lic cannot be installed into the image because it has incompatible license

randy.macleod@...

idadelm@...

3.3 M1

3.3 M2

 

14077

devtool doesn't handle server failing to startup gracefully

randy.macleod@...

stacygaikovaia@...

3.3 M1

3.3 M2

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Enhancements/Bugs closed WW02!

Stephen Jolley
 

All,

The below were the owners of enhancements or bugs closed during the last week!

Who

Count

richard.purdie@...

5

randy.macleod@...

1

ross@...

1

chee.yang.lee@...

1

Grand Total

8

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Current high bug count owners for Yocto Project 3.3

Stephen Jolley
 

All,

Below is the list as of top 50 bug owners as of the end of WW02 of who have open medium or higher bugs and enhancements against YP 3.3.   There are 76 possible work days left until the final release candidates for YP 3.3 needs to be released.

Who

Count

richard.purdie@...

35

ross@...

27

david.reyna@...

21

bluelightning@...

19

bruce.ashfield@...

14

timothy.t.orling@...

12

JPEWhacker@...

11

mark.morton@...

11

kai.kang@...

10

akuster808@...

10

sakib.sajal@...

10

trevor.gamblin@...

9

randy.macleod@...

6

Qi.Chen@...

6

yi.zhao@...

4

idadelm@...

4

mingli.yu@...

4

stacygaikovaia@...

4

hongxu.jia@...

4

raj.khem@...

4

anuj.mittal@...

3

alejandro@...

3

chee.yang.lee@...

3

mostthingsweb@...

3

pbarker@...

2

saul.wold@...

2

matthewzmd@...

2

jaewon@...

2

pokylinux@...

2

ydirson@...

2

jeanmarie.lemetayer@...

2

jon.mason@...

2

mhalstead@...

1

aehs29@...

1

Martin.Jansa@...

1

nicolas.dechesne@...

1

kergoth@...

1

kamensky@...

1

sangeeta.jain@...

1

akuster@...

1

matt.ranostay@...

1

dl9pf@...

1

joe.slater@...

1

twoerner@...

1

mark.hatle@...

1

liezhi.yang@...

1

shachar@...

1

maxime.roussinbelanger@...

1

kexin.hao@...

1

mshah@...

1

Grand Total

271

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Yocto Project Newcomer & Unassigned Bugs - Help Needed

Stephen Jolley
 

All,

 

The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please review: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and how to create a bugzilla account at: https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project.  If anyone can help, please take ownership of the bug and send patches!  If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 344 unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out with these.  Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system.  There are also roughly four different "priority" classes right now, “3.2”, “3.3, "3.99" and "Future", the more pressing/urgent issues being in "3.2" and then “3.3”.

 

Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account).  The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Re: BITBAKE HANGS

Davis, Michael
 

QTWebengine needs a considerable amount of RAM to compile and link relative to the rest of Yocto.

Normally around 12-16GB.  Less than that and the system tends to hang.

 

 

 

From: yocto@... <yocto@...> On Behalf Of U RAVI KUMAR via lists.yoctoproject.org
Sent: Monday, January 11, 2021 11:25 AM
To: yocto@...
Subject: [yocto] BITBAKE HANGS

 

hi guys,

 

 I have encountered with a problem.I have built a custom linux for raspberrypi and included meta-openembedded,meta-raspberrypi,meta-qt5,meta-python2 layers and compiled on the bitbake. it is working fine.

I have added recipe "qtwebengine" , here i have encountered an issue i.e the system hangs. only while compiling qtwebengine system hangs.Can anyone suggest me the solution.So that i canovercome and proceed fiurther..

 

Thanks and regards,

ravikumar



CONFIDENTIALITY NOTICE:

This e-mail transmission and any documents, files or previous e-mail messages attached to it may contain information that is confidential, protected by the attorney/client or other privileges, and may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above.

Any unauthorized use, reproduction, forwarding, distribution or other dissemination of this transmission is strictly prohibited and may be unlawful. If you are not an intended recipient of this email transmission, please notify the sender by return e-mail and permanently delete any record of this transmission. Your cooperation is appreciated. To find out more Click Here.


BITBAKE HANGS

U RAVI KUMAR <uppadaravi2511@...>
 

hi guys,

 I have encountered with a problem.I have built a custom linux for raspberrypi and included meta-openembedded,meta-raspberrypi,meta-qt5,meta-python2 layers and compiled on the bitbake. it is working fine.
I have added recipe "qtwebengine" , here i have encountered an issue i.e the system hangs. only while compiling qtwebengine system hangs.Can anyone suggest me the solution.So that i canovercome and proceed fiurther..

Thanks and regards,
ravikumar


Re: insmod - huawei E3372h kernel module

Zoltan Kerenyi Nagy
 

I managed to bitbake without errors/warning the 2 additional modules, however I cannot load those modules manually on the device:

http://paste.ubuntu.com/p/My4x5j3t4R/

Do you you have any idea?
--
Zolee