04:36:11 anyone know if i can update glibc inside the /compat/linux ? 04:37:28 rtprio: As long as you keep things consistent, just think of it as an encapsulated Linux distribution. Just make sure you don't use something so new expects unsupported syscalls. Not sure if there's a guide for that. 04:50:34 great 05:01:04 where does your current one come from? from linux_base-rl9? 15:11:21 dch: hey would you mind if I PMed you to ask you something? 15:11:31 you are core, its only a quick question so I didnt think it warranted an email 15:11:35 warrented* 15:11:42 whatever, spelling is hard :p 16:54:16 Top level src/ Makefile[s] is just make running make? I'd like to guess that's a make per-project/component, maybe even down to the program level - given that most (all?) have a Makefile. 16:56:14 Is possible to provide the lower level makes a prefix? ex: bear (generates compile_commands.json). The docs say to run bear at the top level however I think there is some leakage of data between indepent parts of the tree when you do that with LSP/clangd. 17:05:15 skered: you can do something like 'make -C bin/ls all install' if you want to build a single program 17:05:34 (or 'cd bin/ls; make all install' which is functionallity equivalent) 17:05:53 this skips a lot of stuff the top-level Makefile.inc1 does, but for quickly testing something, it's usually fine 17:06:29 i'm not sure what you mean by provide a prefix though 17:10:23 Yeah, I know I can build single things by hand but I was hoping I could get the internal makes to exec via bear such that they have their own compile_commands.json 17:12:33 The issue is with the single one off `make -C ... ` even with bear it doesn't have --sysroot so it's using system paths. That's another issue I've seen with trying to do one offs. 17:14:10 er hold on... what's the different between `make -C bin/cat` and `make -C bin/cat all` ? 17:15:25 all is the default target, so nothing 18:40:47 cyric: are you cy⊙Fo by any chance? 18:41:10 karolyi: i don't think Cy is on IRC 18:42:00 ivy: I hoped to reach him online in a more responsive way than email is, but I'll email him then 18:42:12 karolyi: he's usually fairly responsive to email, fwiw 18:42:21 thanks, good to know 18:42:27 although he's busy with some personal irl stuff recently 18:43:19 I hope to get this patch in spamassassin before 4.0.3 releases as I've been told "we have not yet planned any dates for a v4.0.3 release": https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8374 19:51:51 Due to a significant increase in abuse, largely driven by AI scraping, this Bugzilla instance is now only available to authenticated users. 19:51:57 :( 19:56:13 The AI Scraping Plague is destroying everything. 19:58:40 kweeehhh :( 20:00:23 i actually have an Apache Bugzilla login but for some reason it's not accepting it, oh well 20:00:33 they dont like ivy bridge :) 20:13:11 need me to pastebin it? 20:14:35 my account is from way back in time 20:30:11 polarian: but it's so pretty https://upload.wikimedia.org/wikipedia/commons/8/8e/Ivybridge%2C_the_bridge%2C_Plymouth%2C_England-LCCN2002708050.jpg 20:32:00 lol 22:18:14 alright something I cant find any info on, whats the best way to find a file from LBA on freebsd 22:18:59 I have a read error, I need to find the file at the LBA 22:20:56 No idea. But upon what file system type? ZFS? UFS? 22:21:48 If you don't know I think the easiest way to print it is "df -hT" the -T option prints the file system top. 22:22:22 rwp: zfs 22:22:50 And it must be a single disk configuration because otherwise zfs would have "healed" it from one of the other copies. Drat! 22:23:11 rwp: yes 22:23:13 its in my laptop 22:23:19 nothing on my laptop I care about, so yeah 22:23:31 I have a sneaky suspicion this HDD is finally kicking the bucket 22:23:35 its 13 years old 22:23:37 maybe more 22:23:54 I swore I wouldn't replace it until it dies 22:23:55 What does "zpool status -v" say? 22:24:01 and I still wont, until it kills itself 22:24:05 rwp: I had 2 read errors 22:24:09 but no files listed 22:24:13 so I assume its zfs metadata 22:24:22 I think the zpool status -v should list the files associated. 22:24:26 yes 22:24:32 hence why I think its metadata 22:24:39 this is not recoverable without reverting to a snapshot 22:24:59 and my last snapshot is too far back for me to care enough 22:26:16 I wouldnt have this issue with OpenBSD, because errors go unchecked :p 22:26:26 xD 22:26:31 I think if it were me I would read all of the data off to backup. During that read any blocks with errors will be printed. Then you can decide to replace the storage device. And restore the backup upon it. 22:26:38 yeah my last snapshot was 2 months ago 22:27:00 rwp: like I said, I dont give a fuck about anything on my laptop 22:27:13 anything I care about is already cloned to my server 22:27:18 perhaps throw it into a volcano 22:27:26 so I will run this HDD until it kills itself 22:27:35 Then like joepublic suggests, time to discard it and replace it. 22:27:43 nah 22:27:46 not until it dies for good 22:27:54 and if it hangs on for dear life, then so be it :p 22:28:10 also one or two read errors doesn't mean the HDD is on the way out jsyn 22:28:19 this HDD has no realloc sectors 22:28:27 so its not had to reallocate at all yet 22:28:57 If you want to try to postpone the inevitable then read every block and write it back. One of the blocks will have an error. Write zeros or random data over the block with the errors. The firmware on the drive will try to write the block. If that works then it is recovered. If it fails then it will use a spare block on the drive and again the drive is recovered. 22:29:21 rwp: that is what I was going to do 22:29:29 but if my suspicion is that its filesystem metadata 22:29:32 I could break zfs by doing that :p 22:29:40 best to errr... leave it for now :3 22:29:54 To read and write every block I would boot the installer iso as a live boot system. Jump to a shell. Then "dd if=/dev/ada0 of=/dev/ada0 bs=1M status=progress" and let it read and write every block. 22:30:38 hmmm 22:30:44 The installer might try to zpool import the storage. If so then BEFORE doing this make sure the drive is exported and NOT mounted. Critically important to have nothing else writing to it. 22:30:56 yeah I get that 22:31:05 I feel like I would fuck that one up though 22:31:11 and end up wiping my system 22:31:24 but I much rather just rewrite the block info 22:31:24 They don't call dd the disk destroyer for nothing. 22:31:28 aka convert the LBA to block 22:31:30 and then do it 22:31:39 I thought they called it the dick destroyer :p 22:31:41 j jk 22:32:15 Useful flags for dd in this case are bs=1M iflag=fullblock oflag=sync,direct so that the writes are all synchronous and when the command exits the buffers are all sync'd and flush'd. 22:32:54 actually 22:32:59 I can just convert the LBA 22:33:01 and seek 22:33:42 I note that you are giving inconsistent feedback. "like I said, I dont give a fuck about anything on my laptop" and "I feel like I would fuck that one up though". So you both care about the data and don't care about the data. Hmm... I would back up and then reinstall and then put your data back. that's a safe answer. 22:34:23 can anyone remember the maths for converting LBA to block 22:34:30 physical block that is 22:35:40 Since you say this is very old then it can't be very large. Run "dd if=/dev/ada0 of=/dev/null bs=1M status=progress" let it run until it prints an error. That error should tell you which block has the read error. 22:36:10 err thats a good idea 22:36:12 or err 22:36:26 pass blocksize=512 22:36:29 and slap the LBA into dd 22:36:33 and it should hit the right lBA 22:36:35 lemme see 22:37:48 The reason I always set bs=1M is because it avoids the small physical reads that may actually be multiple repeated reads of the same block. Getting down to the 1M size block should be good enough and much more efficient to get there. 22:37:51 dd: /dev/ada0: Input/output error 22:37:53 haha 22:37:55 it works 22:38:02 how 22:38:12 now* 22:38:16 do I be stupid and zero this block... 22:38:23 this could brick my filesystem... 22:38:28 Did it tell you the block with the error? 22:38:34 no I did some maths 22:38:43 bs=512, and then skip= 22:38:45 count=1 22:38:56 so one block and skip to the LBA which smartctl reported error 22:39:02 and yes I got the error which means the maths worked 22:39:13 now what do I do I wonder... 22:39:25 well if theres a read error, then its not like the data is required on the system 22:39:26 The thing I like about dd if=/dev/ada0 of=/dev/ada0 from a live boot is that I don't have to do any math and I can't be wrong about it. 22:39:29 otherwise it wouldnt boot already 22:39:39 question is do I 22:39:42 I am not sure how writing randomly to the drive differs from the volcano solution 22:39:51 dd if=/dev/zero of=/dev/ada0 bs=512 skip= 22:39:54 count=1 22:39:59 DONT FORGOT THE COUNT=1 otherwise fuck! 22:40:05 The volcano solution is better because then the drive will be replaced. 22:40:21 should I zero the block, votes y/n 22:40:45 It's not the solution I proposed. Which means you have to decide to do it yourself. 22:40:58 jump! jump! 22:41:06 actually, just in case I will wait a few days, snapshot, move it to my server and then fuck about with this 22:41:15 And joepublic is voting volcano. Which is a good vote in my opinion. But you say you don't care about this data. 22:41:17 theres nothing massively important 22:41:21 but I rather not reinstall freebsd all over again 22:41:24 redo the configs 22:41:26 you get the point 22:41:27 really, just the drive, not the whole laptop 22:41:38 the drive stays until it wont spin no more 22:41:48 it's a platter? 22:41:51 yes 22:41:59 this thing will spin until it dies 22:42:10 I dont care if I am 100 years old by then, it will keep spinning until it dies 22:43:21 No planned obsolescence here, we run the hardware until the wheels fall off 22:43:32 lol.. to each their own. i only use platters for my nas. 22:43:45 Since you are looking at crazy schemes... How about this? Get a USB attached drive of the same size. Mirror the two drives together. Let zfs silver the attached drive into the mirror. Then let zfs "heal" the bad block on the original disk with a scrub? It will lose whatever that block is holding. 22:43:59 i definitely wouldn't bother with a 2.5" platter in a laptop nowadays though. 22:44:34 My NAS boxes are all spinning drives too. More cost effective. 22:44:40 vkarlsen yeah. i still use my 2013 macbook pro. when a meteor hits it i'll replace it 22:45:18 i was trying to put some iteration of bsd on it but i just can't cope with the trackpad not working out the box lol 22:45:39 vkarlsen: seeeee... someone gets it 22:46:03 rwp: ots fomeeeee 22:46:05 oops 22:46:07 thats not english 22:46:09 it was meant to say "its fineeeeeeeee" 22:46:14 i use it for office work. and even today it does that quite well and the screen is probably better than 90% of the screens on things today 22:46:36 say what you want about apple products but the retina screens are legit. :) 22:46:44 polarian, Does that mean you did it? And now the bad block is gone? 22:46:47 also with NAND prices at £102/TB, HDDs are the way to go :p 22:46:58 rwp: no I didnt do it, I wont touch it until I snapshot and move it to a server 22:47:04 I currently dont have a server running openzfs (long story) 22:47:06 i'm surprised platters aren't going through the roof 22:47:07 I will in a few days 22:47:12 you'd think there would be carry over 22:47:13 they are macer 22:47:16 and then I will copy the snapshot over 22:47:21 and if I need to, I can rebuild the pool from snapshot 22:47:23 oh they are? i haven't had to get one in a while 22:47:24 in the worst case 22:48:01 my pools are both at 50% but at least now with zfs supporting raidz expansion i can just toss one or two more onto a vdev and be done with it instead of having to make another vdev 22:48:04 what a godsend 22:48:54 Remember that life is a 2x multiplier. You need to be able to back that data up. So will need a second system of at least the same size for backup purposes. 22:49:54 openzfs is a brain fuck I swear 22:49:59 well.. this thing has been a trooper for a decade without problems replacing dead disks :) 22:50:36 but i do have a backup server but that's for the super important stuff 22:50:38 whenever you feel comfortable with openzfs it reminds you, that you know a mere fraction of what it is 22:50:45 * polarian sighs 22:50:50 Life is good! Right up until it isn't. WWJD? He would save. :-) 22:50:58 haha 22:51:34 polarian i come from the days of yesteryear where backups etc were a lot more difficult.. these kids don't know how easy they have it :) 22:52:04 Macer: why because you do zfs snapshot zroot@whatever, then send it to some remote server 22:52:12 and then restore everything from scratch by recv it again? 22:52:15 you know speaking of that 22:52:24 does zfs allow encrypted zfs send? 22:52:27 i never looked into that 22:52:30 no afaik 22:52:33 doh! 22:52:36 its done over SSH 22:52:39 well.. there's your reason why :) 22:52:43 no i mean the data itself 22:52:54 elaborate? 22:53:03 use case????? 22:53:20 I thought very recent zfs does allow send on encrypted datasets and will send the encrypted data of them. Because initially there were bugs in that process. Which I think is only recently fixed and mature enough to test out. 22:53:21 storing it on a storage conglomerate 22:54:13 so you are using ZFS with encryption, but ssh transfers the data with encryption so... 22:54:16 rwp ah. ok. yea i was curious about that considering you'd be using a 'public service' as a snapshot backup and obviously if it's sensitive data... 22:54:55 rdr the sending and storing are different issues. sure you can zfs send using ssh to make the connection remain encrypted but i was asking about the actual data itself being stored remotely on storageco servers 22:54:55 you could add another layer of encryption and encrypt the data on the encrypted drive to send over encrypted ssh :D 22:55:41 Initially there were a few very serious bugs found in that new encrypted dataset code. I read the disclosures and didn't feel I needed to be the beta tester for those features. But I thought I read that they were mostly worked out now. I have been wanting to try them. 22:55:43 so their ai can't scrub your data to train itself or whatever :) 22:56:09 ah cool... if you ever try it let me know what it does lol 22:56:33 Remote backups to servers not in a secure location should just always be encrypted data blobs just as a matter of policy. 22:56:41 I really need to play/learn more with backups 22:56:49 I dont know all the cool shit you can do 22:56:49 yeah. i agree with you there 22:56:54 my good old way of doing backups is tarballs 22:56:56 that's why i was curious about it 22:56:57 versioned... 22:56:59 That is a scary thing to hear someone say! :-/ 22:57:09 I have tons of tarballs 22:57:19 I dont even know whats in most of them 22:57:27 they are mostly phone backups because android has no good fucking way to backup 22:57:35 wasn't tar created for tape backups though? :) 22:57:42 so i mean.. in a way it makes sense? 22:57:45 Macer: ah whatever, it does its job 22:58:12 no. i'm actually saying that what you're doing isn't necessarily 'wrong' .. i mean tar was meant to back things up wasn't it? 22:58:21 like it means 'tape archive' doesn't it? 22:58:23 tarballs are sticky and get stuck everywhere 22:58:45 too bad tape drives and tapes are so ridiculously expensive 22:58:55 especially for how slow they are 22:59:02 i'm still trying to tame the cat command =^(o.o)^- 22:59:32 okay question that i should just ask AI 22:59:32 and the marketing at 2x the actual space because of compression too 22:59:53 what is the best way to list all processes to grep if something is running, "ps auxww"? 23:00:23 Best? Everyone does their own thing. But yes "ps auxww" is good. Try it with "d" too. 23:00:41 i'm just wondering if some flags are superfluous 23:00:46 Some people like to | grep "[f]oo" so that it does not match itself. (shrug) I just ignore the grep matching itself. 23:00:57 Nope. You need all of those flags. 23:01:10 on a certain otherOS it's just aux I should read the man page 23:02:20 come to think of it, if the block is erroring, then it cant be read anyways, so if the device is still booting 23:02:22 its not mandatory 23:02:28 Reading the man page is the way. Because then you see that "u" is user,pid,%cpu,%mem,vsz,rss,tt,state,start,time,command: and implies -r and other useful things. 23:03:48 Without 'u' it sorts hierarchically by controlling terminal and then process id. Which isn't enough for me to get the mental tree image out of it. So add 'd' for it. Try "ps axd" for example. 23:04:33 ps will truncate lines to the terminal size. That's the reason for adding 'w' and another 'w' for "ww" so you get the full command line arguments. If that's desired. 23:04:51 I noticed specifically on freebsd with a coffee lake cpu/igpu with i915kms, kde plasma wayland feels like it's less than 60fps (it's much smoother on linux), i know it's not me because it's much smoother with X11 (with screen tears), and Xonotic still reports 100+ FPS with the same effects level 23:05:05 just a freebsd silly or what? 23:05:29 wayland on freebsd is still newish 23:05:35 s/freebsd/wayland/ is being silly 23:05:49 but xonotic can go as many frames as it wants it just wont display on your screen if it is running at 60fps 23:06:17 rwp: wayland is much smoother on linux 23:06:33 lets see if kde has a fps addon 23:07:17 it used to have a benchmark effect in Plasma 5, i dunno what happened to it 23:07:27 1. Built-in "Show FPS" Desktop Effect 23:07:38 swee, What is the advantage of Wayland again? (my looks away shyly, I think I will go for a walk now) 23:07:43 alright err 23:07:48 here goes nothing 23:08:01 system settings -> Desktop effects (might be in submenu) -> Show FPS 23:08:09 is your refresh rate correct in KDE settings? 23:08:09 rdr: https://lounge.swee.codes/uploads/25c6037017771e1b/image.png yeah.. 23:08:13 reading 512 bytes from /dev/zero and then seeking to the LBA 23:08:17 hope to fuck this doesnt brick my device 23:08:31 you might just need to get it... with get new or maybe it isn't installed 23:08:36 i'm gonna check 23:08:39 dd if=/dev/zero of=/dev/ada0 bs=512 seek=2239833278 count=1 23:08:42 am I missing anything :p 23:08:44 rwp: back me up :p 23:08:50 rdr: yeah it is, 60hz, just like in linux 23:09:06 ah it looks fineee 23:09:10 count=1 will stop any major damage :3 23:09:23 polarian, If that is the block then that seems as reasonable as I can judge. But if you break it you get to keep both halves of it. 23:09:48 ah fuck 23:09:59 I cant write to it while mounted I forgot 23:10:17 will deal with this another time then :3 23:10:36 Saved by the safety feature! Well, you will need to boot a live iso boot or something and then do it. 23:11:08 rwp: yeah yeah I know 23:11:11 cant be arsed rn 23:11:19 will let the corruption fester like an open wound for a few days 23:11:25 I dont have the time to play with this 23:11:45 I should really play with backing up with snapshots, and rebuilding the device from snapshot 23:12:02 Always a good skill to be able to do. 23:12:17 in theory, I should install a second freebsd machine, and then clone my laptop using the snapshot from a server 23:12:27 if I can pull the snapshot and rebuild my entire laptop to another laptop 23:12:30 it means backups are working :3 23:12:46 rwp: yeah but when you have infra still on Linux it makes shit harder 23:12:50 my infra is old 23:13:01 its about to be replaced, but yeah 23:13:34 I have never actually had a checksum failure, so err... 23:13:34 I have quite a mixed set of systems here too. But they all talk to each other okay. 23:13:50 I do wonder if bitrot is really as bad as data scientists point out 23:14:39 I have had power cable problems and have had SATA cable problems that both caused checksum failures and the zfs checksum checking saved me from losing my data. ZFS rocks! 23:15:23 But so far on ZFS I have not had a storage device, either spinning or flash nand, fail yet. 23:16:10 Since zfs detected, reported, protected me, from the cable problems that is still a big win for zfs. 23:16:56 * rwp must head to a meetup, later! 23:18:21 rwp: enjoy! 23:18:37 OpenBSD may be getting a better fs soon :) 23:18:44 ik people have been saying it for decades 23:18:59 one of the devs is porting his 9front filesystem (gefs) to OpenBSD rn 23:54:25 trying to setup serial terminal access right now 23:54:27 and it aint going well 23:54:37 ttyU0 "/usr/libexec/getty std.115200" vt100 on secure 23:54:43 this should work 23:55:05 baudrate of 115200, vt100 emulation, on, and allow root access 23:55:51 I am using two ttl serial adapters, with the rx and tx soldered to the opposites on each 23:56:01 so GND to GND, RX to TX and TX to RX 23:56:53 from the client machine I have plugged in a different adapter and jumped rx and tx, and I indeed get a loopback, so I have the right interface