Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rebooting into the new gentoo installation turns off my pc.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 4:16 pm    Post subject: rebooting into the new gentoo installation turns off my pc. Reply with quote

hello. i've managed to finally reach the finalizing part of my gentoo install, but when booting into my new gentoo installation. it shows a message at the top left saying

Quote:
EFI stub: loaded initrs from LINUX_INITRD_MEDIA_GUID


during the showing of the lenovo logo. after a few seconds. the laptop would shut off suddenly. im not sure what caused this since ive never seen anything life it, and nobody else seems to have my problem. this happens when normally starting up the laptop as well.

i am running systemd alongside its boot loader on a lenovo G510 on a UEFI system. if you want anymore information like my kernel config, then feel free to ask. im still very new to gentoo and i hope this doesnt cause any issues with fixing the issue.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 4:25 pm    Post subject: Reply with quote

Komorzo,

Welcome to Gentoo Forums ! :D

If you have configured your kernel manually then take a look into this thread ;-)
https://forums.gentoo.org/viewtopic-t-1169152-highlight-.html

If not, then we would need more informations about your installation. Have you got any error during the installation ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 4:34 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo,

Welcome to Gentoo Forums ! :D

If you have configured your kernel manually then take a look into this thread ;-)
https://forums.gentoo.org/viewtopic-t-1169152-highlight-.html

If not, then we would need more informations about your installation. Have you got any error during the installation ?


hello! i appreciate the welcome.

i did actually manage to configure the kernel manually with SATA and other require hardware enabled. ill go take a look at the thread pronto.

as for errors. ive only found 1 with systemd saying

Systemd has not been booted with systemd as unit system (PID 1). Can't operate.
Failed to connect to bus: Host is down

when following the hostctl command with tux. other than that there isnt any other issues or errors found. ill go try enabling the two commands and see if it works
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 5:02 pm    Post subject: Reply with quote

Komorzo wrote:
as for errors. ive only found 1 with systemd saying

Systemd has not been booted with systemd as unit system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Yes, there is already a note in the wiki discussions about it:
https://wiki.gentoo.org/wiki/Handbook_Talk:AMD64/Installation/System#systemd-firstboot_fails_on_the_official_minimal_cd
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 6:10 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo wrote:
as for errors. ive only found 1 with systemd saying

Systemd has not been booted with systemd as unit system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Yes, there is already a note in the wiki discussions about it:
https://wiki.gentoo.org/wiki/Handbook_Talk:AMD64/Installation/System#systemd-firstboot_fails_on_the_official_minimal_cd


ah. i see. then no there aren't any errors. for the fix for the shutdown. the framebuffer and DRM didnt work but ive noticed that ive missed some essential things on the kernel config for some reason. even after enabling those options. the same result kept happening. i should also ask, is it okay that there arent any .ko files when running

Quote:
find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less


?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 6:51 pm    Post subject: Reply with quote

Komorzo wrote:
is it okay that there arent any .ko files when running

If you have configured everything statically into the kernel (so you dont have any module as <M>odule configured) then there will be none ... or you have forgotten to do a "make modules_install" :lol:
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 7:15 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo wrote:
is it okay that there arent any .ko files when running

If you have configured everything statically into the kernel (so you dont have any module as <M>odule configured) then there will be none ... or you have forgotten to do a "make modules_install" :lol:

after taking a look at the kernel config. there are some modules for intel networking and ALSA but i dont think that might be something enough to turn off the pc of not there. and i use make && make modules_install. should i share my kernel config here for people to take a closer look at the problem?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 7:20 pm    Post subject: Reply with quote

Komorzo wrote:
should i share my kernel config here for people to take a closer look at the problem?

Yes. But we need more:
Boot with our GentooLiveCD and do/give us a "dmesg" and a "lspci -nnk". Then chroot (*) into your installation and give us a "emerge --info". See more: https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information

*) If you dont know what to do, please read: https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation

(I will be offline the next days; but we have many experts here, they will surely help you also)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 7:24 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo wrote:
should i share my kernel config here for people to take a closer look at the problem?

Yes. But we need more:
Boot with our GentooLiveCD and do/give us a "dmesg" and a "lspci -nnk". Then chroot (*) into your installation and give us a "emerge --info". See more: https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information

*) If you dont know what to do, please read: https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation

(I will be offline the next days; but we have many experts here, they will surely help you also)

ah. hair enough them. ill get them within 2 hours if you do not mind
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 7:27 pm    Post subject: Reply with quote

Komorzo wrote:
[...] ill get them within 2 hours if you do not mind

Please ... take your time ... maybe read the most important thing about Gentoo:
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 7:31 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo wrote:
[...] ill get them within 2 hours if you do not mind

Please ... take your time ... maybe read the most important thing about Gentoo:
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo

