The Linux Thread - The Autist's OS of Choice

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
it fails to boot. it doesn't respond to ssh access attempts and none of the webservices are available, and cannot be seen in the router dhcp list.
Anything show up in /var/log/kern.log etc after restarting following the failed start (which would confirm whether the kernal ever booted)? Do you get BIOS beeps when the computer starts to diagnose whether it's even starting up at all, or can you connect a beeper to cause it to do so?

Might be easiest just to get one of those dummy HDMI plugs.
 
I appreciate Lunduke's position that political discussion/tribalism should be relegated to its own area, however it's funny how quickly he turns that around whenever he wants to say nice things about Israel.
I know. He is eccentric and fixated on seeing Israel as the underdog.
At least I can agree an almost all his points on his videos. He is still based to me.
 
Anything show up in /var/log/kern.log etc after restarting following the failed start (which would confirm whether the kernal ever booted)? Do you get BIOS beeps when the computer starts to diagnose whether it's even starting up at all, or can you connect a beeper to cause it to do so?

Might be easiest just to get one of those dummy HDMI plugs.
I don't seem to have that log. i did order a dummy minidp plug as that's what the video card uses
 
I appreciate Lunduke's position that political discussion/tribalism should be relegated to its own area, however it's funny how quickly he turns that around whenever he wants to say nice things about Israel.
Nobody is perfect as they say but I have been watching his stuff this afternoon and his concerns seem pretty valid regardless of what you think of him, IDC if he is a pro-Isreal boomer or whatever, The ideological capture of Linux is disturbing, I hope his Distro comes good and encourages more to start pushing back.
 
Has anyone dealt with a I/O errors on an NVME drive before? It keeps hardlocking one of my systems and the old error I am getting is Invalid field in command, with 4000 + of these errors and over 127k incorrect shutdowns (this doesn't seem right, drive is newish).
I'd say back that bitch up immediately. If you still can.
 
I'm confused. Do these faggots propose a solution for people who occasionally have to boot Microsoft OSes? Or is their expectation that their userbase uses only Linux all the time? Reconfigure EFI boot during Linux time to boot to Windows, reconfigure EFI boot during Windows time to boot Linux? This sounds quite absurd and ill thought out to me.
I'm still confused as to what the real benefit to UEFI actually was supposed to be since after implementation the complexity went way the hell up (unfucking an EFI partition mess being the prime example), since it added on a stack of features you see on machine loaders for crazy arches like POWER (since POWER7 that arch can run both BE and LE code together, you can partition the machine to simul-boot instead of dual boot----but I don't think the PC will ever see mobos that can do simulboot with hardware-based timeshare). my only guess was the firmware swapping on integrated boards you see now makes mobomakers happier
 
I'm still confused as to what the real benefit to UEFI actually was supposed to be since after implementation the complexity went way the hell up (unfucking an EFI partition mess being the prime example), since it added on a stack of features you see on machine loaders for crazy arches like POWER (since POWER7 that arch can run both BE and LE code together, you can partition the machine to simul-boot instead of dual boot----but I don't think the PC will ever see mobos that can do simulboot with hardware-based timeshare). my only guess was the firmware swapping on integrated boards you see now makes mobomakers happier
They also create some really weird glitches when they do things that aren't properly supported. For example my server has this shit:
Bash:
~$ efibootmgr
** Warning ** : Boot000e is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000f is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : please recreate these using efibootmgr to remove this warning.
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0010,000B,000E,000F
Boot0000* debian
Boot000B* UEFI: Built-in EFI Shell
Boot000E  WDC WDS100T2G0A-00JH30
Boot000F  SanDisk
Boot000e_BbsIndex*
Boot000f_BbsIndex*
Boot0010* PLDS DVD-RW DH16ACSH
Boot0010_BbsIndex*
It is not possible to delete the BbsIndex entries and they show up in the boot selection menu and all say "Debian" so it's hard to determine which one is the real one. And I can't find a tool to delete them as efibootmgr doesn't accept any way of typing them (typing "000f" redirects to "000F" for example)

