/srv/irclogs.ubuntu.com/2020/11/05/#ubuntu-kernel.txt

flingWhat is the proper way of figuring out which patches are for shiftfs and onionfs and other lxd stuff?00:45
flingIs there a branch for this somewhere? Or am I supposed to grep git log00:45
klebersfling, we don't have feature branches in our git repos, for some of the changes you can run git log on specific locations, e.g. fs/shiftfs.c 08:31
flingklebers: this is what I do but I also want to get related unionfs patches and any others08:32
flingI want the proper way of discovering them08:32
flingAre you saying it is impossible to filter out lxd related commits?08:33
klebersfling, it's hard to filter out everything that affects lxd because we also apply a lot of patches from the upstream stable branches, which could affect lxd without us including the changes as explicit feature request or bug fix for lxd08:34
flingI have stable upstream applied too08:36
klebersit's not impossible, but you need to know where's the code that are lxd related and run git log on them08:37
flingthis is what I do all the time08:37
flingBut it is not the proper way :D08:38
klebersyeah, unfortunately we don't have a better way to get this kind of information from the repo08:40
luna_gpiccoli: my Ubuntu boots with the 5.9 kernel now and ZFS drivers :)08:55
luna_it fixed itself with todays updates08:55
luna_so closed the bug08:55
sem2peiecan someone say something about my problem or do I have to be satisfied with workarounds for the next years? 11:27
sem2peiehttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/189533311:27
ubot5Ubuntu bug 1895333 in linux (Ubuntu) " cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)" [Undecided,Confirmed]11:27
sem2peiemaybe sfroschee ?11:28
jeremy31sem2peie: sounds like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=92771011:31
ubot5Debian bug 927710 in src:linux "ath10k locks to regulatory domain US on ACPI platforms" [Normal,Open]11:31
sem2peieyes exactly that seems to be the same11:33
gpiccoliGreat luna_, thanks for the heads-up =)11:38
sem2peiethe link also contains a matching patch from the openwrt git11:40
jeremy31sem2peie: I can look at ath10k source later and see if the 5.4 can be patched using dkms11:41
sem2peiewhere the patch also enables "Atheros dynamic user regulatory testing" if I see it right11:55
sem2peiehttps://github.com/openwrt/openwrt/blob/master/package/kernel/mac80211/patches/ath/402-ath_regd_optional.patch11:55
sem2peie jeremy31 yes well i opened the ticket because i think it would be better if the patch was in the ubuntu kernel, there are some cards with 0x0 in the eeprom 12:40
sem2peie0x0 should be considered a widlcard and region free, no idea why Qualcomm is bitching (in the past it was no problem)12:40
sem2peieat the end of the day this only causes problems (frequencies that cannot be used or a too high transmission power)12:41
sem2peieor the cards cannot be used as AP because of the IR flag 12:42
sem2peiethey are well tested and in used worldwide12:43
luna_no problem12:48
flingWhich repository/branch for latest 5.4 and 5.10?13:03
flingWhich tree for 5.10 ?15:18
arighifling, https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable/, branch 'master'15:33
flingarighi: thanks!15:35
arighiyw15:44
flingarighi: how to flip a symbol in defconfig for every architecture?16:08
flingarighi: for example to enable shiftfs by the default16:09
arighifling, hm.. shiftfs should be already enabled for all the supported architectures16:10
arighifling, but you can take a look at debian.master/config/config.common.ubuntu16:10
arighichange the option there and the config should be updated during the build16:11
flingarighi: sure but what is the right place to switch the default symbol value without debian directory? For example for enabling zfs or disabling reiserfs etc16:12
arighifling, if you're going to use make directly (skipping the debian/ubuntu stuff) you can simply run a `make menuconfig`, then press '/' to search for a specific config name and then you can change it16:13
arighioh wait, I think I understand what you mean16:14
flingarighi: sure but I want to change it in the sources16:14
flingjust don't know the proper paths :>16:14
arighifling, for example for SHIFT_FS, edit fs/Kconfig16:15
flingok, thanks16:15
arighiand add "default m" for example16:15
arighibelow the tristate line16:15
arighithat will affect all the architectures16:15
flinggot it!16:16
flingHow to figure out which commits are related to lxd? Is not there a good list?16:16
flingI don't like grepping for UBUNTU and shiftfs and overlayfs16:16
sem2peiedo I see it correctly that the patches are already included in the 5.8 kernel? https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/log/?h=hwe-5.8&qt=grep&q=ath10k16:23
arighifling, I think that information should be documented somewhere in lxd16:37
arighifling, there's something here https://lxd.readthedocs.io/en/latest/requirements/, even if it doesn't tell you exactly which config options are required16:39
flingarighi: I'm not asking about config options but about ubuntu patches17:04
flingarighi: for example I know lxd can use shiftfs and ubuntu adds shiftfs patches to the kernel for this and overlayfs patches for it to work with shiftfs17:04
sem2peiegets better and better with 5.8.0-25-generic #26~20.04.1-Ubuntu is missing the complete midband > https://pastebin.com/D2NYBxBR17:06
arighifling, hm... then I think the best way is to look at the git log and try to identify the SAUCE patches that are required by lxd (unless someone has a better idea...)17:06
flingthis is what I did…17:07
flingjust looking for the proper way :D17:07
arighiyup, that is the most "proper" way that I can see :)17:26
flingWhat does 'noup' mean in 'UBUNTU: SAUCE: (noup)' ?17:36
arighifling, it seems that they're missing a reference to the upstream patch/commit, so maybe noup means something like "not upstream"? But I'm not really sure about that, personally I've never used that in an UBUNTU: SAUCE patch (and I haven't seen it used recently)17:59
arighiso I would say if they have 'noup' they're likely old patches (and probably you don't need them)17:59
flingarighi: but they are in the repo18:37
tyhicksfling: this isn't fool proof but you could look for patches with "SAUCE" in the subject line as those are typically out-of-tree patches that have been applied for some specific use case that Ubuntu is interested in19:21
tyhicksfling: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/log/?qt=grep&q=SAUCE19:22
flingtyhicks: this is what I've been doing from the beginning19:22
flingI picked ones with namespace, cgroup, shiftfs, overlayfs in the description19:23
tyhicksyou might keep an eye on the ones with apparmor in the description, as well19:23
tyhicksLXD makes heavy use of AppArmor for container confinement19:24
flinghmmm ok, thanks19:24
flingn=0001 ; for c in whatever ; do git format-patch -1 --start-number $n $c ; n=$(($n+1)) ; done19:24
flingI'm extracting patches like this ^19:24
fling^ but what can I use instead of this n number?19:25
flingI want something more persistent19:25
flingso if the patch is going to get upstreamed19:25
flingall other patches will keep their numbers when I will be extracting them after19:25
tyhickssorry, I don't understand what the number is signifying here19:25
flingjust an incrementan number19:26
flingfirst patch is 0001, second patch is 0002 etc19:26
tyhicksthe persistent part is the subject of the patch but that's also not very persistent because it could easily change during the upstreaming process19:26
tyhicksyou're working with out-of-tree patches that are not yet upstream which, by definition, do not have persistence19:27
flingtyhicks: I thought I could use date instead of this number but dates are out of order too19:28
tyhicksfling: oh, you also want to keep an eye out for SAUCE seccomp patches as the container folks are making use of seccomp for various features19:29
tyhicksstuff like this is for LXD: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=965dde940df5444bdcff23dad0e7e14e185842a019:30
flinggood catch19:30
tyhicksif Christian Brauner wrote it and it is applied to the Ubuntu kerenl tree, you need to take a look at it because there's a good chance that it is LXD related19:31
flingubuntu-focal/master-next has way much more related SAUCE stuff in it compared to ubuntu-unstable/master19:37
flingI should investigate ubuntu-focal/master-next better19:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!