Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo finally boots! With major problems. HELP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Sat May 19, 2018 11:50 pm    Post subject: Gentoo finally boots! With major problems. HELP Reply with quote

Hi!, I'm trying to install gentoo linux on my custom build and I'm having major issues that is pretty much summarized in the title.

Firstly here are my specs:
CPU: Ryzen 5 1660 (not sure if its 1660 or 1660x)
MOBO: Gigabyte GA-AB350 Gaming
GPU: Sapphire RX 580

I wanted to install the following profile:
default/linux/amd64/17.0/desktop/plasma

After finally getting it to boot, and following, to the best of my understanding and capability, the following guides:
https://wiki.gentoo.org/wiki/AMDGPU
https://wiki.gentoo.org/wiki/Handbook:AMD64
and finally
https://wiki.gentoo.org/wiki/Xorg/Guide

And here is where I am at:

The system boots but there is no connection at all, ifconfig outputs nothing (literally), and my domain is (none) even though I set it in /etc/conf.d/hostname
but most importantly, im in a terminal.... Not in KDE. Why? Thats the million dollar question.

I tried starting it and here is the Xorg log file I got as it miserably failed.
https://paste.pound-python.org/show/dTxgutv6O60HvBuFh5HE/

For the xorg config file... Well I can't find it.
I heard that nowadays its only needed if you create it but that you can generate one with Xorg -configure
That didn't work.

So yeah, please help me, I've been trying to do this for 3 days almost :lol: :cry:
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5575

PostPosted: Sun May 20, 2018 1:33 am    Post subject: Reply with quote

For your missing networking we'll need to see your lspci and your kernel .config file.

Xorg doesn't need a config file anymore, but I haven't had an ati/amd card in ages so I can't really help much there, sorry.
_________________
overlay | patches
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7458
Location: Goose Creek SC

PostPosted: Sun May 20, 2018 1:37 am    Post subject: Reply with quote

boot a livecd/usb, preferably from http://www.system-rescue-cd.org/ so you have a full set of tools, to a gui so you have a browser.
so we can see what your hardware is and what drivers it uses, run
Code:
lspci -k | wgetpaste -t
lshw | grep -i driver | wgetpaste -t
wgetpaste -t /proc/cpuinfo
and post the url's returned
are you booting in uefi, legacy bios, or combo mode?
are you using systemd or openrc?
Still with system rescue cd/usb (hopefully) booted, mount the gentoo partitions and enter the chroot. run
Code:
emerge -s linux-firmware
Is it installed? If not emerge linux-firmware. To show your kernel configuration to us, run
Code:
wgetpaste -t /usr/src/linux/.config
and post the url returned.
First effort should be to get net connection.
This machine is running amdgpu without /etc/X11/xorg.conf.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Sun May 20, 2018 2:34 am    Post subject: Reply with quote

DONAHUE wrote:
boot a livecd/usb, preferably from http://www.system-rescue-cd.org/ so you have a full set of tools, to a gui so you have a browser.
so we can see what your hardware is and what drivers it uses, run
Code:
lspci -k | wgetpaste -t
lshw | grep -i driver | wgetpaste -t
wgetpaste -t /proc/cpuinfo
and post the url's returned
are you booting in uefi, legacy bios, or combo mode?
are you using systemd or openrc?
Still with system rescue cd/usb (hopefully) booted, mount the gentoo partitions and enter the chroot. run
Code:
emerge -s linux-firmware
Is it installed? If not emerge linux-firmware. To show your kernel configuration to us, run
Code:
wgetpaste -t /usr/src/linux/.config
and post the url returned.
First effort should be to get net connection.
This machine is running amdgpu without /etc/X11/xorg.conf.


Firstly thanks for this (system-rescue), make fixing stuff like that much easier :D

Next, The lspci -k paste https://paste.pound-python.org/show/Kgs7f2OV21ZHmcBcFbY1/
then lshw paste here (I had to emerge lshw fyi) https://paste.pound-python.org/show/OTl4lXCKU6uF6kXjWLz8/
and lastly cpuinfo paste here https://paste.pound-python.org/show/oPEklDTa8fi9UzmwKIdC/

As for which way im booting im not too sure but I'm pretty sure combo.

Using openrc.

yes my linux-firmware is installed

