Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
services don't start - switch Intel to AMD [solved-mostly]
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
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 238
Location: Arkansas

PostPosted: Mon May 11, 2020 9:25 pm    Post subject: services don't start - switch Intel to AMD [solved-mostly] Reply with quote

I have an existing system that was running core 2. I did manage to boot from an install usb and re-emerged the entire world (1700 packages). The thing still won't boot. The kernel on the USB is the exact same rev as the one installed on my system (4.14.83). It boots up fine on the USB and runs well once I chroot in. Example: was able to emerge the entire world.

When booting, the last thing I see is "Starting mysql". I can ping it, but I can't seem to access any network related services (ssh, others).

Can anyone think of something that I just need to reconfigure that will get me booting again, or do I just need to...

Well, I almost got done typing this, but mysql apparently timed out and the system somewhat finished booting up. I was able to ssh in. Perhaps things will work better if I re-emerge from the bootup of the real system rather than from the install system?

emerge --info
Code:
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.29-r7, 4.14.83-gentoo x86_64)
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-AMD_Ryzen_5_1600_Six-Core_Processor-with-gentoo-2.6
KiB Mem:    16357488 total,  13528372 free
KiB Swap:    8191996 total,   8191996 free
Timestamp of repository gentoo: Sun, 19 Apr 2020 14:15:01 +0000
Head commit of repository gentoo: 7dcd8defa8e19e4aee76d7254d07ec9b4e49a79a
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
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.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --nospinner"
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 -march=znver1"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict 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="-O2 -pipe -march=znver1"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo/ rsync://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j11"
PKGDIR="/media/Multimedia/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 alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups curl dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gif gpm graphicsmagick gtk iconv icu ipv6 jpeg kde kipi kwallet lcms libnotify libtirpc lm_sensors mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp openrc-force pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="pctv" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="kodak avision" USERLAND="GNU" VIDEO_CARDS="nvidia v4l2" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


EDIT: Currently doing "emerge -e @system" (456 packages)
_________________
Greg


Last edited by trigggl on Sat May 16, 2020 5:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
roccobaroccoSC
n00b
n00b


Joined: 15 May 2020
Posts: 4

PostPosted: Fri May 15, 2020 7:55 pm    Post subject: Re: services don't start - switch from Intel to AMD Reply with quote

Do you have some kind of optimization specific to the Intel procesor? For example in your make.conf CFLAGS="-march=..."
When you change the processor, you need to recompile your kernel and all the packages for the new CPU architecture. First start from a USB live CD and chroot, then recompile the kernel and all packages, then you can boot into Gentoo with your AMD.
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 238
Location: Arkansas

PostPosted: Sat May 16, 2020 3:15 pm    Post subject: Re: services don't start - switch from Intel to AMD Reply with quote

roccobaroccoSC wrote:
Do you have some kind of optimization specific to the Intel procesor? For example in your make.conf CFLAGS="-march=..."
When you change the processor, you need to recompile your kernel and all the packages for the new CPU architecture. First start from a USB live CD and chroot, then recompile the kernel and all packages, then you can boot into Gentoo with your AMD.

Thanks for the response.

Yes, I did all of that. Unfortunately, I ran into one problem at the same time that another problem showed up. sddm doesn't like the latest upgrades on any of my computers (all two of them). I had to install gdm on both to get their gui's running. It's hard to solve one problem when another is in the way.

I found the wiki page for the Ryzen processor. That helped. I was running an old kernel version so things will probably work better now that I've upgraded to a current one using the "experimental" USE flag.

Things are working pretty well now, though there are still some strange things going on. Why does a command work when run from one folder but not from the home folder? I mean, the program opens, but can't connect to the intended server (boincmgr). When I type in the command from /home it works. When I type it from /home/user it doesn't. So, my gui buttons can't get me there. I have to open a terminal and change directory. Why would the starting directory affect the connectivity? At least I know how to get there even if I can't "get there from here" (1st time that saying has made sense to me).

I have been using MATE since switching to gdm. I wonder if some of my problems will go away if I switch back to Plasma. Maybe Plasma has some things locked up somehow.
_________________
Greg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat May 16, 2020 4:40 pm    Post subject: Reply with quote

trigggl,

Edit /etc/rc.conf and uncomment #rc_interactive="YES".

Reboot and press the I key early in boot. - Don't wait for the message.
Now you will be prompted as each service is started. skip mysql, get to the login screen and poke about.

mysql may not be the problem, so it may take several goes.
_________________
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
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 238
Location: Arkansas

PostPosted: Sat May 16, 2020 5:12 pm    Post subject: Reply with quote

NeddySeagoon wrote:
trigggl,

Edit /etc/rc.conf and uncomment #rc_interactive="YES".

Reboot and press the I key early in boot. - Don't wait for the message.
Now you will be prompted as each service is started. skip mysql, get to the login screen and poke about.

mysql may not be the problem, so it may take several goes.

I got tired of fighting with mysql and I don't seem to need it. I pulled it out of the runlevel and everything else daemon related seems to be working fine. I'll keep this advice in mind for the future, though. I probably do need to look into it at some point.

My boinc problem seems to have something to do with how my home folder is set up. It was trying to use my /home/user folder for the program rather than the boinc folder /var/lib/boinc. boincmgr seems to work everywhere but /home/user (even /home/user/folder).

I guess I can mark this thread as solved (though the mysql thing didn't get fixed).
_________________
Greg
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 238
Location: Arkansas

PostPosted: Sat May 16, 2020 5:25 pm    Post subject: Re: services don't start - switch from Intel to AMD Reply with quote

trigggl wrote:
I have been using MATE since switching to gdm. I wonder if some of my problems will go away if I switch back to Plasma. Maybe Plasma has some things locked up somehow.

Logged into Plasma and boincmgr works like it's supposed to.
_________________
Greg
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