Gentoo Archives: gentoo-user

From: Vitor Hugo Nunes dos Santos <vitorhugo@××××××.io>
To: gentoo-user@l.g.o
Subject: [gentoo-user] x11-terms/xterm loops error upon launch
Date: Sat, 15 May 2021 02:27:31
Message-Id: 0f61dd3f-d2a0-4618-72ca-fb5b7300012f@teknik.io
In Reply to: Re: [gentoo-user] x11-terms/xterm loops error upon launch by Vitor Hugo Nunes dos Santos
1 On 5/10/21 9:28 PM, Vitor Hugo Nunes dos Santos wrote:
2 > On 5/9/21 9:08 PM, Vitor Hugo Nunes dos Santos wrote:
3 >>
4 >> Hi all,
5 >>
6 >> I just recently setup a new desktop with Gentoo.
7 >>
8 >> After the install and configuration of Xorg, I decided to 'startx'
9 >> and open xterm in fvwm.
10 >>
11 >> Upon pressing the button to launch it, nothing came up. When closing
12 >> fvwm, I saw the following message being printed ad nauseam to the screen:
13 >>
14 >> open ttydev: I/O error
15 >>
16 >> Online searches led me to inconclusive info on what could be the
17 >> cause and fix for the issue.
18 >>
19 >> I'd be glad to provide info as required.
20 >>
21 >> Best regards,
22 >>
23 >> vhns
24 >
25 > Hi all,
26 >
27 >
28 > I've decided to try another terminal emulator, in order to figure out
29 > whether this was an xterm issue, an issue with my setup, or an issue
30 > with fvwm.
31 >
32 > Launching (or trying to, rather) x11-terms/st, gives me the following
33 > error in dmesg:
34 >
35 > [May10 21:17] traps: st[5846] general protection fault ip:7f92d0babff6
36 > sp:7fffa63836a8 error:0 in libc.so[7f92d0b97000+63000]
37 >
38 > I am not sure of what may be causing this, or how to fix it. Here
39 > follows my emerge --info:
40 >
41 > Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/musl,
42 > gcc-10.2.0, musl-1.2.2-r2, 5.10.27-gentoovhns-desktop-iommu-r3 x86_64)
43 > =================================================================
44 > System uname:
45 > Linux-5.10.27-gentoovhns-desktop-iommu-r3-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-libc
46 > KiB Mem:    16316940 total,  15565188 free
47 > KiB Swap:          0 total,         0 free
48 > Timestamp of repository gentoo: Sun, 09 May 2021 01:00:01 +0000
49 > Head commit of repository gentoo: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5
50 > Head commit of repository KKona: d3d3554162168f6d994d2d8b7b239bcac56072cf
51 >
52 > Timestamp of repository musl: Sat, 08 May 2021 23:20:00 +0000
53 > Head commit of repository musl: 151175d3c2ebf6413a0711a4bf983b838753c25c
54 >
55 > sh bash 5.0_p18
56 > ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
57 > app-shells/bash:          5.0_p18::gentoo
58 > dev-lang/perl:            5.30.3::gentoo
59 > dev-lang/python:          3.8.9_p2::gentoo, 3.9.4_p1::gentoo
60 > dev-util/cmake:           3.18.5::gentoo
61 > sys-apps/baselayout:      2.7::gentoo
62 > sys-apps/openrc:          0.42.1-r1::gentoo
63 > sys-apps/sandbox:         2.22::gentoo
64 > sys-devel/autoconf:       2.69-r5::gentoo
65 > sys-devel/automake:       1.16.2-r1::gentoo
66 > sys-devel/binutils:       2.35.2::gentoo
67 > sys-devel/gcc:            10.2.0-r5::gentoo
68 > sys-devel/gcc-config:     2.4::gentoo
69 > sys-devel/libtool:        2.4.6-r6::gentoo
70 > sys-devel/make:           4.3::gentoo
71 > sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
72 > sys-libs/musl:            1.2.2-r2::gentoo
73 > Repositories:
74 >
75 > gentoo
76 >     location: /var/db/repos/gentoo
77 >     sync-type: rsync
78 >     sync-uri: rsync://rsync.gentoo.org/gentoo-portage
79 >     priority: -1000
80 >     sync-rsync-verify-max-age: 24
81 >     sync-rsync-extra-opts:
82 >     sync-rsync-verify-jobs: 1
83 >     sync-rsync-verify-metamanifest: yes
84 >
85 > KKona
86 >     location: /var/db/repos/KKona
87 >     sync-type: git
88 >     sync-uri: git://github.com/absurdsec/gentoo-overlay.git
89 >     masters: gentoo
90 >
91 > musl
92 >     location: /var/db/repos/musl
93 >     sync-type: git
94 >     sync-uri: https://github.com/gentoo-mirror/musl.git
95 >     masters: gentoo
96 >
97 > vhns
98 >     location: /var/db/repos/vhns
99 >     masters: gentoo
100 >
101 > ACCEPT_KEYWORDS="amd64"
102 > ACCEPT_LICENSE="*"
103 > CBUILD="x86_64-gentoo-linux-musl"
104 > CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
105 > CHOST="x86_64-gentoo-linux-musl"
106 > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
107 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
108 > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
109 > /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
110 > CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
111 > DISTDIR="/var/cache/distfiles"
112 > ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH
113 > PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT
114 > XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
115 > FCFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
116 > FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
117 > config-protect-if-modified distlocks ebuild-locks fixlafiles
118 > ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox
119 > preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
120 > strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
121 > userpriv usersandbox usersync xattr"
122 > FFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
123 > GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/"
124 > INSTALL_MASK="charset.alias locale.alias"
125 > LANG="C.UTF8"
126 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
127 > MAKEOPTS="-j8"
128 > PKGDIR="/var/cache/binpkgs"
129 > PORTAGE_CONFIGROOT="/"
130 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
131 > --omit-dir-times --compress --force --whole-file --delete --stats
132 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
133 > --exclude=/packages --exclude=/.git"
134 > PORTAGE_TMPDIR="/var/tmp"
135 > USE="X acl amd64 bzip2 cli crypt dri elogind iconv ipv6 libglvnd
136 > libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr
137 > ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
138 > ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
139 > emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
140 > intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
141 > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions
142 > alias auth_basic authn_alias authn_anon authn_dbm authn_default
143 > authn_file authz_dbm authz_default authz_groupfile authz_host
144 > authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
145 > deflate dir disk_cache env expires ext_filter file_cache filter
146 > headers include info log_config logio mem_cache mime mime_magic
147 > negotiation rewrite setenvif speling status unique_id userdir
148 > usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words"
149 > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
150 > CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand
151 > sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="musl"
152 > GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
153 > gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver
154 > oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing
155 > tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux"
156 > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
157 > ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
158 > presenter-minimizer" LLVM_TARGETS="X86 AMDGPU"
159 > LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1"
160 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4"
161 > POSTGRES_TARGETS="postgres10 postgres11"
162 > PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8"
163 > RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi
164 > radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
165 > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal
166 > rawnat logmark ipmark dhcpmac delude chaos account"
167 > Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL,
168 > LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
169 > PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
170 >
171 > I will continue with my attempts on fixing this. If I do find a fix,
172 > I'll be sure to post. If anyone has any tips, I'd be more than thankful.
173 >
174 > Best regards,
175 >
176 > vhns
177 >
178 Ok, the "segfault" errors were due to a faulty stick. Now replaced. I
179 rebuilt every package in the system. I no longer get segfaults. But I
180 still get the same message in xterm and st throws no errors but just
181 like xterm it doesn't open.