Paste for my kernel config here https://paste.pound-python.org/show/odmAwSOyk9vL6eR9lX9I/

Thanks alot for giving it a shot fam :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7458
Location: Goose Creek SC

PostPosted: Sun May 20, 2018 3:21 am    Post subject: Reply with quote

your kernel config has # CONFIG_R8169 is not set
if you are expecting to use wired ethernet you need to enable r8169
In the chroot, with the boot partition mounted at /boot:
Code:
cd /usr/src/linux
make menuconfig
edit to
Quote:
Device Drivers --->
[*] Network device support --->
--- Network device support
[*] Ethernet driver support --->
[*] Realtek devices
<M> Realtek 8169 gigabit ethernet support

Graphics support --->
<M> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
<M> AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(16) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
[ ] DRM DP AUX Interface
< > kselftests for DRM range manager (struct drm_mm)
[*] Enable legacy fbdev support for your modesetting driver
(100) Overallocation of the fbdev buffer
[ ] Allow to specify an EDID data set instead of probing for it
I2C encoder or helper chips --->
< > ATI Radeon
<M> AMD GPU
[*] Enable amdgpu support for SI parts
[*] Enable amdgpu support for CIK parts
[*] Always enable userptr write support
[ ] Allow GART access through debugfs
ACP (Audio CoProcessor) Configuration --->
[*] Enable AMD Audio CoProcessor IP support
Display Engine Configuration --->
AMD Library routines --->
< > Nouveau (NVIDIA) cards
< > Intel 8xx/9xx/G3x/G4x/HD Graphics
< > Virtual GEM provider
< > DRM driver for VMware Virtual GPU
< > Intel GMA5/600 KMS Framebuffer
< > DisplayLink
< > AST server chips
< > Kernel modesetting driver for MGA G200 server engines
< > Cirrus driver for QEMU emulated device
< > QXL virtual GPU
< > DRM Support for bochs dispi vga interface (qemu stdvga)
Display Panels ----
Display Interface Bridges --->
< > DRM Support for Hisilicon Hibmc
< > Support for simple displays ----
[ ] Enable legacy drivers (DANGEROUS) ----
Frame buffer Devices --->
{*} Support for frame buffer devices --->
[ ] Framebuffer foreign endianness support ----
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[*] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > OpenCores VGA/LCD core 2.0 framebuffer support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support
< > Fujitsu carmine frame buffer support
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Framebuffer support for IBM GXT4000P/4500P/6000P/6500P adaptors
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Simple framebuffer support
< > Silicon Motion SM712 framebuffer support
-*- Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
{*} Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Generic PWM based Backlight Driver
< > Apple Backlight Driver
< > Qualcomm PM8941 WLED Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
< > Backlight Driver for ADP8870 using WLED
< > Backlight Driver for LM3630A
< > Backlight Driver for LM3639
< > Backlight driver for TI LP855X
< > Sanyo LV5207LP Backlight
< > Rohm BD6107 Backlight
< > Backlight driver for the Arctic Sands ARCxCnnnn family
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(1024) Scrollback Buffer Size (in KB)
[ ] Persistent Scrollback History for each console by default
(80) Initial number of console screen columns
(25) Initial number of console screen rows
-*- Framebuffer Console support
-*- Map the console to the primary display device
[ ] Framebuffer Console Rotation
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

exit menuconfig saving the new configuration
if you wish, run
Code:
make && make modules_install && make install
grub-mkconfig -o /boot/grub/grub.cfg
exit chroot, reboot to the installed gentoo system.

Edited to add Graphics Support section.
_________________
Defund the FCC.


Last edited by DONAHUE on Sun May 20, 2018 4:15 am; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5575

PostPosted: Sun May 20, 2018 3:46 am    Post subject: Reply with quote

You might also need some firmware for that particular device. If you see some messages in dmesg after enabling the module, then you'll have to install linux-firmware.
_________________
overlay | patches
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7458
Location: Goose Creek SC

PostPosted: Sun May 20, 2018 4:17 am    Post subject: Reply with quote

menuconfig above updated with graphics support section
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Sun May 20, 2018 5:44 am    Post subject: Reply with quote

DONAHUE wrote:
menuconfig above updated with graphics support section


I've compiled the new kernel with the options you specified ( thanks for that btw ) and installed it.

