/srv/irclogs.ubuntu.com/2022/04/28/#lubuntu-devel.txt

arraybolt3@kc2bez OK, that would make sense. I'm also wondering if it's doing non-BTRFS-compatible things like swapfiles that are causing the mess, or maybe it's making a wonky fstab.00:00
kc2bez[m]Maybe. Makes me wonder why it worked before though. It actually didn't start failing until late in the cycle.00:02
arraybolt3I'm pretty sure I found it.00:08
arraybolt3When you do a calamares BTRFS install, the fstab file has a bunch of options after the word "defaults" that are set.00:08
arraybolt3Deleting all of those options makes it boot. And this is with using Calamares to install directly to BTRFS.00:09
arraybolt3My working fstab looks like this:00:09
arraybolt3UUID=<big long number> / btrfs subvol=/@,defaults 0 100:09
arraybolt3UUID=<big long number> /home btrfs subvol=/@home,defaults 0 200:09
tsimonq2Upgrading works00:10
arraybolt3By modding the fstab file to look like that, it boots properly.00:10
tsimonq2arraybolt3: Why would that be the case if the fstabs are identical between versions?00:10
tsimonq2Also, it would be worth looking into which argument00:10
arraybolt3OK, will do.00:10
arraybolt3Not sure why it works, but it does.00:10
arraybolt3I nuked all the "extra" options in the fstab, so now I'm having to do another exploded install, so it'll take me a bit.00:14
tsimonq2Thanks00:14
arraybolt3tsimonq2: Upgrading works? That's very good to know. Congrats!00:14
tsimonq2Thanks :)00:15
arraybolt3Oh, I also got rid of the swap entry, I just remembered. Dunno if that has anything to do with it, we'll find out.00:18
arraybolt3OK, removing just the swap entry didn't make things better. In fact, I got more errors this time.00:20
arraybolt3Removing autodefrag from both / and /home also didn't help.00:22
arraybolt3Removing space_cache from both / and /home allows it to boot.00:23
arraybolt3Pinpointed issue to space_cache. Now I'm going to find out which entry needs space_cache removed to allow bootup.00:26
arraybolt3@tsimonq2 @teward If the space_cache option is set on the root fs in fstab, a BTRFS install will fail to boot.00:30
arraybolt3If I use the default generated fstab but remove the space_cache option from only just the root fs, everything works. I can leave space_cache on the home fs and on swap.00:31
lubot[telegram] <tsimonq2> Okay, so the next question is what exactly that option does00:32
arraybolt3Uh... I have no idea. :D00:32
lubot[telegram] <kc2bez> And what made it grumpy all of the sudden.00:32
arraybolt3https://superuser.com/questions/85550600:34
arraybolt3Also https://redd.it/kxar7700:35
arraybolt3OK, here's the actual official source: https://btrfs.readthedocs.io/en/latest/btrfs-man5.html00:37
arraybolt3It does something that speeds up disk access. I'm wondering if maybe the kernel is expecting space_cache v2 when only space_cache v1 is in use. Let's see...00:38
arraybolt3@tsimonq2 @teward Something more interesting: the thing boots when using "space_cache=v2" on the root fs.00:40
tsimonq2arraybolt3: Before I forget, what's a name I can credit you by when we get this fixed? :)00:43
arraybolt3I use the name Aaron Rainbolt. (You don't have to credit me, though, this is a team effort, and we've all fried our brains trying to make this work.)00:43
tsimonq2It seems we're close. I have to go AFK nowish but when I come back I'll confirm and tweak the Cala settings00:44
arraybolt3OK. One last thing, using "clear_cache,space_cache=v1" also let it boot.00:44
tsimonq2Fair enough but thanks :) if we do end up respinning before the first point release with this, I'll add you to the list 00:44
arraybolt3I'm guessing something is mounting the filesystem with space_cache=v2, and the BTRFS docs state that once space_cache=v2 is used, it will always be used unless you use clear_cache,sp00:45
arraybolt3clear_cache,space_cache=v1.00:45
tsimonq2Got it 00:46
arraybolt3Or clear_cache,nospace_cache. (Don't take my word as gospel, if I refer to the docs, use the docs, I shorten stuff sometimes)00:48
kc2bez[m]arraybolt3: You nailed it. I edited the fstab.conf calamares module with space_cache=v2 for btrfs and the install worked.01:39
arraybolt3NICE! Wow, we make a great team.01:40
tewardtsimonq2: kc2bez[m]: not sure this warrants a respin just for BTRFS.  Just saying.02:30
guivercI don't think so either; we can just document what needs to be done to install/correct an install too; my 2c   We can correct at 22.04.102:31
tewardi agree with guiverc though it's why i asked ;)02:39
* guiverc thought I was agreeing with you teward 02:39
tewardi'm tired :P02:40
* guiverc smiles02:40
kc2bez[m]Not a special respin but if we want it for 22.04.1 it needs to be a SRU. We'll need it for 22.10 anyway.04:12
arraybolt3I've almost finished writing the workaround guide.04:18
arraybolt3kc2bez: Your solution with modding /etc/calamares/fstab.conf was awesome, and I'm using it in the guide. Thank you!04:19
arraybolt3Agh, wrong file path, I meant /etc/calamares/modules/fstab.conf04:21
guivercwe could always push the work-around (on discourse) to blog as well of special-respin..   blog will allow more readers, ubuntu-news (maybe) etc & thus it's being treated as special.case & we're working for users benefit maybe?04:22
* guiverc note as always, I'm writing with lubuntu hat on ^04:23
arraybolt3As it turns out, there's three solutions to the BTRFS problem. You can use kc2bez's installation config tweak, you can mod fstab after installation, or you can mount the BTRFS partition with "mount /dev/vda1 /mnt -o clear_cache,space_cache=v1" after installation. Should I document all three? Currently, I've only documented the first two.04:25
guivercUnless others (ie. devs) have an opinion it's your choice.. You could always document two 'properly' then state a third as part of a final paragraph & mention briefly.   I'll convert to a wiki once on discourse so it can be edited as required  (by you too arraybolt3 I hope soon)04:30
arraybolt3guiverc: OK. I like your solution. I like only documenting one solution per problem, since the Arch community has demonstrated that, if you're given two solutions to the same problem, there's a good chance that you'll use *both* solutions rather than one or the other. I don't think that would blow everything up here, but it's still unnecessary. Your solution lets me document everything04:34
arraybolt3without as much risk of that happening.04:34
guivercIf you're happy with just documented one (the best) you can do that too..   Most GNU/Linux is a do-ocracy; those that do the work decide04:35
* guiverc is using a term I heard Richard Brown (ex-OpenSuSE head) use many times..04:36
arraybolt3LOL yeah but the best solution is the best solution, no matter who thought of it.04:36
guivercarraybolt3, FYI: I changed **bold** to #title  (it's larger & new/existing installation stands out better),  I'll also add <kbd></kbd> around ctrl+alt+T05:19
arraybolt3Oh, thank you! I didn't know Discourse had that feature. Nice.05:25
guivercanother edit; there were more keys I missed...05:25
arraybolt3I like what that <kbd> thing does. I'll start using it.05:27
guivercyeah it make it easier to read I believe05:27
arraybolt3Thank you so much!05:29
guivercNah, it's mostly Thank you very much arraybolt3; you've achieved the wanted solution !05:30
arraybolt3OK, my brain is beginning to resemble a lump of charcoal, so I think I'll go offline for a bit before my head explodes. :) I am so thankful and honored to be a part of this team, and thank you all for everything you've done and for letting me help!05:32
tsimonq2So, got some news from upstream. They're saying kernel bug. Apparently space_cache was changed in 5.15, who woulda thought?12:07
tsimonq2"Since space_cache=v2 is set by default in kernel 5.15 and later, you can probably just remove that from your fstab.conf."12:07
tsimonq2Bingo12:08
tsimonq2"I am not sure how Ubuntu boots exactly but what was happening in Arch-based distros is that it was mounting the filesystem in the initrd with space_cache=v2 and then trying to mount the other subvols with space_cache=v1 which fails."12:09
tsimonq2So Aaron was probably half-right12:09
kc2bez[m]Nice!12:10
tsimonq2https://github.com/calamares/calamares/commit/0bef2a91a1b529425bb53bedd0eba087270e1eb512:13
ubot93Commit 0bef2a9 in calamares/calamares "[fstab] Remove space_cache from btrfs mount options"12:13
tsimonq2https://github.com/calamares/calamares/pull/182412:22
ubot93Pull 1824 in calamares/calamares "Remove space_cache from btrfs mount options" [Merged]12:22
tsimonq2guiverc @Leokolb feel free to test the above fix if you have a second before I do ^12:26
tsimonq2I still need to find my flash drive with my GPG key :)12:26
tsimonq2Probably by EOD USA time I'll be able to test myself 12:26
lubot[telegram] <N0um3n0> Good news!12:27
tsimonq2For sure! 12:29
tewardkc2bez[m]: oh definitely this needs SRU'd in for .113:02
lubot[telegram] <Leokolb> Tested and works! Thanks @tsimonq2 - (re @lubuntu_bot: (irc) <tsimonq2> guiverc @Leokolb feel free to test the above fix if you have a second before I do ^)13:02
tewardbut i can push that hard if needed13:02
teward*pushes tsimonq2 into /dev/urandom for reasons*13:03
lubot[telegram] <N0um3n0> I think @teward001 has It :P (re @lubuntu_bot: (irc) <tsimonq2> I still need to find my flash drive with my GPG key :))13:12
lubot[telegram] <Leokolb> Updated orig BTRFS bug report https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/1966774 - comment #15 :)14:31
ubot93Launchpad bug 1966774 in calamares (Ubuntu) "btrfs partioning with calamares results in unbootable system" [Undecided, Confirmed]14:31
lubot[telegram] <teward001> nah simon left it in /dev/null.  so its gone (re @N0um3n0: I think @teward001 has It :P)15:09
EickmeyerGO SIMON GO!15:19
* Eickmeyer cheers15:20
lubot[telegram] <Leokolb> 👍 (re @lubuntu_bot: (irc) <Eickmeyer> cheers)15:22
lubot[telegram] <teward001> @kc2bez FYI - i'm going to be using drone.io in a self-hosted instance/environment for our CI now.  it's docker driven primarily15:43
lubot[telegram] <teward001> we'll just use my drone instance for now that's on a VPS15:43
* tsimonq2 excludes the change from Ubuntu Studio and makes Eickmeyer fix it himself15:44
tsimonq2jk XD15:44
tsimonq2anyway15:44
tsimonq2Now for the flash drive hunt... I'll be afk for that15:44
tsimonq2When I come back, I'll have a few uploads to kinetic15:44
tsimonq2Once those hit proposed (Chris and Leo may want to watch for that) I'll link it here, you should just be able to upgrade the Calamares settings package to test and be good15:45
lubot[telegram] <Leokolb> :) (re @lubuntu_bot: (irc) <tsimonq2> Once those hit proposed (Chris and Leo may want to watch for that) I'll link it here, you should just be able to upgrade the Calamares settings package to test and be good)15:48
kc2bez[m]Many thanks Simon Quigley !15:57
kc2bez[m]@teward001 That makes sense, I think it should work for us.16:03
-queuebot:#lubuntu-devel- Unapproved: calamares-settings-ubuntu (kinetic-proposed/universe) [1:22.04.4 => 1:22.10.1] (lubuntu, ubuntustudio)16:45
tsimonq2^^^17:12
tsimonq2LocutusOfBorg sponsored for me since I can't find my flash drive yet. Thanks :)17:12
kc2bez[m]:)17:14
lubot[telegram] <teward001> tsimonq2: was it for Ubuntu or for Debian17:46
lubot[telegram] <teward001> 'cause i can't sponsor anything in Debian17:46
lubot[telegram] <teward001> also FT job is FT job17:46
kc2bez[m]Ubuntu, you can't see it in Telegram17:47
kc2bez[m]Unapproved: calamares-settings-ubuntu (kinetic-proposed/universe) [1:22.04.4 => 1:22.10.1] (lubuntu, ubuntustudio)17:47
lubot[telegram] <teward001> kc2bez: i was responding to Simon stabbing me privately to sponsor :P17:49
lubot[telegram] <teward001> thanks17:49
kc2bez[m]👍️17:56
tsimonq2Okay so, vorlon indicated that it's not an SRU blocker for that to land in Kinetic.20:34
tsimonq2If anyone wants to get a head-start on the paperwork, go for it. Otherwise that's looking like a weekend thing or perhaps Monday thing 20:34
lubot[telegram] <RikMills> https://matterbridge.lubuntu.me/040a1615/file_4371.jpg20:35
-queuebot:#lubuntu-devel- Unapproved: accepted lubuntu-meta [source] (kinetic-proposed) [22.10.1]21:05
arraybolt3Hey, this might be silly, but does anyone have an idea of when the first kinetic ISOs will be out for beta testing? I've not done beta testing before, but would like to.21:45
arraybolt3Or I guess alpha testing, but whatever.21:46
lubot[telegram] <guiverc> I'd not expect to see dailies of kinetic for a week or two (alpha)21:48
arraybolt3OK.21:48
arraybolt3What do lubuntu developers usually do when a new release first gets going? I've heard of "packaging" but I don't know what that is or how to do it.21:50
kc2bezNot sure what is up with matrix. It doesn't look like my messages are making it. 21:51
arraybolt3@kc2bez :(21:51
kc2bezarraybolt3: this is a good page to read for testing. https://phab.lubuntu.me/w/testing/21:51
guiverchttps://phab.lubuntu.me/w/packaging/packaging-guide/21:51
arraybolt3Thank you kindly! @kc2bez @guiverc21:52
guivercbut as for packaging, standard Ubuntu & Debian guides are good resources too21:52
guiverchttps://packaging.ubuntu.com/html/ https://packaging.ubuntu.com/ubuntu-packaging-guide.pdf etc21:53
arraybolt3Cool. I'll take a look at those.21:54
kc2bezWe follow the Debian policy as referred by the Lubuntu wiki page. 21:55
guivercI'd read the Lubuntu docs first; most appropriate.. the Ubuntu/Debian stuff is useful for general background21:55
kc2bezTo over simplify a bit packaging is the "formula" which packages are created. Debian and therefore Ubuntu have specific guidelines on how they are created. 22:01
arraybolt3Is packaging how we get new versions of software into (L)Ubuntu?22:02
kc2bezEssentially, yes. Developers adjust the packaging based on changes made upstream and then can build the packages. 22:04
kc2bezDevelopers sign and upload to the appropriate place. 22:05
arraybolt3Nice. The Lubuntu guide was a bit over my head, so I'm reading the Ubuntu guide and then I'll hopefully be able to understand the other one.22:05
kc2bezIt comes with time. 22:05
kc2bezHang around and we can get you there. 22:06
kc2bez[m]Yeah, kinetic just barely opened, I wouldn't think we need a SRU for that only jammy22:22
kc2bezOh that is amazingly out of context now. 22:23
kc2bezI think there are some others floating around the ether too. 22:24
kc2bez[m]Getting it tested in kinetic should help with the SRU process though.22:25
kc2bez[m]In the meantime this is a good page to read. https://phab.lubuntu.me/w/testing/23:00
arraybolt3Thanks!23:00
kc2bezI sent that an hour ago on Matrx ;) 23:01
arraybolt3I see that, but I sorta missed it...23:02
arraybolt3I submitted a request to join Lubuntu-QA23:02
guivercalready approved it looks like arraybolt3 23:04
kc2bez:) 23:05
guivercbut thanks arraybolt3 for letting us know (so it can be approved etc)23:05
arraybolt3Thank you!23:06
kc2bezOf course. Thanks for sticking around and helping out! 23:10

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