View previous topic :: View next topic |
Author |
Message |
jburns Veteran
Joined: 18 Jan 2007 Posts: 1227 Location: Massachusetts USA
|
Posted: Thu Jan 23, 2025 2:57 am Post subject: |
|
|
In the output of efibootmgr -u
Code: | Boot0000* Gentoo ZFS HD(1,GPT,d4a10a35-24a7-4a78-abfb-0f1e1345c4e0,0x800,0x200000)/\EFI\Gentoo\bzImage.efiroot=ZFS=rpool/ | Is there a space between efi and root? |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Thu Jan 23, 2025 9:01 am Post subject: |
|
|
i did actualy, the only things that wasn't built in comparison to the genkernel config regarding the fb is:
CONFIG_FB_VIRTUAL
CONFIG_XEN_FBDEV_FRONTEND
CONFIG_FB_TILEBLITTING
also CONFIG_FB_SIMPLE is disabled, DRM is built as a module
CONFIG_DRM_LOAD_EDID_FIRMWARE is enabled as well as
CONFIG_AUXDISPLAY
Mod edit: Quote to post being replied to added for clarity. — JRG _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Thu Jan 23, 2025 9:04 am Post subject: |
|
|
jburns wrote: | In the output of efibootmgr -u
Code: | Boot0000* Gentoo ZFS HD(1,GPT,d4a10a35-24a7-4a78-abfb-0f1e1345c4e0,0x800,0x200000)/\EFI\Gentoo\bzImage.efiroot=ZFS=rpool/ | Is there a space between efi and root? | yes it only appears like that in efibootmgr, the entry is configured with the correct sintax
Code: | efibootmgr --disk /dev/nvme0n1 --part 1 --create --label "Gentoo ZFS 6.12.10" --loader "bzImage.efi" --unicode 'root=ZFS=rpool/ROOT/gentoo ro dozfs=cache,force initrd=\initramfs-6.12.10-gentoo-x86_64.img" |
Mod edit: Quote to post being replied to added for clarity. — JRG _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10714 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jan 24, 2025 2:15 pm Post subject: |
|
|
agustinfortnite2008 wrote: | ...the only things that wasn't built in comparison to the genkernel config regarding the fb is:
CONFIG_FB_VIRTUAL
CONFIG_XEN_FBDEV_FRONTEND
CONFIG_FB_TILEBLITTING
also CONFIG_FB_SIMPLE is disabled, DRM is built as a module
CONFIG_DRM_LOAD_EDID_FIRMWARE is enabled as well as
CONFIG_AUXDISPLAY |
So you've finished the exhaustive comparison? If so, it might be useful to try compiling the kernel with your bespoke, lean .config file but without clang/LLVM and lto, if for no other reason than to definitively rule them out as part of the problem. You can do that easily with genkernel:- Copy your bespoke .config file into /usr/src/linux.
- Run
Code: | genkernel --clean --oldconfig kernel | Of course you can compile and install manually as well. Either way, your compile time will be back to normal. Let us know the results of this experiment.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Fri Jan 24, 2025 4:40 pm Post subject: |
|
|
i did mess around a litle bit but it didn't boot, aparently the genkernel initramfs mounts the zfs pool not zfs-import and zfs-mount in openrc so maybe thats the problem?
i modified the .config generated from genkernel and built it manualy with dracut, and it didn't boot at all for no reason, literaly i only disabled some drivers for intel nvdia and stuff
dracut also adds the zfs modules so i have no clue
tbh i don't realy know, i posponed it because i am lazy an it was late, im going to try now and se what can i do
pd: if i do find out what causes this how can i change or add and entry for manual kernel config in zfs wiki ( or contact with someone to do so ) _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10714 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jan 24, 2025 4:53 pm Post subject: |
|
|
agustinfortnite2008 wrote: | ...if i do find out what causes this how can i change or add and entry for manual kernel config in zfs wiki ( or contact with someone to do so ) | You mean the ZFS article on the Gentoo Wiki? Anyone is free to edit the Gentoo Wiki. You'll just need to create an account there: look for the "User" pull-down at the top right of the page and select "Create account". From there it should be obvious.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Fri Jan 24, 2025 6:07 pm Post subject: |
|
|
Quick update it appears that i was right, the genkernel initramfs mounts the zfs pool, now
The thing is it fails to recognice it as a file system and refuses to boot.
After that it directly nuked my install somehow. hyprland crashes because theres not a GPU
ls -l /dev/dri/by-path shows noting and portage gives a extremely verbose output???
I hace to do a reinstall or debug shit for day's what a mess.... _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54759 Location: 56N 3W
|
Posted: Fri Jan 24, 2025 6:46 pm Post subject: |
|
|
agustinfortnite2008,
Debug it. Reinstalling will fix nothing. It gives your the opportunity to make a different mistake and robs you of the learning experience.
You appear to be using the AMDGPU kernel module, or if not, your VIDEO_CARDS says that you intended to.
How is that configured in your kernel?
Where is the required firmware?
There is a common 'no framebuffer' scenario here the kernel starts with EFI framebuffer but before there is any output to it, it switches to a broken DRM framebuffer, so that there is never any console output. Meanwhile, the system may boot properly ... just with a blank console. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Fri Jan 24, 2025 6:52 pm Post subject: |
|
|
the install was alright before booting into the manual kernel with genkernel initramfs,
it failed, i rebooted into the previous preconfigured kernel and turns out that it doesn't work
the fb gives output i can emerge something if i want to so it's not that, it's kinda odd really
like why??
all the packages are there openrc doesn't give any warning that /dev for example is not mounted
so i have no clue _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54759 Location: 56N 3W
|
Posted: Fri Jan 24, 2025 7:11 pm Post subject: |
|
|
agustinfortnite2008,
Describe your boot process and where you see it go wrong.
As emerge works, install wgetpaste and use it to post your dmesg output.
Code: | wgetpaste -c 'dmesg' |
You may need to use the -s and/or -S options too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Fri Jan 24, 2025 7:23 pm Post subject: |
|
|
Inspecting a little more i noticed that openrc says that some local filesystem failed to mount xd
In my defence i thought that it was a warning because of dirty bit in the filesystem
turns out the kernel modules are fucked now what?
dmesg:
https://bpa.st/B44q _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54759 Location: 56N 3W
|
Posted: Fri Jan 24, 2025 7:55 pm Post subject: |
|
|
agustinfortnite2008,
Your link is broken.
I suspect that you have mismatching 'kernel magic' on modules made for one .config, while the running kernel was made for another, so you get missing symbol errors on the same module both built in and built as a loadable module.
The fix is the same. Reinstall the kernel and its modules and rebuild the initrd if it contains kernel modules.
The built kernel is still in /usr/src somewhere, so the kernel should not need to be rebuilt. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
agustinfortnite2008 n00b
Joined: 28 Nov 2024 Posts: 25 Location: Argentina
|
Posted: Fri Jan 24, 2025 7:59 pm Post subject: |
|
|
Thanks, now to thinkering again _________________ Xorg es mierda, Wayland tambien |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54759 Location: 56N 3W
|
Posted: Fri Jan 24, 2025 8:03 pm Post subject: |
|
|
agustinfortnite2008,
I would still like to see your dmesg. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10714 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jan 24, 2025 8:44 pm Post subject: |
|
|
NeddySeagoon wrote: | I suspect that you have mismatching 'kernel magic' on modules made for one .config, while the running kernel was made for another, ... | Ugh. I think that's my fault. Had him rebuild the kernel but not the initramfs. Sorry, agustinfortnite2008. Should still be recoverable, however. Boot the install media and do repair operations on the zpool until it mounts. (I can help you there once you report the errors you're getting.) Then chroot in and rebuild the initramfs.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|