<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")
<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 :)
<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]
<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
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