Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to boot, no fb
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1227
Location: Massachusetts USA

PostPosted: Thu Jan 23, 2025 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Thu Jan 23, 2025 9:01 am    Post subject: Reply with quote

pietinger wrote:
agustinfortnite2008 wrote:
[...] it loads the kernel but never gives a log in screen ( CONFIG_FB_EFI is on as well ) [...]

Do you have also these options enabled? ->
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.12#Framebuffer_Device_and_Console
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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Thu Jan 23, 2025 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10714
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jan 24, 2025 2:15 pm    Post subject: Reply with quote

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:
  1. Copy your bespoke .config file into /usr/src/linux.
  2. 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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Fri Jan 24, 2025 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10714
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jan 24, 2025 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Fri Jan 24, 2025 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54759
Location: 56N 3W

PostPosted: Fri Jan 24, 2025 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Fri Jan 24, 2025 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54759
Location: 56N 3W

PostPosted: Fri Jan 24, 2025 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Fri Jan 24, 2025 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54759
Location: 56N 3W

PostPosted: Fri Jan 24, 2025 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 25
Location: Argentina

PostPosted: Fri Jan 24, 2025 7:59 pm    Post subject: Reply with quote

Thanks, now to thinkering again
_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54759
Location: 56N 3W

PostPosted: Fri Jan 24, 2025 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10714
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jan 24, 2025 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum