jaeger changed the topic of #crux-devel to: CRUX (https://crux.nu/) development channel | Logs: https://libera.irclog.whitequark.org/crux-devel/
<farkuhar> although I didn't have any of the crux.nu stylesheets for a proper test of the pmwiki rendering on my local host, I did use a consistent syntax for any new bullet points or indented paragraphs. Broken formatting should be a simple matter of search-and-replace, once we determine where I went wrong in using the pmwiki syntax.
crash_ has quit [Quit: WeeChat 3.6]
crash_ has joined #crux-devel
<SiFuh> Kernel shrunk by 256
<farkuhar> SiFuh: your screenshot shows that you got lsusb running successfully (no unresolved symbols from libatomic). You fixed it without injecting the entire gcc package?
<SiFuh> I did what jaeger suggested. I added on line 323 @cp /usr/lib/libatomic.so.1 $(ROOTFS_DIR)/usr/lib
<SiFuh> Took it straight from my system
<farkuhar> Aye, that's a simple fix. I wonder if some of the other big packages that fill up the rootfs of the install media can also be obviated, leaving only the necessary .so files
<farkuhar> Then you could install even 3.7 on that ancient machine of yours with only 1GB of RAM
<SiFuh> Revdep ;-)
<jaeger> I did it slightly differently... copied libatomic from the bootstrapped gcc package instead of the live system
<SiFuh> jaeger: '#/dev/#ESP# /boot/efi ...' shouldn't that be '#/dev/#ESP# /boot ...' ?
<jaeger> Not typically, no
<jaeger> Technically either works, though
<SiFuh> UEFI looks for a partition and searches for the contents of a folder named EFI
<SiFuh> So you would need to use efibootmgr to point to the new location then
<stenur> UEFI does not look into your fstab
<SiFuh> No but the user does. /boot/efi/EFI/BOOT/BOOX64.EFI is kind of strange don't you think?
<stenur> ..no? I have /dev/nvme0n1p1 /media/efi vfat noauto,defaults 0 0
<SiFuh> Did you modify?
<stenur> it is not even mounted until i replace the stage1 kernel
<stenur> boot is somewhere else entirely
<SiFuh> %partition%/EFI/BOOT/ is the standard location
<stenur> /boot is on an encrypted btrfs partition
<stenur> you confuse me. what is it that you want?
<SiFuh> You don't really need to mount the EFI partition unless you want to modify it. It was requested that jaeger add the commented out EFI partition to the fstab. However, the mount point is /boot/efi which is the part the user/system mounts. UEFI doesn't know nor care about /boot/efi it only cares about the partition then looks into the foler EFI/BOOT by default. So if you mount the EFI partition as
<SiFuh> /boot/efi/ that means you should have a folder after that EFI/BOOT/ so theoretically it would be /boot/efi/EFI/BOOT/. If you do not use the EFI/BOOT/ part you will need to inform UEFI of the location of the *.EFI image.
<SiFuh> stenur: understand now?
<stenur> it is the one file /media/efi/EFI/Boot/bootx64.efi, yes
<stenur> the kernels i have there are not under EFI/:
<SiFuh> Mine is mounted as /boot and under boot I have efi/boot/bootx64.efi
<stenur> oh shit! new efibootmgr does not longer print command line, it uses a hexdump for arguments!!!
<SiFuh> The reason I brought it is up is that in the manual that farkuhar is writing it may confuse a beginner when using SYSLINUX
<stenur> ah no; they do both; ok wait
<stenur> Boot0001* kent HD(1,GPT,5d6d756b-5de2-4e5d-b043-8d4ae1bb6eb0,0x800,0x82000)/File(\ideapad-stage1.efi)root=/dev/nvme0n1p1 rootfstype=vfat init=/kent.sh
<stenur> Boot0002* kent-direct HD(1,GPT,5d6d756b-5de2-4e5d-b043-8d4ae1bb6eb0,0x800,0x82000)/File(\ideapad-stage1.efi)root=/dev/nvme0n1p1 rootfstype=vfat init=/kent-direct.sh rtw88_pci.disable_aspm=1 rc.hostname=kent
<stenur> etc etc
<stenur> that is directly /media/efi/ideapad-stage1.efi thus, not under /media/efi/EFI/Boot/
<jaeger> For clarification, /boot/efi is just common in documentation. You can mount it anywhere you like
<stenur> yeah
<SiFuh> Yes I know, but shouldn't be in line with CRUX documentation?
<stenur> just don't document syslinux, document efibootmgr for UEFI.
<jaeger> It isn't crux-specific and I'm pretty sure everything I've written with regards to UEFI uses /boot/efi
<SiFuh> Ayway, it is only a small thing.
<jaeger> It probably wouldn't hurt to be consistent in the crux docs about UEFI installation, though
<stenur> what he wants is that he mounts that VFAT thing into the filesystem plain, so that pkgadd for example simply stores early-ucode.cpio there, too
<stenur> since that stores in /boot/ there is a mismatch
<SiFuh> No, I don't use that ucode port
<jaeger> There's nothing that prevents you having stuff in /boot and /boot/efi
<stenur> i would not recommend users that need a handbook to use that VFAT thing as the real /boot
<jaeger> I keep kernels/system.map in /boot, bootloader still goes into /boot/efi
<SiFuh> I ran a test of another distro. I think it was Clear Linux 2 or 3 years ago, and I have never formated my EFI partition so I use the ucode that Clear Linux had installed.
<stenur> yes you can mount the same thing as /boot and /boot/efi, no? does that work from fstab? or must it be a --bind?
<jaeger> (except on an encrypted system where that doesn't work)
<jaeger> I would not mount the same partition to both places, there's no benefit to that in my mind
<stenur> and of secure boot i have no idea
<jaeger> Unless confusion is a benefit :P
<stenur> well you have to if you want the EFI VFAT as /boot?
<stenur> ..and the EFI VFAT as /boot/efi..
<jaeger> Why would I want that?
<stenur> i do not want it at all.
<SiFuh> ls
<jaeger> You are confusing me
<stenur> i also think we have reached the dead end of total confusion
<SiFuh> freestanding-00-intel-ucode.cpio freestanding-i915-firmware.cpio.xz <-- I am using these stenur
<stenur> ok; i do not know where these are located
<SiFuh> They were put in my efi partition but Clear Linux 3 years ago and I still use them, so no need to isntall the CRUX intel-ucode port
<jaeger> microcode may have been updated in those 3 years
<jaeger> possibly even for an old CPU
<SiFuh> I check every now and then.
<stenur> you are fine with OpenBSD, they print the necessary firmware IDs upon boot i think, at least for CPUs; these are the little things which help a lot, just last week i again compiled the ideapad kernel with a false firmware update for the other laptop which can use the same kernel, because i thought x-y-0 is a predecessor of x-y-4, 'had that once with -66 and -71. In both cases i felt as idiotic as i am.
jue has joined #crux-devel
jue has quit [Read error: Connection reset by peer]
jue_ has joined #crux-devel
jue_ is now known as jue
jue has quit [Read error: Connection reset by peer]
jue has joined #crux-devel
<jaeger> SiFuh: looks like the LPSS stuff does indeed work on my zotac box
<SiFuh> jaeger: That's cool. I was reading in to it a little this morning. Seems to be quite important for a lot of low powered controllers
<SiFuh> I also came accross this
<jaeger> SiFuh: so which .config is the proper one for the ISO contrib dir? CD-5.15.55.config or the original -modular link?
<jaeger> I'm guessing that CD is for the CD config and -modular is intended to be a final installed system config, just want to make sure
<jaeger> (the same as .config vs .defconfig in iso.git)
<farkuhar> stenur: thanks for reminding us about intel-ucode and its footprint. How common is it for someone to pkgadd intel-ucode, when the fstab defines /boot itself as a mountpoint (not a subdir like /boot/efi) *and* that partition is not mounted at the time of running pkgadd? If that's not a common configuration, there's not much of a mismatch to worry about.
SiFuh_ has joined #crux-devel
pitiIIo_ has joined #crux-devel
nthwyatt has joined #crux-devel
darfo has quit [*.net *.split]
pitiIIo has quit [Ping timeout: 240 seconds]
SiFuh has quit [Ping timeout: 240 seconds]
_whitelogger_ has joined #crux-devel
_whitelogger has quit [Ping timeout: 240 seconds]
jue has quit [Ping timeout: 268 seconds]