| joerg | firmware? | 00:20 |
|---|---|---|
| plasma41 | archdummy: I've cloned both of those repositories to my local system. I'll take a look at them whenever I find time to set up snapper on my machine. | 00:34 |
| integfred | Thunar file manager doesn't copy files using the GUI to external media properly. Copying by GUI results in file corruption. You can test this with cmp comman | 01:00 |
| integfred | Using a different file manager (spacefm-gtk3) works for the time being | 01:00 |
| integfred | It's important as I just ripped a computer apart trying to find the source of corruption | 01:01 |
| integfred | Pretty severe | 01:01 |
| ted-ious | integfred: What filesystem are you using? | 01:07 |
| integfred | ext4 | 01:07 |
| ted-ious | On both? | 01:07 |
| integfred | yes, I used a 6GB file to test | 01:08 |
| integfred | copying by CLI was fine and copying using spacefm was fine | 01:08 |
| integfred | but NOT Thunar | 01:08 |
| ted-ious | What kind of file? | 01:08 |
| integfred | I tried an ISO originally, then I dded some random stuff to a file to try that as well | 01:09 |
| integfred | It only happens with external media | 01:09 |
| ted-ious | And you're testing for corruption with something like sha*sum? | 01:09 |
| integfred | cmp | 01:09 |
| ted-ious | Oh right. | 01:09 |
| integfred | I'm testing one file against the other with cmp | 01:09 |
| integfred | but shasum would work too | 01:10 |
| ted-ious | Ok let's see if we can devise a test that will determine the nature of the corruption. | 01:10 |
| integfred | I also mentioned this on xfce IRC just now | 01:10 |
| integfred | dd if=/dev/urandom of=somefile bs=1M count=6000 | 01:11 |
| integfred | copy the file via gui | 01:11 |
| integfred | then | 01:11 |
| integfred | cmp somefile /path/to/externalmedia/somefile | 01:11 |
| ted-ious | Does it corrupt with just one small file? | 01:11 |
| integfred | I haven't tried one small file | 01:12 |
| integfred | but it's possible | 01:12 |
| integfred | I was getting corruptions because I wrote a script to check for silent corruption | 01:12 |
| ted-ious | I would try making a simple script to do larger and larger files until the cmp fails. | 01:12 |
| ted-ious | That's good. | 01:12 |
| integfred | https://github.com/publicsite/consistencyChecker | 01:13 |
| ted-ious | I started using archive file formats for copying files around for the same reason. | 01:13 |
| ted-ious | Or else creating a md5sum file and comparing it on the other end. | 01:13 |
| ted-ious | 7z and tarlz are really good for this. | 01:14 |
| integfred | i'm in the process of trying to make it use CRC-24 sum, converted to base64 (which is 4 bytes) and using a 4 byte CRC per 4KB | 01:14 |
| ted-ious | You could just use tarlz and it will do all the checksums internally for you. | 01:15 |
| integfred | yeah, i don't want the compression | 01:15 |
| ted-ious | That just needs a -0. :) | 01:15 |
| ted-ious | Although you can get minor compression for free with -3 since your cpu will be bored waiting for the usb and wants to do something more than twiddle its thumbs. :) | 01:16 |
| integfred | yeah ... I have slight paranoia haha | 01:18 |
| ted-ious | Trying to avoid any possible corruption? | 01:19 |
| ted-ious | I respect such paranoia. :) | 01:19 |
| ted-ious | You should read about tarlz then. | 01:19 |
| ted-ious | I think it's the only foss archive format with compression that can both detect corrupt bits and recover from bad blocks. | 01:21 |
| integfred | actually i was part way through writing recovery too | 01:21 |
| integfred | but this is not in the git yet | 01:21 |
| ted-ious | Have you looked at par2 yet? | 01:21 |
| ted-ious | There's supposed to be a par3 in development but it will take years before everybody is satisfied and trusts it as much as par2. | 01:22 |
| integfred | I have never tried par2, I guess what I'm after is similar | 01:23 |
| integfred | but part of the fun for me is to try and reinvent the wheel :) | 01:24 |
| ted-ious | Don't let me stop you then. :) | 01:24 |
| ted-ious | Does your script do things that rsync -c doesn't? | 01:27 |
| integfred | i don't know what rsync -c does | 01:37 |
| ted-ious | It forces rsync to compare every file instead of just looking at the date and time. | 01:54 |
| integfred | the script I wrote in the git at the moment, as it stands, basically does that (compare every file in 2 different directories against each other). I am working on the other things I mentioned like CRC check and recovery to replace the cmp aspect to clarify. I am doing quite a bit of the work in C, but I haven't uploaded that bit yet. | 01:59 |
| integfred | It's also worth noting that the bug in Thunar is distributed with devuan iso if you didn't already know this :))) | 02:47 |
| Joril | Mmh... devuan.org is down...? | 10:44 |
| Joril | back online now | 10:54 |
| gnarface | ted-ious: if integfred comes back, tell them to see if it's also happening in debian, and if so report it there | 11:09 |
| gnarface | i only skimmed the listing for thunar on their bug tracker, but a couple of the things on there looked possibly related | 11:10 |
| gnarface | if it's not actually happening in debian too, then i'm sure that info will incite someone to figure out why | 11:11 |
| ErRandir | Trying to upgrade tzdata on daedalus reports a grave bug "b1 - #1069265 - tzdata: Upgrade from 2023c-2 to 2024a-0+deb10u1 corrupts zoneinfo files". I don't want that bug. Looking at it in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069265 I don't see if or when it will be fixed. Is there anything in the bug that will tell me? | 19:19 |
| fsmithred | ErRandir, I don't see that version in daedalus. It's up to +deb12u1 | 19:27 |
| fsmithred | and the version in daedalus is not referenced in the changelog. | 19:36 |
| ErRandir | Thanks. I see that version in https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=tzdata&x=submit but http://deb.devuan.org/ does not resolve for me. In /etc/apt I have http://packages.devuan.org/merged. Is that wrong? | 19:40 |
| gnarface | you're the issue is that you're probably missing daedalus-updates and daedalus-security | 19:54 |
| gnarface | deb.devuan.org really should resolve though... | 19:54 |
| ErRandir | Thanks, it's a bit better now. It tries to upgrade to 2024a-0+deb12u1, with the same bug as a blocker. | 20:00 |
| gnarface | ErRandir: paste your /etc/apt/sources.list at paste.debian.net and then drop the link here, i'll sanity check it for you | 20:06 |
| gnarface | make sure your system clock is relatively accurate too (within about 5 minutes at least of the real time) | 20:07 |
| ted-ious | gnarface: Why would somebody go thru the effort to sync their clock and let it still be 5 minutes off? :) | 20:17 |
| gnarface | well, obviously it's easy to just use ntpdate or something like that, but in case they're setting it by hand they have to know it matters more now than it used to in the old days, and some people are tripped up because they don't expect that | 20:19 |
| gnarface | it used to be that you could trust everything to work if you were at least just set to some time later than whatever the most recent times in the logs were, and even then it usually wasn't a big deal to be years off, but now days you need to be comfortably within 5 minutes or you can't even trust DNS to work | 20:21 |
| ErRandir | https://paste.debian.net/1315565/ | 20:23 |
| ErRandir | my clock looks good. | 20:23 |
| ted-ious | gnarface: This works to within a second or two even if you don't have an ntp server. https://gist.github.com/alexellis/4ce511f08313a16d5a945a5ad27b0f25 | 20:25 |
| fsmithred | ErRandir, here's a package mirror list in case you want to pick one that's close instead of using deb.devuan.org | 20:26 |
| fsmithred | https://pkgmaster.devuan.org/mirror_list.txt | 20:26 |
| gnarface | ErRandir: deb.devaun.org is a dns round-robin... is it possible you just hit a broken mirror and didn't retry? other than that this sources.list looks fine | 20:26 |
| fsmithred | we prefer that people use a mirror rather than pkgmaster or packages.d.o. | 20:26 |
| gnarface | ErRandir: your DNS servers could be suspect... | 20:27 |
| ErRandir | Ok, I'll try a mirror. | 20:29 |
| gnarface | ErRandir: oh, backports isn't supposed to cause problems, but sometimes it has for me, so usually i leave that one commented out except when i need something specific from there. | 20:30 |
| gnarface | you generally do not want to actually do a full upgrade using backports, since those packages aren't usually tested well against each other | 20:30 |
| ErRandir | Even with a mirror it tries to go to 2024a-0+deb12u1, with the same bug as a blocker. Sort-of makes sense since the bug is against 2024a-0+deb10u1 and hasn't been fixed yet. | 20:47 |
| gnarface | ErRandir: you're getting an error on install you mean? can you show it? | 20:49 |
| gnarface | paste.debian.net again | 20:50 |
| ErRandir | https://paste.debian.net/1315569/ | 20:54 |
| gnarface | ErRandir: what do you have installed that's actually doing the bug check there? it seems like it has a bug. | 20:55 |
| gnarface | it installed just fine for me, but now i'm wondering if my timezone data is corrupt... | 20:56 |
| gnarface | but i don't see why it'd be triggering on a bug for oldoldstable unless it was some sort of version parsing error | 20:57 |
| ErRandir | It comes from package apt-listbugs, which runs /usr/bin/apt-listbugs during the install. | 20:59 |
| gnarface | check what version of apt-listbugs you have | 21:00 |
| ErRandir | 0.1.40, no newer version available for me. Maybe I should backup /usr/share/zoneinfo, install anyway, and debug what looks wrong. | 21:02 |
| gnarface | well, i'm wondering if you're actually seeing something like this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023111 | 21:03 |
| gnarface | ... so, i guess, maybe yea | 21:03 |
| gnarface | if apt-listbugs doesn't parse the part of the version string after the "+" and doesn't check release tags either, i can see why it would get a false-positive here | 21:07 |
| gnarface | but if that were the case it does seem to me like false positives would be very common... | 21:08 |
| ErRandir | I wasn't aware of that bug. I've done the install, I'll monitor if any bad stuff happens. Lots of the files in /usr/share/zoneinfo/ are binary. | 21:14 |
| gnarface | well, keep me posted if anything happens | 21:15 |
| gnarface | keep all of us posted | 21:15 |
| bgstack15 | Hi, my latest Devuan install is on an old Acer Chromebook. Not sure if that affects my problem: I cannot figure out how to ignore the power button. I have tried modifying /etc/elogin/logind.conf to set all the possibly-related values to =ignore, I have tried chmod -x /etc/acpi/powerbtn-acpi-support.sh. Does anyone have any additional ideas? | 21:54 |
| bgstack15 | I use elogind+lightdm. | 21:54 |
| gnarface | bgstack15: i'm not sure why you'd want to do that, but fyi on most hardware, "10 seconds to power off" isn't something you can actually prevent without altering bios code | 21:56 |
| gnarface | for ignoring regular power button signals besides that though... maybe try lightdm or maybe look for a kernel module you can unload, not sure | 21:58 |
| bgstack15 | the power button is right above the backspace key, on a small-ish keyboard. one (ahem) might press the power button when fixing one of four thousand typos a day. | 21:58 |
| gnarface | the login manager might have something to do with it since elogind is involved too, but i'm not sure | 21:59 |
| gnarface | actually does it have a bios/efi type interface? look in there for power button behavior first, if it does | 21:59 |
| gnarface | on a good bios it would definitely have an option | 22:00 |
| bgstack15 | I'm not trying to ignore a 5-second press, just the regular little tap. It's an old chromebook so I think whatever SeaBIOS is, would be very locked down | 22:00 |
| bgstack15 | Doesn't the OS get to decide what to do with a power key press though? | 22:00 |
| gnarface | chromebook... yea, wouldn't expect any bios access on non-PC hardware | 22:00 |
| gnarface | with a regular power-button press on a chromebook, the OS certainly would if it was chromeos | 22:01 |
| bgstack15 | it is x86_64, Celeron 2955U though | 22:01 |
| gnarface | if you're running linux on it... anybody's guess whether they even have drivers | 22:01 |
| gnarface | celeron chromebook... very interesting | 22:01 |
| gnarface | you sure it doesn't have a regular bios? worth looking... | 22:02 |
| bgstack15 | oh, the Devuan 5.0 netinstall worked great on it! (After using the chrx script that partitioned the drive and initially installed Xubuntu on it) | 22:02 |
| gnarface | huh, interesting | 22:03 |
| bgstack15 | but then I installed Devuan to a usb drive because I was afraid to mess with the partition table of the 16GB onboard storage and ruining ChromeOS's ability to restore itself (if I decide to sell it). | 22:03 |
| gnarface | do you have the kernel config? | 22:04 |
| gnarface | see what this config var is set to: CONFIG_ACPI_BUTTON=m | 22:04 |
| bgstack15 | er, 6.7.12-amd64 stock whatever's in Devuan unstable right now. | 22:04 |
| gnarface | (check in /boot/ or in /proc/config.gz) | 22:04 |
| bgstack15 | CONFIG_ACPI=y | 22:05 |
| gnarface | that's the only ACPI variable in your kernel config!? | 22:05 |
| bgstack15 | would you like a debian paste grep ACPI_ /boot/config-`uname -r`? | 22:05 |
| gnarface | no, just check if ACPI_BUTTON support is included, and if it's a module, unload it | 22:06 |
| bgstack15 | ooh, so because it was y, it was built-in to this build of the kernel so I can't just unload it, I presume? | 22:06 |
| bgstack15 | oh wait, CONFIG_ACPI_BUTTON=m | 22:07 |
| bgstack15 | lol, `modprobe -r chromeos_acpi ; [press power button]` still shuts the system down. | 22:08 |
| gnarface | i forget the generalized kernel command-line syntax for disabling modules... i think it can work if it's not a module but i guess we're not finding out today | 22:08 |
| gnarface | isn't there one just called "button" ? | 22:08 |
| bgstack15 | Ah, I didn't check for "button." Let me look for that | 22:08 |
| bgstack15 | this is the fastest rebooting device I've ever seen in person! | 22:08 |
| gnarface | your window manager might also have some option, depending on the WM | 22:09 |
| gnarface | if it even can be intercepted that is | 22:09 |
| bgstack15 | fluxbox. | 22:09 |
| bgstack15 | But if we need to switch to xfce to get some config options that might work in any sense, I'm game. | 22:09 |
| bgstack15 | I will try to modprobe -r button right now. | 22:10 |
| bgstack15 | still shuts down without button module loaded. | 22:10 |
| gnarface | i don't know much about fluxbox, but i think enlightenment would have a way to rebind it | 22:11 |
| bgstack15 | Dare I say that it appears the systemd people have something that works.... https://unix.stackexchange.com/questions/288731/disable-the-power-button-on-a-chromebook | 22:11 |
| bgstack15 | but I've already tried that of course in the /etc/elogind/logind.conf | 22:11 |
| gnarface | that /etc/acpi/powerbtn-acpi-support.sh script, you just chmod -x'd it? try renaming it | 22:14 |
| gnarface | in fact, rename it and then restart acpid | 22:14 |
| gnarface | then try the power button | 22:14 |
| gnarface | just curious | 22:14 |
| bgstack15 | yeah, I had already renamed that file about 10 reboots ago. | 22:15 |
| gnarface | that second suggestion from the stackexchange link might work | 22:15 |
| ErRandir | Could try to use xmodmap to reassign the button. | 22:15 |
| gnarface | changing the actual X11 keyboard mapping for it in /usr/share/X11/xkb/symbols/inet | 22:15 |
| bgstack15 | after changing that inet file, would I need to reboot for it to take effect? | 22:17 |
| gnarface | probably just need to restart X and lightdm, would be my guess | 22:18 |
| gnarface | full reboot might be easier considering your short boot times... | 22:18 |
| gnarface | but, looking at that file here right now i can see familiar looking symbols that confirm what i suspected, which is that enlightenment does have controls for this, so fluxbox might too | 22:19 |
| gnarface | maybe in some optional control panel you didn't install? | 22:20 |
| gnarface | that's often the answer with xfce anyway | 22:20 |
| bgstack15 | I replaced every XF86PowerOff with Backspace in that inet file, rebooted, and still no go. I tried disabling the xinput devices that were labeled power button and sleep button. Still no go. | 22:23 |
| bgstack15 | I'll try the xfce route I guess | 22:23 |
| gnarface | there's every possibility it's wired up to bypass the software, but there's no reason for that to be mutually exclusive either, i just don't know. i'd be curious to ask the elogind devs what they think... | 22:24 |
| gnarface | wait, xfce? no, no, i was trying to get you to try enlightenment. the xfce thing was just brought up because it's an example of a desktop with lots of optional control panels people don't know about | 22:25 |
| gnarface | i was specifically curious if these enlightenment controls i'm seeing can be made to affect it | 22:25 |
| gnarface | (on my regular desktop pc at some point in some relatively recent major release, my on-keyboard extra sleep button started working unexpectedly, so there's reason to believe it's gonna support weird buttons where other WMs may not) | 22:26 |
| bgstack15 | OK, I'm going to install --no-install-recommends enlightenment right now. | 22:29 |
| gnarface | when you get it up and running, check out settings -> settings panel -> input -> key bindings as well as acpi bindings in the same tab, i see power button controls under both | 22:31 |
| gnarface | not really sure how to use them though... | 22:31 |
| bgstack15 | lol, startup sound for Enlightment... | 22:34 |
| gnarface | i usually unload the keyboard map changer widget thingy because i find it causes conflicts sometimes with the system settings, which i had already set the way i wanted | 22:37 |
| gnarface | ...but ymmv | 22:37 |
| gnarface | it has a really exhaustive set of control panels | 22:38 |
| bgstack15 | enlightenment: I changed the "key bindings" for all XF86[power-sounding keys] to just do "File Manager" action. When I press the power button, it does pop up with the little "Power off/Suspend/Lock/Reboot/Hibernate/Log out" menu though. | 22:38 |
| bgstack15 | So while my keybinding configs didn't work, it is at least intercepting that button. | 22:38 |
| gnarface | interesting | 22:38 |
| gnarface | maybe better luck in the ACPI bindings control panel? | 22:38 |
| bgstack15 | so there's hope! | 22:38 |
| gnarface | yea | 22:39 |
| bgstack15 | I find Enlightenment... uninteresting to me. I'll check out the ACPI control panel next. | 22:39 |
| gnarface | i just like that it's so flexible | 22:39 |
| gnarface | don't sweat the big memory footprint, it's all cache. it's actually very well optimized | 22:40 |
| gnarface | the multi-display support is pretty nice | 22:41 |
| gnarface | the default theme isn't flashy though | 22:42 |
| bgstack15 | the ACPI commands worked; I configured the power/suspend type commands to File Manager, and it pops up a file manager when I press the power button. | 22:43 |
| gnarface | excellent, so we know it can be done | 22:43 |
| gnarface | that's big | 22:43 |
| bgstack15 | So I guess I need to research fuller acpi config/control. | 22:43 |
| bgstack15 | I have to go for now, but thank you for the pointing in the right direction! | 22:43 |
| gnarface | yea, now just to figure out how to make fluxbox do it... | 22:43 |
| gnarface | no problem | 22:43 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!