[gentoo-user] x11-terms/xterm loops error upon launch
On 5/10/21 9:28 PM, Vitor Hugo Nunes dos Santos wrote: > On 5/9/21 9:08 PM, Vitor Hugo Nunes dos Santos wrote: >> >> Hi all, >> >> I just recently setup a new desktop with Gentoo. >> >> After the install and configuration of Xorg, I decided to 'startx' >> and open xterm in fvwm. >> >> Upon pressing the button to launch it, nothing came up. When closing >> fvwm, I saw the following message being printed ad nauseam to the screen: >> >> open ttydev: I/O error >> >> Online searches led me to inconclusive info on what could be the >> cause and fix for the issue. >> >> I'd be glad to provide info as required. >> >> Best regards, >> >> vhns > > Hi all, > > > I've decided to try another terminal emulator, in order to figure out > whether this was an xterm issue, an issue with my setup, or an issue > with fvwm. > > Launching (or trying to, rather) x11-terms/st, gives me the following > error in dmesg: > > [May10 21:17] traps: st[5846] general protection fault ip:7f92d0babff6 > sp:7fffa63836a8 error:0 in libc.so[7f92d0b97000+63000] > > I am not sure of what may be causing this, or how to fix it. Here > follows my emerge --info: > > Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/musl, > gcc-10.2.0, musl-1.2.2-r2, 5.10.27-gentoovhns-desktop-iommu-r3 x86_64) > = > System uname: > Linux-5.10.27-gentoovhns-desktop-iommu-r3-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-libc > KiB Mem: 16316940 total, 15565188 free > KiB Swap: 0 total, 0 free > Timestamp of repository gentoo: Sun, 09 May 2021 01:00:01 + > Head commit of repository gentoo: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5 > Head commit of repository KKona: d3d3554162168f6d994d2d8b7b239bcac56072cf > > Timestamp of repository musl: Sat, 08 May 2021 23:20:00 + > Head commit of repository musl: 151175d3c2ebf6413a0711a4bf983b838753c25c > > sh bash 5.0_p18 > ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 > app-shells/bash: 5.0_p18::gentoo > dev-lang/perl: 5.30.3::gentoo > dev-lang/python: 3.8.9_p2::gentoo, 3.9.4_p1::gentoo > dev-util/cmake: 3.18.5::gentoo > sys-apps/baselayout: 2.7::gentoo > sys-apps/openrc: 0.42.1-r1::gentoo > sys-apps/sandbox: 2.22::gentoo > sys-devel/autoconf: 2.69-r5::gentoo > sys-devel/automake: 1.16.2-r1::gentoo > sys-devel/binutils: 2.35.2::gentoo > sys-devel/gcc: 10.2.0-r5::gentoo > sys-devel/gcc-config: 2.4::gentoo > sys-devel/libtool: 2.4.6-r6::gentoo > sys-devel/make: 4.3::gentoo > sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) > sys-libs/musl: 1.2.2-r2::gentoo > Repositories: > > gentoo > location: /var/db/repos/gentoo > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > > KKona > location: /var/db/repos/KKona > sync-type: git > sync-uri: git://github.com/absurdsec/gentoo-overlay.git > masters: gentoo > > musl > location: /var/db/repos/musl > sync-type: git > sync-uri: https://github.com/gentoo-mirror/musl.git > masters: gentoo > > vhns > location: /var/db/repos/vhns > masters: gentoo > > ACCEPT_KEYWORDS="amd64" > ACCEPT_LICENSE="*" > CBUILD="x86_64-gentoo-linux-musl" > CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" > CHOST="x86_64-gentoo-linux-musl" > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release > /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" > CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" > DISTDIR="/var/cache/distfiles" > ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" > FCFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" > FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs > config-protect-if-modified distlocks ebuild-locks fixlafiles > ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox > 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=native -fomit-frame-pointer -O2 -pipe" > GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/; > INSTALL_MASK="charset.alias locale.alias" > LANG="C.UTF8" > LDFLAGS="-Wl,-O1 -Wl,--as-needed" > MAKEOPTS="-j8" > 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 >
Re: [gentoo-user] x11-terms/xterm loops error upon launch
I see lots of references to "musl", which I assume you're using. I wonder if there's an incompatability somewhere there. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] x11-terms/xterm loops error upon launch
On 5/9/21 9:08 PM, Vitor Hugo Nunes dos Santos wrote: > > Hi all, > > I just recently setup a new desktop with Gentoo. > > After the install and configuration of Xorg, I decided to 'startx' and > open xterm in fvwm. > > Upon pressing the button to launch it, nothing came up. When closing > fvwm, I saw the following message being printed ad nauseam to the screen: > > open ttydev: I/O error > > Online searches led me to inconclusive info on what could be the cause > and fix for the issue. > > I'd be glad to provide info as required. > > Best regards, > > vhns Hi all, I've decided to try another terminal emulator, in order to figure out whether this was an xterm issue, an issue with my setup, or an issue with fvwm. Launching (or trying to, rather) x11-terms/st, gives me the following error in dmesg: [May10 21:17] traps: st[5846] general protection fault ip:7f92d0babff6 sp:7fffa63836a8 error:0 in libc.so[7f92d0b97000+63000] I am not sure of what may be causing this, or how to fix it. Here follows my emerge --info: Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/musl, gcc-10.2.0, musl-1.2.2-r2, 5.10.27-gentoovhns-desktop-iommu-r3 x86_64) = System uname: Linux-5.10.27-gentoovhns-desktop-iommu-r3-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-libc KiB Mem: 16316940 total, 15565188 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 09 May 2021 01:00:01 + Head commit of repository gentoo: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5 Head commit of repository KKona: d3d3554162168f6d994d2d8b7b239bcac56072cf Timestamp of repository musl: Sat, 08 May 2021 23:20:00 + Head commit of repository musl: 151175d3c2ebf6413a0711a4bf983b838753c25c sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 3.8.9_p2::gentoo, 3.9.4_p1::gentoo dev-util/cmake: 3.18.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.22::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/musl: 1.2.2-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes KKona location: /var/db/repos/KKona sync-type: git sync-uri: git://github.com/absurdsec/gentoo-overlay.git masters: gentoo musl location: /var/db/repos/musl sync-type: git sync-uri: https://github.com/gentoo-mirror/musl.git masters: gentoo vhns location: /var/db/repos/vhns masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox 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=native -fomit-frame-pointer -O2 -pipe" GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/; INSTALL_MASK="charset.alias locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" 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" USE="X acl amd64 bzip2 cli crypt dri elogind iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451
Re: [gentoo-user] x11-terms/xterm loops error upon launch
Vitor, On Sunday, 2021-05-09 21:08:15 -0300, Vitor Hugo Nunes dos Santos wrote: > ... > After the install and configuration of Xorg, I decided to 'startx' and > open xterm in fvwm. > > Upon pressing the button to launch it, nothing came up. When closing > fvwm, I saw the following message being printed ad nauseam to the screen: > > open ttydev: I/O error No idea what's the cause, but I had success with a small script contain- ing: fvwm --replace & while sleep 1 && ! ps -efu rainer | grep FvwmIconMan | grep -qv grep do : done sleep 1 xterm -geometry 80x40+0+0 -xrm "*Page:0 0 0" & This script is in turn started upon login via Xfce's "Application Auto- start" tab of the "Settings -> Session and Startup" menu. If you don't start "FvwmIconMan" in your "~/.fvwm/config" file, replace it in the ab- ove "grep" command with a module you do start. Hope that helps. Sincerely, Rainer
[gentoo-user] x11-terms/xterm loops error upon launch
Hi all, I just recently setup a new desktop with Gentoo. After the install and configuration of Xorg, I decided to 'startx' and open xterm in fvwm. Upon pressing the button to launch it, nothing came up. When closing fvwm, I saw the following message being printed ad nauseam to the screen: open ttydev: I/O error Online searches led me to inconclusive info on what could be the cause and fix for the issue. I'd be glad to provide info as required. Best regards, vhns