[gentoo-user] Xen Kernel Reboots DomU Fails xseries 346
Hello Everyone, Just installed new version of xen on latest gentoo on an IBM xseries 346 (older machine), and it keeps rebooting when trying to load the xen kernel. I really don't know how to debug this and would really appreciate your help. Kind Regards, Mike.
Re: [gentoo-user] mount: Permission Denied in CHROOT
Hello Everyone, I did try that as well however when I do a grub install I am getting: grub-install /dev/sda Installing for i386-pc platform. grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2. grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2. grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2. grub-install: error: disk `hostdisk//dev/sda2' not found. /boot ls -la lists: -rw-r--r-- 1 root root 106617 Aug 22 20:51 config-4.9.34-gentoo drwxr-xr-x 6 root root1024 Aug 22 20:52 grub -rw-r--r-- 1 root root 3609869 Aug 22 20:51 System.map-4.9.34-gentoo -rw-r--r-- 1 root root 6852592 Aug 22 20:51 vmlinuz-4.9.34-gentoo I am really not sure why we are getting the error. I can write to the partition just fine as you can see. Kind Regards, Mike
[gentoo-user] mount: Permission Denied in CHROOT
Hello Everyone, New installation on an older x346 system that has a HW raid serveraid7k. I have the appropriate kernel driver compiled `aic79xx`. lscpi: 00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 0c) 00:00.1 Unassigned class [ff00]: Intel Corporation E7525/E7520 Error Reporting Registers (rev 0c) 00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev 0c) 00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B (rev 0c) 00:05.0 PCI bridge: Intel Corporation E7520 PCI Express Port B1 (rev 0c) 00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c) 00:08.0 System peripheral: Intel Corporation E7525/E7520/E7320 Extended Configuration Registers (rev 0c) 00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 01:06.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV100 [Radeon 7000 / Radeon VE] 02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09) 02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09) 03:03.0 Network controller: MYRICOM Inc. Myrinet 2000 Scalable Cluster Interconnect (rev 06) 05:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11) 06:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11) 07:00.0 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor (A-Segment Bridge) (rev 07) 07:00.2 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor (B-Segment Bridge) (rev 07) 08:0e.0 RAID bus controller: Adaptec ServeRAID Controller (rev 07) emerge --info Portage 2.3.6 (python 3.4.5-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.23-r4, 4.8.17-hardened-r2 x86_64) = System uname: Linux-4.8.17-hardened-r2-x86_64-Intel-R-_Xeon-TM-_CPU_3.60GHz-with-gentoo-2.3 KiB Mem: 8061620 total, 6539044 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 07 Aug 2017 15:30:01 + sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28 p1.2) 2.28 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl:5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.15-r2::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc:5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool:2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/; LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 justify modules multilib ncurses nls nptl openmp pam pax_kernel pcre pie
Re: [gentoo-user] Illegal State in Chroot Environment
On Sun, Aug 6, 2017 at 11:58 PM, P Levine <plevine...@gmail.com> wrote: > > > On Sun, Aug 6, 2017 at 9:17 PM, symack <sym...@gmail.com> wrote: >> >> >>> Installing (4 of 199) app-arch/bzip2-1.0.6-r8::gentoo >> bash: line 1: 26183 Illegal instruction >> ${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND} >> -d} -c -- /var/db/pkg/app-arch/bzip2-1.0.6-r8/environment.bz2 > >> /var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/environment >> >> > CFLAGS="-O2 -pipe -fomit-frame-pointer -mcx16 -msahf -maes >> >> -mpclmul -mpopcnt -mabm -mlwp -mavx -march=native" >> >> One or more "-m" flags in CFLAGS isn't valid for the host processor. > Why have them in the first place if you've enabled -march=native? > Hello, Thank you for your response. I have changed the CFLAGS to look like the following: CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native" Anything I do within chroot is returning `Illegal State` and made the change from the livecd environment. Currently I am rebuilding the whole system using `emerge -e world` and everything is failing as early as the unpack phase. Do I have to download stage from the beginning for the 3rd time! Any help to recover this instance is greatly appreciated.
[gentoo-user] Illegal State in Chroot Environment
Hello Everyone, I was able to get as far as installing grub however through the installation I would find some strange behaviour such as not being able to mount /dev/sda2 to the boot directory. I would do it on the livecd (ie, mount /dev/sda2 /mnt/gentoo/boot). When it came to installing `grub grub-install /dev/sda` I got an 'Illegal State'. emerge -e world would fail with: >>> Installing (4 of 199) app-arch/bzip2-1.0.6-r8::gentoo bash: line 1: 26183 Illegal instruction ${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND} -d} -c -- /var/db/pkg/app-arch/bzip2-1.0.6-r8/environment.bz2 > /var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/environment !!! FAILED prerm: 132 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed (postrm phase): * eutils.eclass could not be found by inherit() * * Call stack: * ebuild.sh, line 611: Called source '/var/db/pkg/app-arch/bzip2-1.0.6-r8/bzip2-1.0.6-r8.ebuild' * bzip2-1.0.6-r8.ebuild, line 9: Called inherit 'eutils' 'toolchain-funcs' 'multilib' 'multilib-minimal' * ebuild.sh, line 284: Called die * The specific snippet of code: * [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()" * * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r8::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r8::gentoo'`. * The complete build log is located at '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/die.env'. * Working directory: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/homedir' * S: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/work/bzip2-1.0.6' * QA Notice: ECLASS 'eutils' inherited illegally in app-arch/bzip2-1.0.6-r8 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed: * eutils.eclass could not be found by inherit() * * Call stack: * misc-functions.sh, line 17: Called source '/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/ebuild.sh' * ebuild.sh, line 611: Called source '/var/db/pkg/app-arch/bzip2-1.0.6-r8/bzip2-1.0.6-r8.ebuild' * bzip2-1.0.6-r8.ebuild, line 9: Called inherit 'eutils' 'toolchain-funcs' 'multilib' 'multilib-minimal' * ebuild.sh, line 284: Called die * The specific snippet of code: * [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()" * * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r8::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r8::gentoo'`. * The complete build log is located at '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/die.env'. * Working directory: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/homedir' * S: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/work/bzip2-1.0.6' !!! FAILED postrm: 1 * The 'postrm' phase of the 'app-arch/bzip2-1.0.6-r8' package has failed * with exit value 1. * * The problem occurred while executing the ebuild file named * 'bzip2-1.0.6-r8.ebuild' located in the '/var/db/pkg/app- * arch/bzip2-1.0.6-r8' directory. If necessary, manually remove the * environment.bz2 file and/or the ebuild file located in that directory. * * Removal of the environment.bz2 file is preferred since it may allow the * removal phases to execute successfully. The ebuild will be sourced and * the eclasses from the current portage tree will be used when necessary. * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm() * removal phases to be skipped entirely. Traceback (most recent call last): File "/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/filter-bash-environment.py", line 157, in re.compile(var_pattern), file_in, file_out) File "/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/filter-bash-environment.py", line 81, in filter_bash_environment file_out.write(line.replace("\1", "")) BrokenPipeError: [Errno 32] Broken pipe * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed (postinst phase): * filter-bash-environment.py failed * * Call stack: *ebuild.sh, line 767: Called __ebuild_main 'postinst' * phase-functions.sh, line 949: Called __filter_readonly_variables '--filter-path' '--filter-sandbox' '--allow-extra-vars' * phase-functions.sh, line 137: Called die * The specific snippet of code: * "${PORTAGE_PYTHON:-/usr/bin/python}" "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || die "filter-bash-environment.py failed" * * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r8::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r8::gentoo'`. * The complete build log is located at
[gentoo-user] Re: Updating an old version of Gentoo
There must be an easy way to do this. Something like download the latest portage and source package. Untar on live system and rebuild! That would be so amazing if possible.
[gentoo-user] Re: Updating an old version of Gentoo
When I try to emerge portage I get: All ebuilds that could satisfy ">=app-portage/elt-patches-20170317" have been masked. emerge --info !!! SYNC setting found in make.conf. This setting is Deprecated and no longer used. Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo x86_64) = System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Xeon-TM-_CPU_3.60GHz-with-gentoo-2.2 KiB Mem: 8176220 total, 4596664 free KiB Swap:2097148 total, 2097148 free Timestamp of repository gentoo: Thu, 27 Jul 2017 13:00:01 + sh bash 4.3_p39 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p39::gentoo dev-lang/perl:5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc:4.8.5::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool:2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/; LANG="en_US" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 app-emulation/xen-4.3.3-r3 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
[gentoo-user] Updating an old version of Gentoo
Hello Everyone, I usually dive right into these things however I do not have a lot of experience with Gentoo and currently facing this task. Is there a safe and conservative way to upgrade this live system minimizing downtime as much as possible. Your help is greatly appreciated. Kind Regards, Nick.
[gentoo-user] idmapd nfs4 and ldap pleasantries :)
Hello Everybody! So decided to adopt nfs4 + rpc + ldap since most of the posts regarding bugs I have seen range between 2012-2015, so silly me, safe to come out right? wrong. Cient ldap user: # id user1 uid=1004(user1) gid=1005(user1) groups=27(sudo),1005(user1) Server ldap user: # id user1 uid=1004(user1) gid=1005(user1) groups=27(sudo),1005(user1) As you can see `nslcd and nscd` are doing their job on the client side. I can log in, mount etc.. all fine. Except the infamous `everything has permission nobody nogroup` A few notes: * The `Domain` attribute is set to the same host in idmapd.conf for both client and server * If I set Nobody-User = user1 Nobody-Group = user1 everything works as expected but this was just a test. * If I try to adduser user1 on the client I get an error as expected... User exists therefore, users and groups are sync'ed as per ldap and nss... Question Can rpc.idmap translate ldap users over nsswitch? When I try to use `umich_ldap` as the translator idmapd does not start with `umich_ldap` does not exist... How can I fix this please? :) Kind Regards, M
Re: [gentoo-user] xen on new install reboots by itself
Yes please! grub2 cfg. Nick.
Re: [gentoo-user] xen on new install reboots by itself
Hello Joost, We are running Grub2. Bellow is my grub.cfg for Xen menuentry 'Gentoo GNU/Linux, with Xen hypervisor' --class gentoo --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-43fa46d6-a602-4281-9493-66faec5c096f' { insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 66cdce01-cc3f-45ad-bea3-a64dff6db724 else search --no-floppy --fs-uuid --set=root 66cdce01-cc3f-45ad-bea3-a64dff6db724 fi echo'Loading Xen xen ...' if [ $grub_platform = pc -o $grub_platform = ]; then xen_rm_opts= else xen_rm_opts=no-real-mode edd=off fi multiboot /xen.gz placeholder ${xen_rm_opts} echo'Loading Linux 3.17.7-gentoo ...' module /vmlinuz-3.17.7-gentoo placeholder root=/dev/sda3 ro rootwait This is starting to hurt N.
Re: [gentoo-user] xen on new install reboots by itself
Hello Everyone, Sorry for the delayed response. Flased the bios to the latest version 1.1.7 dated 2007. Bellow is xen kernel built features: CONFIG_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=500 CONFIG_XEN_SAVE_RESTORE=y # CONFIG_XEN_DEBUG_FS is not set # CONFIG_XEN_PVH is not set CONFIG_PCI_XEN=y CONFIG_XEN_PCIDEV_FRONTEND=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_BLKDEV_BACKEND=y CONFIG_XEN_NETDEV_FRONTEND=y CONFIG_XEN_NETDEV_BACKEND=y CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y CONFIG_HVC_XEN=y CONFIG_HVC_XEN_FRONTEND=y # CONFIG_XEN_WDT is not set CONFIG_XEN_FBDEV_FRONTEND=y # Xen driver support CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=y CONFIG_XEN_BACKEND=y CONFIG_XENFS=y CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=y CONFIG_XEN_GRANT_DEV_ALLOC=y CONFIG_SWIOTLB_XEN=y CONFIG_XEN_PCIDEV_BACKEND=y CONFIG_XEN_PRIVCMD=y CONFIG_XEN_ACPI_PROCESSOR=y # CONFIG_XEN_MCE_LOG is not set CONFIG_XEN_HAVE_PVMMU=y The machine is still rebooting when booting in the Xen built kernel. I know these machines have a thing called VRM (Voltage Regulator Module). This module is needed for dual cpu configurations. The machine has only on CPU and so no VRM. I read somewhere there was a issue with VRM equipped machine. Your help is greatly appreciate as I am stumped over this. Nick.
Re: [gentoo-user] xen on new install reboots by itself
Hello Hydra, I'm totally new to Xen and was following this tutorial very compressed tutorial https://wiki.gentoo.org/wiki/Xen I purchased the machine as the test machine to see how stable/secure I can get Xen doms to run on it. Should I change the profile and reinstall xen/xen-tools N
Re: [gentoo-user] xen on new install reboots by itself
Hello Hydra, Thank you so much. I was literally about to use the default profile and reinstall the same versions. If I need to go back in time, which version is considered Stable and not too old for xen and xen-tools. Finally, as I am new to gentoo, can you please tell me how to emerge an older xen version. Thanks for Everything! Nick
Re: [gentoo-user] xen on new install reboots by itself
Hello Hydra, Thank you for your response: The commands are bellow. Also, the Bios is almost 10 years old on the machine. Not sure if that info helps for the ACPI related messages. USE=app-emulation/xen-tools-4.3.1-r1 api hvm qenu screen -custom-cflags -debug -doc -flask -xend USE=app-emulation/xen-4.3.3-r3 -custom-cflags -debug -flask -pae -xsm Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64) = System uname: Linux-3.17.7-gentoo-x86_64-Intel-R-_Xeon-TM-_CPU_3.80GHz-with-gentoo-2.2 KiB Mem: 8177312 total, 8051276 free KiB Swap:2097148 total, 2097148 free Timestamp of tree: Thu, 15 Jan 2015 17:45:01 + ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-lang/perl:5.18.2-r2 dev-lang/python: 2.7.9-r1, 3.3.5-r1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc:4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool:2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -@EULA CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-O2 -pipe DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr FFLAGS=-O2 -pipe GENTOO_MIRRORS=http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/; LANG=en_US LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j2 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 PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC=rsync://rsync4.ca.gentoo.org/gentoo-portage USE=acl amd64 app-emulation/xen-4.3.3-r3 berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 justify mmx modules ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode urandom xattr xtpax zlib ABI_X86=64 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=kexi words flow plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_3 RUBY_TARGETS=ruby19 ruby20 USERLAND=GNU VIDEO_CARDS=fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Kind Regards, Nick.
[gentoo-user] xen on new install reboots by itself
Hello Everyone, New install, on a old server with raid 10 scsi... The normal installation works fine, the only thing is when we try to boot with xen, it gets to the prompt and then reboots by itself. The following message is what differs between normal gentoo and xen kernel Mar 31 06:32:18 test kernel: [0.138644] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140724/hwxface-580) Mar 31 06:32:18 test kernel: [0.138961] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140724/hwxface-580) Mar 31 06:32:18 test kernel: [0.139267] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20140724/hwxface-580) I'm never sure how to debug such errors. Some googling suggested adding ACPI flags (ie, force, on, off), when I do that, the system just reboots without getting to the login prompt. The server is an X346 with hardward servraid 7K with raid 10. Your help is greatly appreciated. N.
Re: [gentoo-user] Re: Updating Gentoo
On Sat, Jan 31, 2015 at 4:38 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-01-30, Jc García jyo.gar...@gmail.com wrote: DON'T unmerge python, remember emerge runs on python, you will likely be unable to use the package manager if you do that. Been there, done that. :/ Wasted about a half-day recovering. -- Grant I'm no linux expert However, I sure spent a lot of time messing things up and found myself having to fix them ;). Linux users ARE smarter! Nick.
Re: [gentoo-user][SOLVED] Computer does not boot
It sounded like a grub - grub2 issue. After running grub-install you probably fixed a broken fs referece ie / /boot etc... Fresh gentoo installs with manual kernel builds always feel like a warm sweater that just came out of the drier. Ah so clean :) N.
Re: [gentoo-user] Ghost cyber threat
Hello Andrew, Thank you for your response. For example, Exim implements reverse lookup. How is malicious activity used against it? Do they need telnet or ssh access, or buy some freak of nature can exploit the vulnerability in other ways? N
Re: [gentoo-user] Updating Gentoo
Neil Thank you! Actually I have an issue where trying to emerge world. This is the following message: (dev-lang/python-exec-2.0.1:2/2::gentoo, installed) pulled in by dev-lang/python-exec:2[python_targets_jython2_5(-),python_targets_jython2_7(-),python_targets_python3_2(-),python_targets_python3_3(-),python_targets_python2_6(-),python_targets_python2_7(-),-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy2_0(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-)] required by (dev-python/python-exec-1.2:2/2::gentoo, installed) It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook Is it safe to uninstall python-exec? N.
Re: [gentoo-user] Ghost cyber threat
Just got the email in my box. Updating now
Re: [gentoo-user] Updating Gentoo
DON'T unmerge python, remember emerge runs on python, you will likely be unable to use the package manager if you do that I did this mistake a long long time ago... Been there dones that Good news: emerge -C dev-python/python-exec emerge dev-python/python-exec (fixed the issue) glibc updated (not vulnerable) python update revdep-rebuild, and restarted all the service everything seems ok. Not going to play around with no udev or grub2. My weekend starts now and refuse to get it off on the wrong foot! N.
[gentoo-user] Updating Gentoo
Hello Everyone, Last time I did this we experience 3 hour downtime, and it was not fun. I was blue in the face: [1] N 2010-08-01 (2010-08-01-as-needed-default - removed?) [2] N 2012-03-16 (2012-03-16-udev-181-unmasking - removed?) [3] N 2012-05-21 Portage config-protect-if-modified default [4] N 2012-09-09 (2012-09-09-make.conf-and-make.profile-move - removed?) [5] N 2012-11-06 PYTHON_TARGETS deployment [6] 2013-03-29 Upgrading udev to version =200 [7] 2013-06-07 Portage preserve-libs default [8] N 2013-06-30 Printer browsing in net-print/cups-1.6 [9] N 2013-08-23 Language of messages in emerge logs and output [10] N 2013-09-27 Separate /usr on Linux requires initramfs [11] N 2013-10-14 GRUB2 migration [12] N 2013-11-07 python-exec package move [13] N 2014-02-25 Upgrade to =sys-fs/udev-210 [14] N 2014-03-02 Profile EAPI 5 requirement [15] N 2014-03-16 Ruby 1.8 removal; Ruby 1.9/2.0 default [16] N 2014-11-07 Upgrade to udev = 217 or eudev = 2.1 [17] N 2015-01-28 CPU_FLAGS_X86 introduction Grub2: Will this bring us down for days? Is it a hard transition Udev: Oh what a spider web you weave. We are using udev 204 right now. Please gents, is there a safe and easy way of doing this? I need to update the system but want to limit downtime as much as possible. Please help. N.
Re: [gentoo-user] Updating Gentoo
This worked for me: emerge -C dev-python/python-exec emerge dev-python/python-exec
Re: [gentoo-user] Updating Gentoo
On Fri, Jan 30, 2015 at 12:52 PM, Mike Gilbert flop...@gentoo.org wrote: On Fri, Jan 30, 2015 at 12:49 PM, symack sym...@gmail.com wrote: Hello Everyone, Last time I did this we experience 3 hour downtime, and it was not fun. I was blue in the face: Grub2: Will this bring us down for days? Is it a hard transition Don't bother upgrading/migrating. If your current boot loader meets your needs, there is no reason to switch to grub2. Agreed! I'm sorry guys. Don't want to have people hold my hand, but I dread these upgrades First snag: %) PYTHON_TARGETS=python2_7 python3_3* (-pypy) -python3_4 (-pypy1_9%) (-pypy2_0%) (-python2_6%) (-python3_1%) (-python3_2%*) 876 kB [blocks B ] dev-python/python-exec-1 (dev-python/python-exec-1 is blocking dev-lang/python-exec-2.0.1-r1) Total: 5 packages (2 upgrades, 2 new, 1 in new slot), Size of downloads: 24,709 kB Conflict: 1 block (1 unsatisfied)
Re: [gentoo-user] Updating Gentoo
I have updated the systems since then. Up to early last year. Is it safe to update glibc?
Re: [gentoo-user] Updating Gentoo
Please excuse me, as I am new to gentoo: %) PYTHON_TARGETS=python2_7 python3_3* (-pypy) -python3_4 (-pypy1_9%) (-pypy2_0%) (-python2_6%) (-python3_1%) (-python3_2%*) 876 kB [blocks B ] dev-python/python-exec-1 (dev-python/python-exec-1 is blocking dev-lang/python-exec-2.0.1-r1) I am trying to get by this block, and my approach would be to unmerge python then reinstall however, would really like some advice from the experts on this. N.
Re: [gentoo-user] Ghost cyber threat
Hello, From my understanding this is only an issue if a person is able to telnet or ssh to an effected system? Please confirm. N.