Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] no graphical login with kernel >=5.2.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1039

PostPosted: Sun Jul 14, 2019 10:56 pm    Post subject: [solved] no graphical login with kernel >=5.2.0 Reply with quote

I built gentoo-sources 5.2.0 and 5.2.1 kernels (gentoo-sources) as usual, but gdm and sddm do not start, thus I get konsole login only. 5.1.16 boots fine though. Was there any change that can cause this? I checked that linux-firmware was emerged for amdgpu and doublechecked that kernel config was similar to 5.1.16.

emerge --info
Code:
Portage 2.3.66 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 5.1.16-gentoo x86_64)
=================================================================
System uname: Linux-5.1.16-gentoo-x86_64-AMD_Ryzen_5_1600_Six-Core_Processor-with-gentoo-2.6
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sun, 14 Jul 2019 21:30:01 +0000
Head commit of repository gentoo: f4a3b3f21bd2b70b2f700d3fad17b2f87232d3c8
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.29-r1::dantrell-gnome
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

dantrell-gnome-3-32
    location: /var/lib/layman/dantrell-gnome-3-32
    masters: gentoo
    priority: 100

test
    location: /usr/local/portage
    masters: gentoo
    priority: 100

dantrell-gnome
    location: /var/lib/layman/dantrell-gnome
    masters: gentoo
    priority: 150

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver1"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_CH.utf8"
LC_ALL="de_CH.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE el en fr fr_FR it tr"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi activities aes alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx d3d9 dbus declarative dri dri3 dts dvd dvdr eds egl elogind emboss encode evo exif fam ffmpeg flac fma3 fortran frei0r gdbm gif glamor gnome gnome-keyring gnome-online-accounts gnutls gpm gtk gtk3 gtkstyle iconv icu introspection ios jpeg kde kipi kwallet lcms ldap libinput libnotify libsecret libtirpc llvm lm_sensors mad mmx mmxext mng mp3 mp4 mpeg mtp multilib nautilus ncurses nls nptl ocr ogg openal opencl opengl openmax openmp osmesa pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 rdp readline realtime s3tc scanner sdl seccomp semantic-desktop spell spice sse sse2 sse3 sse4_1 sse4_2 sse4a ssh ssl ssse3 staging startup-notification svg tcpd theora tiff tracker truetype udev udisks unicode upower usb vaapi vdpau vhost-net vkd3d vnc vorbis vpx vulkan wayland webrtc-aec widgets wxwidgets x264 xa xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 smp sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de el en fr it tr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by Elleni on Mon Jul 15, 2019 8:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 14, 2019 10:59 pm    Post subject: Reply with quote

Elleni,

Put both /var/log/Xorg.0.log and dmesg onte two pastebins.

Thin will show what the kernel did at boot and what Xorg did when it tried to start.
_________________
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
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1039

PostPosted: Sun Jul 14, 2019 11:06 pm    Post subject: Reply with quote

Come from rebooting to do this and provide needed files :)

dmesg

Xorg.0.log

And this is Xorg.0.log with kernel 5.1.16 booted
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 702
Location: tra veneto e friuli (italy)

PostPosted: Mon Jul 15, 2019 8:58 am    Post subject: Reply with quote

Elleni wrote:
Come from rebooting to do this and provide needed files :)

dmesg

I can't see any "amdgpu" driver, you can check with:
Code:
dmesg | grep amdgpu


And maybe you can check your kernel configuration with:
Code:
zgrep -E "KMS|DRM_AMDGPU" /proc/config.gz
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1039

PostPosted: Mon Jul 15, 2019 8:07 pm    Post subject: Reply with quote

After having seen, that I had a 5.2.1 kernel in /boot even when not having mounted /dev/sda1 I thought, that was it, I was probably booting wrong kernel, having create without emerging linux-firmware, so I went ahead and deleted that kernel, but when it still did not work, I carefully studied the kernel compile sequence, and guess what, I have seen, that there was missing make modules_install as I had copied this from my servers terminal, that has no modules.

Code:
mount /boot && emerge gentoo-sources && emerge linux-firmware && cd /usr/src/linux && make clean && make menuconfig && make -j13 && make install && emerge rtl8812au_aircrack-ng && grub-mkconfig -o /boot/grub/grub.cfg && umount /boot

:oops:

Recompiling after having done make clean & make mrproper, did the trick.

Feeling emarassed :oops:

By the way, how can I increase the history of bash? Having done some other things, CTRL+R did not show the above sequence anymore.

Thanks for looking into it!


Last edited by Elleni on Mon Jul 15, 2019 8:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jul 15, 2019 8:13 pm    Post subject: Reply with quote

Elleni,

Its a learning experience. We all have them.
_________________
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
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1039

PostPosted: Mon Jul 15, 2019 8:23 pm    Post subject: Reply with quote

True Neddy, but still embarrassing :D

For increasing bash history I created

/etc/env.d/99local with
Code:
HISTSIZE=100000
HISTFILESIZE=100000


will that work, or has it to be ?
Code:
export HISTSIZE=100000
export HISTFILESIZE=100000
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jul 15, 2019 8:34 pm    Post subject: Reply with quote

Elleni,

Experiment with
Code:
echo $HISTSIZE
and
Code:
echo $HISTFILESIZE

You should be able to work out the difference, if there is one. :)
_________________
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
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3345
Location: Gainesville, Florida

PostPosted: Sun Jul 28, 2019 5:10 pm    Post subject: Reply with quote

Hmmm, my original without a 99local file was:
Code:
amd64 /usr/src # echo $HISTSIZE
500

I then created the //etc/env.d/99local file and tried both types of the entries Elleni proposed, but still get:
Code:
amd64 /usr/src #
amd64 /usr/src #
amd64 /usr/src # echo $HISTFILESIZE
500
amd64 /usr/src # echo $HISTSIZE
500

amd64 /usr/src # env-update
>>> Regenerating /etc/ld.so.cache...
amd64 /usr/src # echo $HISTSIZE
500
amd64 /usr/src # echo $HISTFILESIZE
500
amd64 /usr/src # env-update
>>> Regenerating /etc/ld.so.cache...
amd64 /usr/src # echo $HISTSIZE
500
amd64 /usr/src # echo $HISTFILESIZE
500

If I do export HISTSIZE=100000 on the command line it seems to work:
Code:
amd64 /usr/src # export HISTSIZE=100000
amd64 /usr/src # echo $HISTSIZE
100000

It appears the 99local file is having no effect. What am I missing?
I'd sure like to increase the default bash history to more than the apparent default of 500 without having to remember to export HISTSIZE=100000 every time.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.30-r6, gcc-9.3.0 kernel-5.5.11-gentoo USE=experimental
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1039

PostPosted: Mon Jul 29, 2019 10:55 pm    Post subject: Reply with quote

I am experiencing the same as you do but did not have the time to look at it yet, so I have no solution yet :twisted:
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4399
Location: Dallas area

PostPosted: Mon Jul 29, 2019 11:18 pm    Post subject: Reply with quote

wrc1944 wrote:
I'd sure like to increase the default bash history to more than the apparent default of 500 without having to remember to export HISTSIZE=100000 every time.


I set mine in ~/.bash_profile

export HISTSIZE=999
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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