libera/#devuan/ Sunday, 2021-05-02

rwpOh we are not in -offtopic?  (me peers close...)  Oh!00:00
rwpBack on topic I would boot a different boot media and then run smartctl on it.  And if that reported all okay I would probably dd if=/dev/sdX of=/dev/null ibs=64M and let it read the entire disk once and then smartctl selftest it again.00:01
rwpAnd then use it if it all checks out.  But given the odd symptoms reported so far I expect that something is failing about it.00:01
rwpI also know that lfh reported being unable to boot if the disk was connected at all.  And that is a symptom of a controller failure that I have seen myself before.00:04
fsmithredsome motherboard switch the order of the drives when you plug in usb, and sometimes grub and kernel don't agree on which drive is first00:14
crashoverridefsmithred: that's a feature, not a bug.00:48
crashoverridefsmithred: it's used to seed the pseudorandom algo.00:48
lfhrwp: the problem is that nothing at all can boot from a livemedia when the disk is plugged in (figuring out the disk was the problem was one of the issues). I was planning to wipe it and use something (debootstrap was suggested) to install from another computer, then plug it in, as others had previously recommended.02:27
lfhAnyone's allowed to see anything as a personal attack all they want, of course. Being offended over everything is very fashionable these days.02:28
ShorTieyou just need to wipe it i'd guess02:28
lfhfollowing rwp's suggestions I'll try doing SMART tests first, but that's the plan. Fingers crossed.02:33
fsmithredlfh, maybe the hd-media is what you need. Put these files on hard drive to install to hard drive: https://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-amd64/current/images/hd-media/02:33
fsmithredyeah, test first02:33
lfhthanks02:34
fsmithredcheck debian docs for how to use hd-media. I don't recall the details.02:34
lfhwill do02:34
neutralcan someone help me with the notification-daemon?02:39
wizard1smart short test completed without any failure and the recorded data shows no logged errors as well. Time for full tests, then wipe and pray. Hopefully hd-media + debootstrap will do the thing.02:57
fsmithredI think the hd-media runs an installer02:58
VLetrmxhi, is my best option for getting sound in firefox with ALSA rather than pulseaudio compiling ff with --enable-alsa? I'm asking in case there's some devuan specific thing already provided that I'm not aware of12:48
VLetrmxah ignore me, I think you already compiled it with ALSA support, cool12:52
beagleburtG'day from New Zealand folk! I am doing a fresh install of Beowulf 3.1.0 on a Lenovo B-40 Laptop which has a SSD 860 EVO SATA III 2.5 inch 250 GB MZ-76E250BW. I understand that I need to leave 10% of the SSD Unallocated, but I am wondering if it matters WHERE? End? Middle?..???15:43
buZzbeagleburt: you dont need to leave 10% of the ssd unallocated15:43
buZzbeagleburt: tell whoever told you that to learn from newer sources ;)15:43
buZzssd's already manage -all- that internally without a user needing to do anything15:44
lts-AFAIK it is still a good idea to leave some free space within the filesystem, but you can surely allocate all disk for the filesystem just fine15:44
lts-(Though I usually cut it a bit short, in case I want to RAID it later with a disk that may be slightly smaller)15:45
buZza 250GB SSD will already be 300-350GB of flash15:45
buZzit will move around the '250GB FS' you made on it a lot , just to keep functional15:45
buZzif a 250GB SSD was actually 250GB , it would have dataloss within a month15:45
buZzwatch this talk ; https://hackaday.com/2013/12/29/hacking-sd-card-flash-memory-controllers/15:46
beagleburtbuZz, It is not a very new SSD...?15:46
buZzand never trust any flash storage ever again15:47
buZzbeagleburt: yes, it is15:47
beagleburtbuZz, Hmmm? I am sure that I've had it for quite a while ...1-2 years?15:48
buZzbeagleburt: the 'you must keep free space' on ssd's mantra applies to WAY older ssds15:54
buZzever since ~2000 SSD firmwares handle all that themselves15:54
beagleburtbuZz, Oh? I did not realise that...thank you for updating me. :-)16:02
Akuliafter installing another linux distro for dual-boot, devuan boots about 30sec slower than before, it seems to be stuck at something before init starts19:34
Akulireplacing 'quiet' with 'text' in the linux line of grub, i get this: (sorry about picture of screen) https://i.imgur.com/FMzFejj.jpg19:35
rwpHmm...  That does look odd.  I wonder why?19:38
rwpI see that /dev/sdb is removable storage.  Same result without it plugged in?  That's the only idea I have though.19:39
Akuliwhere do you see sdb?19:40
rwpNine lines up from the bottom of your photo of the boot.19:40
Akulihm19:40
Akulii wonder what that is :D i don't have usb stick plugged in19:41
Akuliand sdb doesn't show up in lsblk19:41
rwp"If only I had time..." then I would like to pick apart the initramfs start scripts and understand them in detail.  It would be useful.19:41
rwpFor me there is always a pause at LVM start (waiting for lvmetad [lv meta d]) which is annoying.  But happens with all Linux based distros.19:43
Akulithis might have something to do with the other distro using lvm19:43
Akuliafaik i didn't use lvm when installing devuan19:43
rwpHmm...  Regarding my comment...  I always see it saying that it is waiting to contact the lvmetad.  I don't see how the other distro using LVM would affect this one.19:44
rwpIs your photo the output with the "debug" kernel command line option?  Did it write a log to /run/initramfs/initramfs.debug ??19:45
Akulithe only thing i changed from whatever is default in devuan was replacing "quiet" with "text" in grub19:46
Akulithere are two files in /run/initrams.fs, fsck.log and fsck-root19:46
Akuliin /run/initramfs/, that is19:47
rwpTry adding "debug" to the kernel boot line and then booting and seeing if some clue shows up in the initramfs.debug file.  https://wiki.debian.org/InitramfsDebug#Saving_debug_information19:47
rwpAlso this reference suggests exactly what I would suggest: https://askubuntu.com/questions/469246/how-to-debug-initramfs-scripts19:48
Akulido i add it to the same grub line as "text" or "quiet"?19:48
Akulithe line that says "linux ..."19:49
rwpYes.  In place of quiet would be good.  You can do that as a one time on-the-fly thing by booting and editing the grub boot line.19:49
rwpIf at the GRUB boot count down screen you hit a key the count down stops.19:49
rwpThen you can use the up and down arrows to position on the entry you want to use.  Then 'e' to edit that entry.  Change it as desired.19:50
Akuliright, i already did that for "text" parameter19:50
rwpThen I think it says at the bottom the funky to use to boot that entry.  C-x???  I don't remember off the top of my head.19:50
Akuliyeah19:50
Akuliswitching to different computer now19:51
rwpTo make permanent changes of course one can edit the /etc/default/grub file and then run update-grub to have it rebuild the /boot/grub/grub.cfg file for a persistent change.19:54
rwpI always get rid of "splash" because it annoys me that people turn these into black boxes.  If something is failing at boot I want to know about it and fix it!19:55
Akulicontent of initramfs.debug https://termbin.com/ao1n19:56
Akuliunfortunately no output between the repeating lines19:56
rwpAnd it is in there that the pause is happening?19:58
Akuliyes, it spends most of the time repeating those lines19:58
rwpIn that case I would unpack the initramfs, review the scripts, insert debug, and work the problem that way.19:58
Akulihm20:00
Akulii deleted my swap partition while i installed the other distro20:00
Akulii hadn't actually used it for a long time, i just commented it out in devuan fstab20:00
rwpHowever as I recall the right command to pack up an initramfs is "find . -print | cpio -R 0:0 -o -H newc | gzip > foo-initrd.gz" but my note says 2012 so that may have changed since then.20:00
Akuli:D20:00
Akulimy /etc/initramfs-tools/conf.d/resume contains the uuid of what used to be the swap partition20:01
Akuliand it no longer exists20:01
rwpCommenting out a swap partition in /etc/fstab should be okay as far as that goes.20:01
rwpOh!20:01
rwpYes.  That could be it.20:01
Akulii need to be afk for 30min or something like that, i'll continue when i'm back20:01
rwpTTYL!  But I think your swap resume finding is very likely on the trail!20:02
rwpI had completely forgotten about that reference to swap for suspend and resume operation.20:02
rwpBut for various reasons I think it is important and useful to have at least some amount of non-swapfile swap configured.20:03
Akulii disabled swap because oom handling becomes much better20:33
Akuliinstead of freezing the world, the memory allocation will fail and the program that tried to allocate a huge amount of memory will crash20:34
rwpBut, but, but...  That's not actually how Linux memory overcommit works.20:38
Akuli:)20:39
Akuliit works in practice, at least in python programs20:39
Akulithe most common cause for my system freezing used to be me writing a stupid python program20:39
rwpWell...  I have no time to debate it in #devuan-offtopic at the moment but maybe later. :-)20:40
Akuli:)20:40
Akulinow it boots faster :D i set RESUME=none in /etc/initramfs-tools/conf.d/resume and then ran update-initramfs -u20:41
Akulithanks!20:41
unixbsdI managed to cure ubuntu, from systemd, and I made a devuan live also. here an example: "https://gitlab.com/openbsd98324/linux-ubuntu-groovy-standard/-/archive/master/linux-ubuntu-groovy-standard-master.zip"22:02
unixbsdI noticed that ubuntu with systemd, actually the systemd is such a pain22:02
unixbsdsystemd makes sure that you can never get wifi working.22:02
unixbsdI was happy to use devuan, but still devuan s**cks for wifi/wireless like all the linux areas.22:03
unixbsdBSD rocks with wifi and networking x1000 times better than Linux.22:03
unixbsdSystemd and Linux managed to contribute to make Linux even worst - could it be possible? yep, they managed.22:03
unixbsddevuan managed with rose and all networking to have 3 to 10 times a single wpa connection, man, devuan is a real danger for routers.22:06
unixbsdcd /join #ubuntu22:10
sadsnorkIs it golinux_ that manages the dev1galaxy forums?  If it is of any concern, the time on the host running the forums seems to be about 7 minutes fast.  Just sayin'. :-)22:45
golinuxsadsnork: rrq handles the mysteries of the forum's backend.22:46
sadsnorkAwesome, thanks for highlighting him/her for me golinux!22:48
golinuxHe's just waking up about now . . .22:48

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