libera/#maemo/ Thursday, 2018-06-28

DocScrutinizer05<kou_2> Hey, so turns out that udev breaks if a btrfs balance is paused before rebooting - as in, it times out and waits for the balance to start up again before remounting so you get dropped into emergency shell11:32
Wizzupwhy would udev do that...11:34
KotCzarnybecause, who knows, maybe some not-well-tested distro?11:34
DocScrutinizer05I been mentioned in devuan context11:36
KotCzarnymaybe btrfs refuses to mount before unpausing11:36
DocScrutinizer05but... why would udev _not_ do that?11:36
KotCzarnydisclaimer: never used btrfs11:36
DocScrutinizer05btrfs calance is a critical atomic procedure I'd guess11:38
DocScrutinizer05balance*11:38
DocScrutinizer05sth about btrees afaik11:38
DocScrutinizer05oops sorry, not devuan, suse context11:42
DocScrutinizer05so you'd assume the fs they have as root default for their enterprise product should be damn well tested, at least when compared to the average community driven linux11:44
WizzupI can't imagine why this would be an issue12:07
Wizzupor why udev would test for this12:07
WizzupI've done this many times with btrfs and eudev anyway12:07
DocScrutinizer05I can imagine why it wou,kd be an issue, when the fs was in an inconsistent state so system can't mount rootfs12:36
DocScrutinizer05but I never tested any of this, so I don't support any notion on it12:37
KotCzarnylet's blame it on the cluelessness12:37
KotCzarnyand move on12:37
DocScrutinizer05possible12:37
MaxdamantusThe overall balance isn't atomic, but I think the reallocation of each block is.12:38
Maxdamantusactually, I don't exactly "think" that, but it seems likely that it would be.12:39
Maxdamantusthe overall thing certainly isn't though, since it's just reallocating a bunch of chunks.12:39
Maxdamantus(should have said "chunk" before instead of "block")12:39
Maxdamantusnote: a "balance" in btrfs involves rewriting a number of chunks storing the data, usually to either uniformly distribute the chunks across devices, or to change to different "raid" levels.12:42
Maxdamantusand unless you apply a filter, it involves rewriting the entire filesystem.12:42
KotCzarnycute little operation12:42
KotCzarnyeven windoze handled defrag better12:43
MaxdamantusIt's a background thing.12:43
MaxdamantusIt shouldn't normally interrupt anything.12:43
Maxdamantusdunno what that person's initramfs is doing.12:43
MaxdamantusThings shouldn't normally care about the balance. Normally if you shut down or crash during a balance, it will just continue when you mount it again.12:44
Maxdamantusbut it's not critical that it continue .. you can always just cancel a balance if you want to.12:45
KotCzarnyfor some reason it had to do something important and wasnt allowed to continue, which resulted in unmountable fs12:46
MaxdamantusIf it's unmountable at a kernel level, you should almost certainly get at least some feedback in the kernel log.12:46
MaxdamantusIt shouldn't be unmountable just because a balance was in progress/paused.12:47
KotCzarnys/sunmountable/mountable/12:47
KotCzarnyhe might have some serious problem apart from that pause12:48
Maxdamantuson a couple of occasions I've had to manually zero the log before being able to mount (which supposedly means potentially losing up to the last 30 seconds or so of writes), but I don't think I've done that in the last couple of years, so presumably they do that automatically now in the kernel, or they've just fixed some of the issues that led to an unusable log.12:51
Maxdamantusafaik that used to be a typical reason for not being able to mount.12:51
Maxdamantusalso regarding defrag, balance doesn't help with fragmentation.12:54
KotCzarnyyeah, i was just joking on it12:54
Maxdamantussince it just involves copying blocks across, which are usually 1GiB big.12:54
sicelommm, my Thinkpad X40 is begging for retirement. in addition to all USB ports dead, since yesterday sound isn't working19:58
KotCzarnypoor thing..19:59
KotCzarnymine is still rolling strong19:59
KotCzarnyonly plastic piece in one usb port broken19:59
KotCzarnyotherwise 100% functional, useful and kickin ass!19:59
KotCzarnyi got it 480gb ssd drive recently19:59
KotCzarnyso now it has 32gb ssd for os and 480gb for data20:00
sicelothe problem with sound seems to be hardware, i guess, since linux picks up sound card but pulseaudio and alsa both can't produce any sound at all20:00
KotCzarnytry dos/windoze?20:00
sicelowowo @ 480GB SSD. mine has paltry 60GB20:01
KotCzarnythe 480gb one was on the sale, 80usd with free shipping20:01
KotCzarnysh*tty chinese noname 3d nand tlc, but hey, it can hold a COPY of my data just fine20:01
sicelodunno if i'm up to the task of finding windows for the thing, as well as figure out how to boot it20:02
KotCzarnyhttps://www.geekbuying.com/item/Tigo-S300-480GB-Solid-State-Drive-2-5-Inch-SSD-Hard-Disk-398106.html20:02
KotCzarnythis one20:02
sicelommm, unless i tftp boot it.20:02
sicelomine (X40) was given to me back in July 2016. the usb ports were already dead (evidently common x40 issue), and lid switch non-working20:03
sicelobut it's been a nice little machine thus far :)20:04
KotCzarnyit still is20:04
sicelooh and bt, IR all non-working when i got it20:04
KotCzarnysame as n900, oldie, but goldie20:04
KotCzarnymaybe someone b0rked the firmware?20:04
KotCzarnyhard to imagine ir breaking20:05
KotCzarnybt is a tiny addon on a modem card20:05
siceloi bought chinese pc card for usb, but it has never worked too well. works well only 2% of the time haha20:05
sicelolooks like the laptop was once opened ... i have often wondered if there aren't loose connections inside or something (even for lid switch). just never got around to opening it to check. i probably might now20:07
siceloa couple of months ago i started having odd issue with MMC Card Reader - only reads card if i keep it pushed in :(20:08
siceloand batteries are finished too (lasting max 30 minutes now).20:09
siceloi can get battery ... but with the other issues, not sure if it's worth it20:09
sicelomaybe if i open it, i can get bt & IR working :)20:10
KotCzarny30 minutes is a lot20:10
KotCzarnymy t500 has 30seconds20:10
KotCzarny;)20:10
sicelohaha20:10
KotCzarnybut still enough for power surges so i dont change it20:11
KotCzarnyand if i'm quick enough i can change rooms20:11
sicelooh and hibernation doesn't work anymore ... either a kernel or driver issue .. couldn't really figure it out (kernel 3.16 hibernates, but not 4.x)20:12
KotCzarnyalso, docking station is very nice for x40, makes all the cables on the back instead of sides20:12
KotCzarnyand i can put 2nd hdd in (even sata with proper ultrabay adapter)20:12
siceloi've been thinking about getting either an X230 or T430 to replace the X4020:13
KotCzarnythinkpads after lenove took over arent the same quality (it got worse with every series)20:14
KotCzarnystill, nice to have core i5 cpu20:14
sicelotheir price rnge here can just about match the size of my wallet. although recently i see the X250/T450 is good too (besided chiclet keyboard). it's slightly above what i am able to pay, but might be worth it in the long run20:15
* sicelo wishes he didn't have this X40 as a first laptop haha 20:16
KotCzarny;)20:16
siceloruined me, now i don't think i can use anything else20:16
KotCzarnylove the kb20:16
KotCzarnylove the build quality20:16
KotCzarnylove the features20:16
sicelothe trackpoint!! absolutely love it, and kb, yes indeed20:16
KotCzarnyyup, clit love too20:16
KotCzarnybtw. want me to find and send you x40 mobo?20:17
sicelothat would be awesome, if it can work out20:18
sicelo:)20:18
siceloit's when it comes to computing that i wish i was living in Europe20:21
KotCzarnyusa is better for that20:21
KotCzarnyand now china20:21
sicelohere even simple mobile data plan will set you back quite a bit of money20:22
Vajbsicelo: try ultimate boot cd with that laptop. There might be soundcard tests too20:22
sicelono one complains that manufacturers don't provide security updates, because no one wants to download them anyway :p20:23
Vajbat least it has wide amount of hw tests available20:23
siceloVajb: thanks. will look at it. hope i can booth that over tftp. it's the only way i can boot anything on it, unless i wipe the hdd maybe20:24
siceloalthough i am not ver hopefully. sound has been working all along. i can't fthom why it would stop suddenly.20:25
Vajbah it doesn't have cd rom drive...20:25
KotCzarny:>20:25
KotCzarnyand usb fried20:25
KotCzarnybut iso can be booted from grub20:25
siceloyeah. it's like a bootlooping N900 with broken USb :p20:25
Vajbi wouldn't touch grub....20:26
KotCzarnygrub1 is simple and nice20:26
Vajbi fiddled with it few days and decided to start fresh20:26
sicelomy debian install has grub 220:26
KotCzarnyagain, try grub120:26
Vajbi think it was grub 2 too20:27
KotCzarnygrub1 has a very simple config20:27
siceloi will do so20:27
KotCzarnygrub2 probably can boot iso too, but might require different config20:28
siceloa quick search does show possible configs. i'll download UB cd tomorrow and try20:30
blebis this a good place to talk about community-developed phones like chen's thing21:44

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!