-
Posts
34 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Blogs
Posts posted by Chris Kurlinski
-
-
Here's a diff
*** lxc 2015-12-22 06:55:00.886700278 -0500 --- lxc.mod 2015-12-22 06:55:23.323701398 -0500 *************** *** 71,78 **** # the net_admin capability), but we might also not set it up # at all on the host and leave the net_admin capable service # to take care of it. ! phys) use net.${_if} ;; ! *) need net.${_if} ;; esac done } --- 71,78 ---- # the net_admin capability), but we might also not set it up # at all on the host and leave the net_admin capable service # to take care of it. ! phys) use netif.${_if} ;; ! *) need netif.${_if} ;; esac done } -
Just found an error in the init.d lxc script
The ebuild depend section is:
depend() { # be quiet, since we have to run depend() also for the # non-muxed init script, unfortunately. checkconfig 2>/dev/null || return 0 config ${CONFIGFILE} need localmount local _x _if for _x in $(lxc_get_net_link_type); do _if=${_x%:*} case "${_x##*:}" in # when the network type is set to phys, we can make use of a # network service (for instance to set it up before we disable # the net_admin capability), but we might also not set it up # at all on the host and leave the net_admin capable service # to take care of it. phys) use net.${_if} ;; *) need net.${_if} ;; esac done }But the net.{$_if} is wrong.
Should be netif.${_if}
Changed it in my lxc init.d script, and my container start right up.
Don't know what to do with the info.
Just sharing.
-
VirtualBox only needs the modules loaded,
modprobe vboxdrv vboxnetadp vboxnetflt vboxpci.
The userland side ( virtualbox, VBoxManage, VBoxHeadless ) uses the modules, openrc doesn't need to do anything.
I did a clean install a month ago, whenever I switch hypervisors, and I don't see vboxdrv in my /etc/init.d or /etc/conf.d.
Running app-emulation/virtualbox-5.0.8
Is this a left over from a previous series 4 box install.
-
Here's mine
fubar ~ # cat /etc/make.conf
MAKEOPTS="-j25"
VIDEO_CARDS="ast fbdev vesa"
fubar ~ # epro
=== Enabled Profiles: ===
arch: x86-64bit
build: current
subarch: intel64-sandybridge
flavor: server
mix-ins: X
mix-ins: console-extras
mix-ins: no-systemd
=== All inherited flavors from server flavor: ===
core (from server flavor)
minimal (from core flavor)
-
I found the fix.
Needed to patch the sb_edac.
Link to the patch
https://lkml.org/lkml/2015/8/5/695
[ 5.713554] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 5.713567] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 5.713575] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 5.713578] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 5.713587] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 5.713592] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 5.713594] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 5.713600] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 5.713605] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 5.713607] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 5.713612] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 5.713619] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 5.713620] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 5.713626] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 5.713631] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 5.713633] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 5.713638] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 5.713644] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 5.713645] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 5.713651] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 5.713657] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 5.713658] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 5.713664] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 5.713670] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 5.713671] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 5.713676] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 5.713682] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 5.713684] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 5.713689] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 5.713695] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 5.713697] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 5.713702] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 5.713715] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 5.713963] EDAC MC0: Giving out device to module sbridge_edac.c controller Sandy Bridge Socket#0: DEV 0000:7f:0e.0 (POLLED) [ 5.714467] EDAC MC1: Giving out device to module sbridge_edac.c controller Sandy Bridge Socket#1: DEV 0000:ff:0e.0 (POLLED) [ 5.714467] EDAC sbridge: Ver: 1.1.1
-
Ok I get it.
Never really played with X before. So just a Xlib.
I'll try it.
As far as the phone, I keep going back to the OnePlus One. I was looking at the Asus Intel phone, but just looked like a pain wth weird button placement.
Plus you can Install Sailfish OS on the OnePlus One.
Thanks
-
Anyone have a e5 sandy bridge.
I keep getting an EDAC sdbridge error.EDAC sbridge: Some needed devices are missing EDAC sbridge: Couldn't find mic handler EDAC sbridge: Couldn't find mci handler
Not sure that my registered ram is initilized.
dmesg | grep -i edac [ 5.899737] EDAC MC: Ver: 3.0.0 [ 6.070393] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 6.070409] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 6.070421] EDAC sbridge: Seeking for: PCI ID 8086:3ca0 [ 6.070425] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 6.070434] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 6.070440] EDAC sbridge: Seeking for: PCI ID 8086:3ca8 [ 6.070443] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 6.070452] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 6.070458] EDAC sbridge: Seeking for: PCI ID 8086:3c71 [ 6.070461] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 6.070467] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 6.070473] EDAC sbridge: Seeking for: PCI ID 8086:3caa [ 6.070475] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 6.070481] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 6.070487] EDAC sbridge: Seeking for: PCI ID 8086:3cab [ 6.070490] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 6.070496] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 6.070502] EDAC sbridge: Seeking for: PCI ID 8086:3cac [ 6.070504] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 6.070510] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 6.070517] EDAC sbridge: Seeking for: PCI ID 8086:3cad [ 6.070519] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 6.070526] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 6.070532] EDAC sbridge: Seeking for: PCI ID 8086:3cb8 [ 6.070534] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 6.070540] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 6.070553] EDAC sbridge: Seeking for: PCI ID 8086:3cf4 [ 6.070562] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 6.070568] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 6.070574] EDAC sbridge: Seeking for: PCI ID 8086:3cf6 [ 6.070577] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 6.070582] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 6.070588] EDAC sbridge: Seeking for: PCI ID 8086:3cf5 [ 6.070641] EDAC sbridge: Some needed devices are missing [ 6.070645] EDAC sbridge: Couldn't find mci handler [ 6.070645] EDAC sbridge: Couldn't find mic handler
And the output from lspci
lspci -n | grep 8086:3ca0 7f:0e.0 0880: 8086:3ca0 (rev 07) ff:0e.0 0880: 8086:3ca0 (rev 07) lspci -k -s 7f:0e.0 7f:0e.0 System peripheral: Intel Corporation Xeon E5/Core i7 Processor Home Agent (rev 07) Subsystem: Super Micro Computer Inc Xeon E5/Core i7 Processor Home Agent Kernel modules: sb_edac
And lsmod
lsmod | grep sb_edac sb_edac 24576 0 edac_core 49152 1 sb_edac
Any one seen this?
-
Yeah I am getting sick of i3 and tigervnc. They are headaches for me right now, after my recent rebuild.
I think i will try it your way. Running on a mac and android, so should not be a big deal.
Just broke my work phone, so looking for a new primary, thinking about something that I could run Paranoid Android on.
I want to do openvpn and ssh back to server. Just don't trust android to put my rsa certs on it yet.
Is there a good tutorial for headless X?
-
I've been working out a json template / bash script to setup my system.
With the end game being to hook it into metro to create my own stage3, exactly the way I want it.
Including all the basics, netif, hostname, samba configs, et all.
Basically I'm copying the modified configs from my current system, setup exactly the way I like, removing the comments and whatnot, and reformatting the config to a json entry, then catting the entries into a master file, resulting into a system config.
Then I added the epro profiles.
I can generate the system.json, but haven't got any further. Not sure how to apply it in a consistent manner.
Borked a lot of VM's to get to this stage. Thank god for zfs snapshots.
Just need to work out the metro interface.
Building out the stage3 in metro seems to be the way to go to me as it gives you a clean system, with all deps worked out.
Is there a way to get metro to read a json file?
-
Anyone else having issues with building in zfs / spl into kernel 4.1 and higher?
ref - https://github.com/zfsonlinux/zfs/issues/3546
Anyone know of a work around? kernel patch?
Tried using the latest git zfs sources and git kernel sources.
Works with 4.0 kernels and lower. Currently on 4.0.9.
-
not sure if this counts, but I have gone to i3 wm running from tigervnc as my main server access, works great with my os x screenshare.
i3 is completely stripped down, but I can still start virt-manager or whatnot.
I can just close my laptop when the kids start screaming, or phone rings, open it back up, and everything is still there.......
-
Add ram before ssd l2arc or zil.
Then if the performance is still low, add the ssd's.
ZFS loves ram and cpu power.
I have dual e3-2620's and 32G's and have not needed a l2arc or zil, running 2-6 kvm's on vdevs, no problems.
-
add consoleblank=0 to kernel command line
-
vfat can't do a symbolic link.
My UEFI setup is this ->
/boot is a regular ext{2,3,4} partition, I don't use a separate partition because I don't boot off it.
/boot/efi partition is vfat.
So when I do any thing with the kernel, everything goes into boot, then I just copy my kernels into the /boot/efi partition.
cp the xen kernel into /boot/efi. Don't forget to copy the xen.cfg to /boot/efi also.
efibootmgr or UEFI only needs to be pointed to the xen.efi kernel in /boot/efi.
xen.efi will automatically look for the xen.cfg file on the efi partition.
Hope this helps.
-
Thank you everyone working on this.
Not that I need any of this, maybe 4.9.2 for the kernel, but I still think the hard work should be appreciated.
-
no problem.
I'm currently using KVM, but I might be going back to Xen.
Are you booting Xen dom0 in PVH?
-
oops.
Sorry about the colouring, I general use Xcode to write my scripts, that was a direct cut/paste from Xcode.....
# Monolithic Kernel
efibootmgr -c -d /dev/sda -p 1 -L "funtoo" -l "\linux.efi" -u "root=PARTUUID=***** rootfstype=ext4 consoleblank=0"
# Initramfs Kernelefibootmgr -c -d /dev/sda -p 1 -L "funtoo" -l "\linux.efi" -u "initrd=initramfs-whatever root=UUID=***** rootfstype=ext4 consoleblank=0"Also as a general note, the default sys-kernel/gentoo-sources config doesn't have the efi stub enabled.If this is not set the efibootmgr won't boot the entry. -
Update about using efibootmgr.
I just figured out, and I'm not sure why, but if your using a initramfs, you need to pass root=UUID, not root=PARTUUID.
I was running a monolithic kernel, and UUID would not work.
And the correct efibootmgr command when using a initramfs
-u "initrd=initramfs-whatever root=UUID=<place string here> rootfstype=<whatever>"
and the initramfs needs to be in the EF00 partition.
-
Looks to me like your domU fstab is wrong.
The domU is loading the xen block front drivers, and your passing lvm disk in the domU fstab.
[ 1.695015] blkfront: xvda2: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[ 1.695935] blkfront: xvda3: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
Adjust the domU fstab, and try again.
-
is /etc/env.d/02locale supposed to exist?
cat /etc/env.d/02locale
# Configuration file for eselect# This file has been automatically generated.LANG="en_US.utf8"
-
running
emerge --update --newuse --deep --with-bdeps=y @world
right now
-
locale ---
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directoryLANG=en_US.utf8LC_CTYPE=UTF-8LC_NUMERIC="en_US.utf8"LC_TIME="en_US.utf8"LC_COLLATE=POSIXLC_MONETARY="en_US.utf8"LC_MESSAGES="en_US.utf8"LC_PAPER="en_US.utf8"LC_NAME="en_US.utf8"LC_ADDRESS="en_US.utf8"LC_TELEPHONE="en_US.utf8"LC_MEASUREMENT="en_US.utf8"LC_IDENTIFICATION="en_US.utf8"LC_ALL=emerge ---/var/tmp/portage/x11-themes/gentoo-artwork-0.4.2-r1/temp/environment: line 56: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)/var/tmp/portage/media-libs/x264-0.0.20140308/temp/environment: line 71: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)/var/tmp/portage/x11-libs/libdrm-2.4.60/temp/environment: line 101: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) -
During emerge
Checked kernel config
grep -i utf /usr/src/linux/.config
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_UTF8=y
-
Doing a clean installation for my server, with the new profile setup.
But now I'm getting a locale issue...
Not sure how to fix it.
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
Available targets for the LANG variable:
[1] C
[2] POSIX
[3] en_US.utf8 *
[ ] (free form)
This is my eselect locale list output.Here is my emerge --infoPortage 2.3.6-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.4, glibc-2.19, 4.0.0-rc6-kurly x86_64)=================================================================
System uname: Linux-4.0.0-rc6-kurly-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2.0
KiB Mem: 32978660 total, 31607264 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of tree: Unknown
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.3_p30-r1
dev-lang/perl: 5.20.2
dev-lang/python: 2.7.9-r1000, 3.3.6-r1000
dev-util/cmake: 3.1.0
sys-apps/baselayout: 2.2.0-r6
sys-apps/openrc: 0.12.4-r4
sys-apps/sandbox: 2.6-r2
sys-devel/autoconf: 2.69
sys-devel/automake: 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils: 2.24-r3
sys-devel/gcc: 4.8.4
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.3-r2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc: 2.19
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-march=corei7-avx -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd/ /lib/systemd/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j25"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X a52 aac aacplus aalib acl adplug alac alsa amd64 amr amrenc apng audiofile berkdb bluray bzip2 cairo cdda cdio cdr celt consolekit cracklib crypt cxx dbus dc1394 dirac djvu dri dts dv dvd dvdr dvdread encode exif faac faad ffmpeg flac fluidsynth fpx gdbm gif gme gpm gsm gtk gtk3 hdri ico iconv icu iec61883 ieee1394 imagemagick introspection ios ipod ipv6 jack jbig jpeg jpeg2k kate lame lcms libass libguess libmpeg2 libnotify libtiger live lock mac mad matroska midi mikmod mjpeg mms mmx mng modplug modules mp3 mpeg mtp mudflap multilib musepack ncurses nls nptl nsplugin nuv ogg openexr opengl openmp opus pam pcre pdf png pnm policykit postproc pppd python quicktime readline resolvconf rtmp rtsp schroedinger session shorten sid sndfile sox speex sse sse2 ssl startup-notification svg taglib tcpd tga theora thunar tiff toolame truetype twolame udev unicode usbredir v4l vorbis vpx wav wavpack webp wildmidi win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics 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-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

LXC init.d script
in Server Help
Posted
I am an idiot...
I just realised that the last time I did an install, I used netif.${whatever} as the name of my symbolic links in my network configs....
Please ignore my failing.
It was an ID10T error #101 - PEBCAK....