Honestly I should just switch my server to CSM boot
 
They also create some really weird glitches when they do things that aren't properly supported. For example my server has this shit:
Bash:
~$ efibootmgr
** Warning ** : Boot000e is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000f is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : please recreate these using efibootmgr to remove this warning.
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0010,000B,000E,000F
Boot0000* debian
Boot000B* UEFI: Built-in EFI Shell
Boot000E  WDC WDS100T2G0A-00JH30
Boot000F  SanDisk
Boot000e_BbsIndex*
Boot000f_BbsIndex*
Boot0010* PLDS DVD-RW DH16ACSH
Boot0010_BbsIndex*
It is not possible to delete the BbsIndex entries and they show up in the boot selection menu and all say "Debian" so it's hard to determine which one is the real one. And I can't find a tool to delete them as efibootmgr doesn't accept any way of typing them (typing "000f" redirects to "000F" for example)

Honestly I should just switch my server to CSM boot
i've never read any backgrounders on UEFI and what Intel was thinking, but the complexity sort of mimics a portion of what you see on mainframes and on POWER, which has real simulboot/run capability. On a mainframe you can slice the computer up into LPARs (logical partitions) and then assign shared/exclusive I/O channels on each LPAR, so in your head you can pretend it's sorta like a hardware rendition of Proxmox but you're timesharing all physical resources at this level, there's no software virtualization going on at this level. And to make that work you have to have OSes that respect the hell out of the HW hypervisor, so no RTOS is theoretically possible, but the tradeoff is you get a real "physical" barrier you can put danger code in and prod code on the same machine and the piss streams will never cross. The other tradeoff is the boot complexity is intense (that's the part that came to the PC with UEFI). So... some of this scaffolding is on the PC, but not all of it.

I was wondering if the PC would ever get something similar to what POWER/mainframes can do... which would be some cool shit bc then hw makers could put out weird shit like dual x86/arm64 mobos, and consumers would slurp up boards that can truly do "business in the front/party in the back" dual OS running.

and yeah, i cringe every time I go into the UEFI boot monitor; every time I wind up in there I forget nearly everything I learn---that tool needs a menuconfig TUI for it
 
Last edited:
I'm still confused as to what the real benefit to UEFI actually was supposed to be since after implementation the complexity went way the hell up (unfucking an EFI partition mess being the prime example), since it added on a stack of features you see on machine loaders for crazy arches like POWER (since POWER7 that arch can run both BE and LE code together, you can partition the machine to simul-boot instead of dual boot----but I don't think the PC will ever see mobos that can do simulboot with hardware-based timeshare). my only guess was the firmware swapping on integrated boards you see now makes mobomakers happier
Having real firmware was a nice idea. I remember, at one point around 2002 or so, being annoyed that I could only have four primary partitions so couldn't run more than a few separate Windows/DOS installs on the same machine alongside my Linux install without using one of those bizarre and dangerous DOS boot managers that would completely switch around your partition table like BootMagic if you wanted to boot to more DOS partitions than normal MBR booting would allow*.

But if you want to know why UEFI in practice is so bad, from the website of TianoCore, the open sores (NOT free software/copyleft) sample code project that all UEFI implementations are based on:

Background​


In June of 2004, Intel announced that it would release the “Foundation Code” of its Extensible Firmware Interface (EFI), a successor to the 16-bit x86 “legacy” PC BIOS, under an open source license. This Foundation Code, developed by Intel as part of a project code named Tiano, was Intel’s “preferred implementation” of EFI. This evolved into EDK, EDK II, and other open source projects under the TianoCore community.