sure! ill take a look at it.
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 9:14 pm    Post subject: Reply with quote

as for emerge --info. i got
Quote:
Undefined license group '*'
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.30-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-4200M_CPU_@_2.50GHz-with-glibc2.39
KiB Mem: 3919280 total, 281080 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 28 May 2024 08:00:00 +0000
Head commit of repository gentoo: 930da8cd15ffa7542d90cf9bfc6db36413c2d5db
sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r3::gentoo
dev-build/autoconf: 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r5::gentoo
dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 255.6::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @* @FREE @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -msse -msse2 -msse3 -mmmx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=haswell -msse -msse2 -msse3 -mmmx -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=haswell -msse -msse2 -msse3 -mmmx -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -msse -msse2 -msse3 -mmmx -O2 -pipe"
GENTOO_MIRRORS="https://ftp.linux.org.tr/gentoo/ rsync://ftp.linux.org.tr/gentoo-distfiles/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

as for lspci --nnk. i got
Quote:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [17aa:3978]
Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [17aa:3978]
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Lenovo 4th Gen Core Processor Integrated Graphics Controller [17aa:3801]
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [17aa:3978]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB xHCI [17aa:3978]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family MEI Controller [17aa:3978]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI [17aa:3978]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset High Definition Audio Controller [17aa:3978]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family PCI Express Root Port [17aa:3978]
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family PCI Express Root Port [17aa:3978]
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family PCI Express Root Port [17aa:3978]
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI [17aa:3978]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 05)
Subsystem: Lenovo HM86 Express LPC Controller [17aa:3978]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family SMBus Controller [17aa:3978]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 IDE interface [0101]: Intel Corporation 8 Series/C220 Series Chipset Family 2-port SATA Controller 2 [IDE mode] [8086:8c09] (rev 05)
Subsystem: Lenovo 8 Series/C220 Series Chipset Family 2-port SATA Controller 2 [IDE mode] [17aa:3978]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi, ata_generic
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] [1002:6663]
Subsystem: Lenovo Sun PRO [Radeon HD 8570A/8570M] [17aa:3801]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
08:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611]
09:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
Subsystem: Lenovo QCA8172 Fast Ethernet [17aa:3801]
Kernel driver in use: alx
Kernel modules: alx

i will post dmesg and the contents of the kernel .config file in another message due to the size.
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 9:25 pm    Post subject: Reply with quote

here is the file for .config: https://drive.google.com/file/d/1QwpAAxz_8Y2jLsFciZbZ1Xu9deM7xxPr/view?usp=drive_link

and for dmesg: https://docs.google.com/document/d/1g04T2TPXGlKeIMUi9Auy_Xrw1qL_wu4jZz9B5YXa_Dc/edit?usp=drive_link
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Thu May 30, 2024 11:22 pm    Post subject: Reply with quote

You have two video cards in your system: The AMD radeon and the GPU of your intel CPU (i915). Now it depends on your BIOS settings which is used. Many systems use:
Code:
[   26.755065] vga_switcheroo: enabled

and this you have already enabled in your .config ... but ...

When booting with our GentooLiveCD you have:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Lenovo 4th Gen Core Processor Integrated Graphics Controller [17aa:3801]
Kernel driver in use: i915
Kernel modules: i915
...
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] [1002:6663]
Subsystem: Lenovo Sun PRO [Radeon HD 8570A/8570M] [17aa:3801]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

but you miss it in your kernel .config:
Code:
# CONFIG_DRM_RADEON is not set

I guess you have a black screen because your system wants to use the radeon.

Maybe there are more problems ... so, I always suggest to start here for a manual kernel configuration:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
(read also every linked article)

(Please dont use docs.google.com ... it is ugly to read ... so I have not looked into dmesg very deep)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Thu May 30, 2024 11:36 pm    Post subject: Reply with quote

pietinger wrote:
You have two video cards in your system: The AMD radeon and the GPU of your intel CPU (i915). Now it depends on your BIOS settings which is used. Many systems use:
Code:
[   26.755065] vga_switcheroo: enabled

and this you have already enabled in your .config ... but ...

When booting with our GentooLiveCD you have:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Lenovo 4th Gen Core Processor Integrated Graphics Controller [17aa:3801]
Kernel driver in use: i915
Kernel modules: i915
...
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] [1002:6663]
Subsystem: Lenovo Sun PRO [Radeon HD 8570A/8570M] [17aa:3801]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

but you miss it in your kernel .config:
Code:
# CONFIG_DRM_RADEON is not set

I guess you have a black screen because your system wants to use the radeon.

Maybe there are more problems ... so, I always suggest to start here for a manual kernel configuration:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
(read also every linked article)

(Please dont use docs.google.com ... it is ugly to read ... so I have not looked into dmesg very deep)