Now the only perceivable changes I've seen is a slightly higher resolution and a different error message when entering
Code:
startx
.

The network still doesn't work and kde still wont boot.

NOTE: many options you wanted me to edit were missing. here are they:

Code:
< > kselftests for DRM range manager (struct drm_mm)
(100) Overallocation of the fbdev buffer
Display Engine Configuration --->
AMD Library routines --->
< > Nouveau (NVIDIA) cards
< > Intel 8xx/9xx/G3x/G4x/HD Graphics
< > Virtual GEM provider
< > DRM driver for VMware Virtual GPU
< > Intel GMA5/600 KMS Framebuffer
< > DisplayLink
< > AST server chips
< > Kernel modesetting driver for MGA G200 server engines
< > Cirrus driver for QEMU emulated device
< > QXL virtual GPU
< > DRM Support for bochs dispi vga interface (qemu stdvga)
Display Panels ----
< > DRM Support for Hisilicon Hibmc
< > Support for simple displays ----
[ ] VESA VGA graphics support
< > Backlight driver for the Arctic Sands ARCxCnnnn family
[ ] Persistent Scrollback History for each console by default


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7458
Location: Goose Creek SC

PostPosted: Sun May 20, 2018 12:25 pm    Post subject: Reply with quote

boot the installed gentoo, run
Code:
ifconfig -a
#then
ifconfig
What interfaces are shown by each?
oops--I used my menuconfig for a 4.16.8 kernel --explains the missing choices except [ ] VESA VGA graphics support --should not matter since none need to be enabled
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Sun May 20, 2018 9:04 pm    Post subject: Reply with quote

DONAHUE wrote:
boot the installed gentoo, run
Code:
ifconfig -a
#then
ifconfig
What interfaces are shown by each?
oops--I used my menuconfig for a 4.16.8 kernel --explains the missing choices except [ ] VESA VGA graphics support --should not matter since none need to be enabled


Hmmm. I've booted today and my ethernet and loopback interfaces are showing now... Weird

Startx gives me the same error as yesterday, here is a wgetpaste for the logfile: https://paste.pound-python.org/show/nRm9iLP8HHKDT3RHT7h5/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7458
Location: Goose Creek SC

PostPosted: Mon May 21, 2018 1:58 am    Post subject: Reply with quote

Delupara wrote:
Hmmm. I've booted today and my ethernet and loopback interfaces are showing now... Weird


Do you have network connection in addition to interfaces appearing?

Have you tried the command
Code:
startkde


Your Xorg.0.log looks good now. window manager, display manager, desktop are suspects in my mind.
Run
Code:
nano /etc/X11/xorg.conf.d/00-keyboard.conf
edit to read:
Quote:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
This will allow you to escape from some hung up gui problems with <ctrl-alt-backspace>.
Then run
Code:
X -retro
If a stippled black and white screen appears the amdgpu driver and xorg-server are working.

[/code][/quote]


Alternatively or additionally
Code:
emerge xclock twm
startx
If windows appear the amdgpu driver and xorg-server are working as well as a simple window manager.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Mon May 21, 2018 3:15 am    Post subject: Reply with quote

DONAHUE wrote:
Delupara wrote:
Hmmm. I've booted today and my ethernet and loopback interfaces are showing now... Weird


Do you have network connection in addition to interfaces appearing?

Have you tried the command
Code:
startkde


Your Xorg.0.log looks good now. window manager, display manager, desktop are suspects in my mind.
Run
Code:
nano /etc/X11/xorg.conf.d/00-keyboard.conf
edit to read:
Quote:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
This will allow you to escape from some hung up gui problems with <ctrl-alt-backspace>.
Then run
Code:
X -retro
If a stippled black and white screen appears the amdgpu driver and xorg-server are working.

[/code]


Alternatively or additionally
Code:
emerge xclock twm
startx
If windows appear the amdgpu driver and xorg-server are working as well as a simple window manager.


Thanks a lot for the help, but I managed to fix everything (That I wanted help for) by re-emerging kde-plasma/plasma-desktop and sddm. Added a user and now everything is OK!

and yes, I had and still have an internet connection, though it being horrid due to its provider being a connection bridge on my windows10 gaming laptop. :P
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
Page 1 of 1

 
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