The EFI Specifications were contributed to the United EFI Forum as part of the original UEFI Specifications, which has been adopted by over 200 companies and shipped on millions of compute devices. The UEFI Forum does not endorse any particular implementation, but TianoCore is designed to implement the UEFI and UEFI PI specifications.
200 companies * 5+ pajeets each = thousands of Indians have shed leprosy bacilli all over the world's UEFI implementations and approximately 0.01% of their code is ever rationalized or contributed back to the original project to be critiqued and have the lesions worked out. If any code is ever contributed back, that's irrelevant, because none of the companies 'maintaining' UEFI implementations will ever rebase their own version that cost them multiple pajeetyears to add an ugly splash screen on the current version of TianoCore.

It really says something that when Apple went from OpenFirmware on the PowerMacs to the shitshow that is UEFI and Intel, they went from easily supporting within their own boot manager multibooting to any odd Mac OS or Linux or other OS partition, to only being practically able to provide support for booting to Mac OS or selected versions of Windows (with a lot of special code to deal with all the awful shit that Windows would do to wreck havok on other OSs).

* fun fact, Apple had to implement insane logic like that to make multibooting with Windows XP work on UEFI-only Intel Macs, they would automatically update UEFI and MBR partition tables every time you rebooted
 
Last edited:
  • Informative
Reactions: i440BX
Gentoo is definitely not for everyone and I don't know or want to know about the maintainers' political proclivities, but as far as actual distro maintenance goes, they're top-notch. Sober and sensible and help keep the non-Systemd ecosystem alive through OpenRC (which also benefits other distros like Alpine) and separated components like elogind to force a bit more of the UNIX philosophy onto the less avoidable Systemd aspects.
 
Gentoo is definitely not for everyone and I don't know or want to know about the maintainers' political proclivities, but as far as actual distro maintenance goes, they're top-notch.
The only thing Gentoo needs is more package maintainers. Way too much shit kept back because package maintainers can't keep up. I've written a few myself at times to keep things updated
 
Has anyone dealt with a I/O errors on an NVME drive before? It keeps hardlocking one of my systems and the old error I am getting is Invalid field in command, with 4000 + of these errors and over 127k incorrect shutdowns (this doesn't seem right, drive is newish).
What filesystem? Ext4's lazy init (which is usually the default) clashes hard with some nvme firmware.
 
what would be the preferred filesystem for NVMe drives then? ext5 isn't out yet
You can use anything with a well behaved nvme drive. If your drive is made of Chinesium then I dunno throw btrfs on it and pray I guess.

Ext4 lazy init quickly create the fs structure and then slowly formats the whole drive as you're using it, and it constrains itself to only taking up a little bit of your I/O bandwidth. For sketchy nvme drives that's actually a bit too much for it and the controller shits itself between the writes and TRIM requests.
 
what would be the preferred filesystem for NVMe drives then? ext5 isn't out yet
Ext4 lazy init quickly create the fs structure and then slowly formats the whole drive as you're using it, and it constrains itself to only taking up a little bit of your I/O bandwidth. For sketchy nvme drives that's actually a bit too much for it and the controller shits itself between the writes and TRIM requests.
Looks like you can get the 'old' behavior back with: mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0
Which will up-front all the table initialization. Which if it's a really shitty drive may still kill it, but at least you'll know sooner rather than later.
 
What filesystem? Ext4's lazy init (which is usually the default) clashes hard with some nvme firmware.
BTFS/JFS, same issue is present on NTFS and XFS. Seems to be a NVME controller bug as it is showing the controller is crashing (Removing after probe failure status: -19). See this kernel bug (Unresolved since 2017). I've got a Samsung controller which is known to cause issues.
Supposedly the solution is topass
Code:
 nvme_core.default_ps_max_latency_us=0
to the grub_cmdline_linux

I think my combination of JFS/BTFS on LVM with IOMMU causing issues.
 
Last edited:
Dumb question, but what's the best way to check for fragmentation in my SAS drives that are in a mergerfs pool and defragment then without taking them offline?
 
Back