LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
ak77_ has quit [Ping timeout: 248 seconds]
ak77 has joined #yocto
ak77 has quit [Ping timeout: 260 seconds]
ak77 has joined #yocto
ajfriesen16 has quit [Ping timeout: 244 seconds]
ajfriesen16 has joined #yocto
ak77 has quit [Ping timeout: 244 seconds]
ak77 has joined #yocto
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #yocto
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
Articulus has quit [Quit: Leaving]
nga539 has quit [Ping timeout: 252 seconds]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 248 seconds]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 260 seconds]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 248 seconds]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 252 seconds]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 252 seconds]
nga23 has joined #yocto
nga23 has quit [Max SendQ exceeded]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 260 seconds]
nga23 has joined #yocto
nga23 has quit [Max SendQ exceeded]
nga23 has joined #yocto
nga23 has quit [Ping timeout: 248 seconds]
nga23 has joined #yocto
goliath has joined #yocto
nga23 has quit [Ping timeout: 260 seconds]
kanavin_ has quit [Read error: Connection reset by peer]
kanavin has joined #yocto
nga23 has joined #yocto
nga23 has quit [Ping timeout: 265 seconds]
nga23 has joined #yocto
rob_w has joined #yocto
rob_w_ has joined #yocto
frieder has joined #yocto
nga23 has quit [Ping timeout: 252 seconds]
nga23 has joined #yocto
sgw has quit [Ping timeout: 276 seconds]
rfuentess has joined #yocto
mckoan|away is now known as mckoan
sgw has joined #yocto
Tyaku has joined #yocto
Kubu_work has joined #yocto
<smurray> RP: sure, I'll fill out the form later today
Vonter has quit [Ping timeout: 260 seconds]
<Tyaku> I finally understand my problem with the interfaces and UDEV rules, but don't know how to solve it, this is related to interface order + "interlocking":
<Tyaku> If I configure my UDEV rules to put physical ethernet device on "ethernet" ifname and usb-ethernet to "lte": This is OK, on startup they have these names
<Tyaku> If I configure my UDEV rules to pyt physical ethernet device on "eth0" and usb-ethernet on "eth1": It's not OK
<Tyaku> The reason: On startup (dmesg) I see that usb-ethernet starts first, (before the physical phy), so it takes eth0, then the physical ethernet takes eth1
florian has joined #yocto
<Tyaku> When UDEV want to configure "physical ethernet" to "eth0" and "usb-ethernet" to "eth1" it can't because the interfaces are already in use (maybe).
<Tyaku> My objective is to get the "physical ethernet" on "eth0" and "usb-ethernet" (LTE Module) on "eth1".
gportay has joined #yocto
leon-anavi has joined #yocto
ablu has quit [Ping timeout: 260 seconds]
ablu has joined #yocto
nga23 has quit [Ping timeout: 244 seconds]
g0hl1n has joined #yocto
nga23 has joined #yocto
g0hl1n has quit [Client Quit]
nga23 has quit [Ping timeout: 252 seconds]
nga23 has joined #yocto
florian_kc has joined #yocto
florian has quit [Killed (NickServ (GHOST command used by florian_kc))]
florian_kc is now known as florian
tor has quit [Quit: Leaving]
prabhakalad has joined #yocto
zhmylove has joined #yocto
frgo has quit [Remote host closed the connection]
frgo has joined #yocto
sugarbee1 has quit [Ping timeout: 272 seconds]
sugarbeet has joined #yocto
nga23 has quit [Ping timeout: 245 seconds]
ehussain has joined #yocto
nga23 has joined #yocto
landgraf has quit [Quit: WeeChat 3.6]
landgraf has joined #yocto
landgraf has quit [Client Quit]
landgraf has joined #yocto
nga23 has quit [Ping timeout: 260 seconds]
<mcfrisk> runqemu is not parsing conf/local.conf for things like QB_DEFAULT_BIOS? that feels odd
ehussain has quit [Remote host closed the connection]
ehussain has joined #yocto
<RP> mcfrisk: you'd have to be more specific. In general runqemu would pull things from the qemuboot conf file in preference and tries to avoid querying bitbake
<smurray> RP: done
<RP> smurray: thanks!
<mcfrisk> RP: thanks, qemuboot.conf did not get regenerated after rebuilds and that's why my changes in local.conf were not effective
<RP> mcfrisk: sounds like we need to improve the dependencies that go into the hashes for those tasks :/
<mcfrisk> I can try to dig into that. additionally there was some build failure related to initrd license data which was failing rebuilds of core-image-base. wiping tmp fixed that for me but I should maybe dig deeper when that happens again..
nga23 has joined #yocto
nga23 has quit [Ping timeout: 252 seconds]
Vonter has joined #yocto
ehussain has quit [Ping timeout: 252 seconds]
ehussain has joined #yocto
nga23 has joined #yocto
nga23 has quit [Ping timeout: 260 seconds]
<RP> mcfrisk: please, it would be good to get to the bottom of the issues. Your runqemu leftover process fix looks good btw, thanks!
nga23 has joined #yocto
nga23 has quit [Ping timeout: 245 seconds]
frieder_ has joined #yocto
frieder has quit [Quit: Leaving]
bq has quit [Ping timeout: 246 seconds]
nga23 has joined #yocto
bq has joined #yocto
nga23 has quit [Max SendQ exceeded]
prabhakalad has quit [Ping timeout: 244 seconds]
gportay has quit [Ping timeout: 240 seconds]
prabhakalad has joined #yocto
florian_kc has joined #yocto
florian has quit [Ping timeout: 276 seconds]
ctraven is now known as sotaoverride
<LetoThe2nd> mcfrisk: I actually ran into the qemuboot.conf not being regenerated problem too some weeks back, and if you find the cause/fix plz ping me.
Daanct12 has joined #yocto
Daanct12 has quit [Client Quit]
<RP> LetoThe2nd, mcfrisk: even if you could open a bug just saying what you changed which didn't make it through, that would be useful
|Xagen has quit [Remote host closed the connection]
rob_w_ has quit [Quit: Leaving]
jmiehe has joined #yocto
cyxae has joined #yocto
Tyaku has quit [Ping timeout: 252 seconds]
adrianalin has joined #yocto
Tyaku has joined #yocto
adrianalin has quit [Client Quit]
adrianalin has joined #yocto
leon-anavi has quit [Quit: Leaving]
<adrianalin> Hello, I am using yocto scarthap with the meta-lts-mixins recipe for rust (1.81.0);
Xagen has joined #yocto
<adrianalin> I generated an SDK for another x86 machine. Now I am trying to build a simple rust project with:
<adrianalin> - build.rs (which starts cmake for configuring/compiling cmake base `hello world` app)
<adrianalin> use cmake::Config;
<adrianalin> fn main() {
<adrianalin>     let _dst = Config::new("test_cmake_cpp")
<adrianalin>         .define("CMAKE_VERBOSE_MAKEFILE", "TRUE")
<adrianalin>         .define("CMAKE_SYSTEM_NAME", "Linux")
<adrianalin>         .define("CMAKE_SYSTEM_PROCESSOR","x86_64")
<adrianalin>         .define("CMAKE_CROSS_COMPILE", "TRUE")
<adrianalin>         .define("CMAKE_TOOLCHAIN_FILE", "/opt/weos/1.0.0/sysroots/x86_64-weos-linux/usr/share/cmake/OEToolchainConfig.cmake")
<adrianalin>         .define("CMAKE_C_COMPILER", "/opt/weos/1.0.0/sysroots/x86_64-weos-linux/usr/bin/x86_64-we-linux/x86_64-we-linux-gcc")
<adrianalin>         .define("CMAKE_CXX_COMPILER", "/opt/weos/1.0.0/sysroots/x86_64-weos-linux/usr/bin/x86_64-we-linux/x86_64-we-linux-g++")
<adrianalin>         .define("CMAKE_SYSROOT", "/opt/weos/1.0.0/sysroots/x86-64-v3-we-linux")
<adrianalin>         .very_verbose(true)
<adrianalin>         .build();
<adrianalin> }
<adrianalin> - I also have the test_cmake_cpp directory which contains CMakeLists.txt and main.c (simple "Hello world")
<Saur> adrianalin: Please use pastebin when pasting multiple lines.
<adrianalin> Hi, this is the message with pastebin https://pastebin.com/raw/EAaC9J60
<RP> adrianalin: that looks like the glibc we include in the SDK is not working well with the glibc on the host system :(
<RP> adrianalin: is that using the latest uninative (and latest scarthgap)? If not, you could try updating those
<adrianalin> hmm but running cmake/make for the test project with yocto SDK runs ok, no issue;
<adrianalin> running cargo build for a simple rust project also works good;
<adrianalin> just when putting them together i got that issue
gportay has joined #yocto
BoergeSt has joined #yocto
BoergeSt has quit [Quit: WeeChat 4.1.1]
BoergeSt has joined #yocto
gportay has quit [Ping timeout: 240 seconds]
florian_kc has quit [Ping timeout: 248 seconds]
goliath has quit [Quit: SIGSEGV]
<adrianalin> seems like my build passes if i use a docker container based on the generated yocto root fs, and installing the SDK in that rootfs; hope there will not be big problems in the future
<adrianalin> thank you RP for the hint!
jmiehe has quit [Quit: jmiehe]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xagen has joined #yocto
<RP> adrianalin: if you have a way to reproduce it might be worth a bug report in bugzilla. I worry there may be issues in future :/
vermaete14 has quit [Quit: Client closed]
Chris86 has quit [Quit: Client closed]
<rburton> what the hell linux-kernel-libraries i can't decide if i'm horrified or impressed
<RP> rburton: definitely fun. Would be interesting to connect it to user mode qemu :)
<RP> "fun"
<rburton> or pseudo!
<RP> rburton: hmm, yes :)
<RP> rburton: instead of wrapping libc lets just reimplement it :)
<rburton> ok i need to go and crash
goliath has joined #yocto
<vmeson> zpoline: system call hook for Linux -- 100 times faster than ptrace. !! and the LD_PRELOAD trick is not enough because it cannot exhaustively hook system calls.
<RP> rburton: "assumes Linux on the x86-64 architecture." but it would be interesting as an alternative to pseudo's LD_PRELOAD
rfuentess has quit [Remote host closed the connection]
florian_kc has joined #yocto
BoergeSt has quit [Quit: WeeChat 4.1.1]
jmiehe has joined #yocto
<denix> rsalveti: I'm getting "This operation is not supported for this device type."
adrianalin has quit [Quit: Client closed]
<rsalveti> denix: which command, cryptsetup?
<rsalveti> which version / distro?
<rsalveti> was running it on ubuntu 22.04
rob_w has quit [Ping timeout: 248 seconds]
sudip_ is now known as sudip
<neverpanic> "In a nutshell, zpoline replaces the syscall and sysenter instructions with callq *%rax, and crafts a trampoline code at virtual address 0 (zero); this is why this technique is named zpoline."
<neverpanic> OK, so now nullptr derefs actually work. This is a nice hack, but it's a hack.
<denix> rsalveti: host cryptsetup, ubuntu 20.04. but I also build cryptsetup-native from scarthgap inside a container with ubuntu 22.04 and 24.04 - that errors out with "Cannot initialize device-mapper, running as non-root user."
<rsalveti> I also have this same logic running with cryptsetup-native on kirk and scarthgap in an ubuntu 22.04 container
pbsds35 has quit [Quit: The Lounge - https://thelounge.chat]
gportay has joined #yocto
ehussain has quit [Remote host closed the connection]
pbsds35 has joined #yocto
<denix> rsalveti: do you need to pass --privileged flag for the container?
<denix> and which container engine?
mckoan is now known as mckoan|away
PhoenixMage has quit [Ping timeout: 252 seconds]
PhoenixMage has joined #yocto
Kubu_work has quit [Quit: Leaving.]
ThomasRoos has joined #yocto
ThomasRoos has quit [Ping timeout: 240 seconds]
enok has joined #yocto
<denix> the difference in cryptsetup parameters is not too huge and I tried matching them, still nothing
goliath has quit [Ping timeout: 248 seconds]
gportay has quit [Ping timeout: 240 seconds]
dgriego has quit [Ping timeout: 246 seconds]
dgriego has joined #yocto
<denix> huh, on latest openSUSE Tumbleweed it seems to work, so ubuntu 20.04.6 might be showing its age... now to figure out why it fails inside a docker container
Xogium has quit [Ping timeout: 252 seconds]
Xogium has joined #yocto
jpuhlman has quit [Quit: ZNC 1.8.2 - https://znc.in]
jpuhlman has joined #yocto
enok has quit [Quit: enok]
enok has joined #yocto
enok has quit [Remote host closed the connection]
<rsalveti> denix: just tried on an ubuntu container based on 24.04 (ubuntu:latest), not running with privileged, worked fine as well
<rsalveti> with docker
enok has joined #yocto
<rsalveti> ubuntu 22.04 as host, container based on 24.04
<denix> rsalveti: thanks. I wonder if it's host-related and my ubuntu 20.04 host causes the issue, even though the container is ubuntu 22.04
<rsalveti> wonder if kernel related somehow
<denix> indeed
<rsalveti> since the kernel is shared
<denix> and 20.04 runs kernel 5.4.0
<denix> even though it has all the latest security fixes of an LTS, it may lack some features
<denix> late 2019 vintage - wonder if device-mapper gained some special abilities since then
enok has quit [Remote host closed the connection]
<rsalveti> yeah, I know it got some recent development in there
amitk has quit [Ping timeout: 252 seconds]
florian_kc has quit [Ping timeout: 276 seconds]
florian_kc has joined #yocto
frieder_ has quit [Remote host closed the connection]
goliath has joined #yocto
ptsneves has joined #yocto
enok has joined #yocto
enok has quit [Remote host closed the connection]
enok has joined #yocto
enok has quit [Remote host closed the connection]
enok has joined #yocto
ptsneves has quit [Ping timeout: 252 seconds]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SandeepRaju has joined #yocto
zhmylove has quit [Remote host closed the connection]
cyxae has quit [Quit: cyxae]
<khem> denix: kernel 5.6+ have new namespaces e.g. time which we needed for time testing in isolation, so its likely you need new kernel
goliath has quit [Quit: SIGSEGV]
Xagen has joined #yocto
druppy has joined #yocto
enok has quit [Ping timeout: 245 seconds]
SandeepRaju has quit [Quit: Client closed]
SandeepRaju has joined #yocto
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
druppy has quit [Ping timeout: 252 seconds]
enok has joined #yocto
sotaoverride has quit [Killed (silver.libera.chat (Nickname regained by services))]
ctraven has joined #yocto