ah alright then. i apologize for the google docs, i wasnt much into the mood of creating a new text file. i will have to try them out tomorrow as i will have to sleep
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Fri May 31, 2024 1:18 pm    Post subject: Reply with quote

i have thoroughly read the documents and recommendations of it and applied them, but sadly nothing changed :( . ive decided to also make dmesg its own text file instead of google doc so it may be easier to read for others. here is the new .config file: https://drive.google.com/file/d/1QwpAAxz_8Y2jLsFciZbZ1Xu9deM7xxPr/view?usp=sharing

as for the new dmseg file: https://drive.google.com/file/d/1_sA3Q0CHN2yuNSpDrZoMWITro1uN0V1E/view?usp=sharing
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Fri May 31, 2024 5:39 pm    Post subject: Reply with quote

1) Have you enabled your Radeon module statically <*> or as <M>odule ?

If Module: Goto (3)

2) If statically: Have you also build the firmware files into the kernel:
Code:
[   26.433551] Loading firmware: radeon/hainan_me.bin
[   26.451325] Loading firmware: radeon/hainan_ce.bin
[   26.453510] Loading firmware: radeon/hainan_rlc.bin
[   26.456517] Loading firmware: radeon/hainan_mc.bin
[   26.473241] Loading firmware: radeon/hainan_smc.bin

If no: Read (and do): https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware

3) If yes: I will need now your new kernel .config
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Fri May 31, 2024 6:20 pm    Post subject: Reply with quote

pietinger wrote:
1) Have you enabled your Radeon module statically <*> or as <M>odule ?

If Module: Goto (3)

2) If statically: Have you also build the firmware files into the kernel:
Code:
[   26.433551] Loading firmware: radeon/hainan_me.bin
[   26.451325] Loading firmware: radeon/hainan_ce.bin
[   26.453510] Loading firmware: radeon/hainan_rlc.bin
[   26.456517] Loading firmware: radeon/hainan_mc.bin
[   26.473241] Loading firmware: radeon/hainan_smc.bin

If no: Read (and do): https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware

3) If yes: I will need now your new kernel .config

i believe ive already shared the new .config file from my last post. i do have ATI radeon drivers as a module though
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Mon Jun 03, 2024 10:26 am    Post subject: Reply with quote

Komorzo,

I was offline 3 days ... and just checked my threads ... I am sorry there was no reply to this thread ... so, please, what is the current status ?

(maybe I would need your current .config again; can you use another machine with sshd ?; if yes, have your tried to ssh-login and check the status?)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Mon Jun 03, 2024 3:57 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo,

I was offline 3 days ... and just checked my threads ... I am sorry there was no reply to this thread ... so, please, what is the current status ?

(maybe I would need your current .config again; can you use another machine with sshd ?; if yes, have your tried to ssh-login and check the status?)

hello. welcome back! and your fine. i dont believe you had any control over what happened. i do have another computer which i could try installing openssh in alongside the laptop. as for the status on the laptop. nothing has changed
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Mon Jun 03, 2024 5:44 pm    Post subject: Reply with quote

Komorzo wrote:
[...] i could try installing openssh in alongside the laptop. as for the status on the laptop. nothing has changed

That's great ... try to get the dmesg (if available) when you try to boot your broken kernel.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Mon Jun 03, 2024 6:33 pm    Post subject: Reply with quote

pietinger wrote:
Komorzo wrote:
[...] i could try installing openssh in alongside the laptop. as for the status on the laptop. nothing has changed

That's great ... try to get the dmesg (if available) when you try to boot your broken kernel.

alright. ill see what i can do about it.
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Tue Jun 04, 2024 1:38 pm    Post subject: Reply with quote

apologies if this will take a bit by the way. this is my first time actually using ssh since i didnt have much use for it.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4508
Location: Bavaria

PostPosted: Tue Jun 04, 2024 2:10 pm    Post subject: Reply with quote

Komorzo wrote:
apologies if this will take a bit by the way.

Please do not apologize - we are not always online either. Take as much time as you need. :D
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Komorzo
n00b
n00b


Joined: 30 May 2024
Posts: 23

PostPosted: Sat Jun 08, 2024 9:32 am    Post subject: Reply with quote

Alright. I have came back and logged into my laptop using SSH. I've did a Uname -r and a Dmesg and what i got is the 6.6.30 gentoo kernel and a dmesg pretty similar to the old one https://drive.google.com/file/d/1Eat_wzf04tUiV4fALO95Lw5K0qnGgsHO/view?usp=sharing

ive also found a problem where i believe systemd boot may have not been installed correctly, although im not sure. running bootctl is-installed said it couldn't find an EFI system partition
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 1, 2  Next
Page 1 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