erikr
Members-
Posts
81 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Blogs
Everything posted by erikr
-
efi [Canceled] Only 1/4 of installed memory with EFI-boot
erikr replied to erikr's question in General Help
I don't think so. I have tried with the exactly same kernel and initrd and lines for both BIOS and EFI (named it memory-test and copied the files between the two boot partitions) so I guess should have the very same problem when booting in BIOS. /etc/motd tells me I used stage3-amd64-piledriver-funtoo-current-2017-10-18 as a starting point, I would not be able to do anything if I booted with a 32 bit kernel. Right? I recall I tried that during transition; nothing works and that is how you can tell it went wrong. -
After many many considerations I went for EFI-boot in faovour of good old BIOS-boot using syslinux. The fall back solution is still BIOS-boot using extlinux. Problem is that with the very same (carefully verified) initramfs and kernel all my 16GB ram shows up in BIOS boot while only 4GB (well, 3.5) shows up booting from EFI. Any hint on the reason to this? My world does not depend on EFI-boot, the BOIS boot works very well and will be my primary until this is sorted out, but it would be good to understand. Some facts; Motherboard is ASUSTeK SABERTOOTH 990FX R2.0 Rev 1.xx BIOS is dated Date: 05/04/2016 and version 2901 that seems to be the latest version. # uname -a Linux kalle 4.13.12-gentoo #6 SMP PREEMPT Thu Dec 14 07:42:52 CET 2017 x86_64 AMD FX(tm)-9590 Eight-Core Processor AuthenticAMD GNU/Linux I have tried several combinations of legacy modes including no legacy support (CSM disabled).
-
It is still empty when I look. Meanwhile I browse manually from this URL (taken from the example in the installation guide): https://build.funtoo.org/funtoo-current/
-
:) I stick with genkernel and the slightly modified scripts (my own modifications). Most guides refer to another initrd-script set but I prefer Funtoo original flavour - thats why I use Funtoo instead of Gentoo ;)
-
And well, what is the role of /etc/config.d/dmcrypt in this case? Will it be included in the initramfs and deal with root and swap before root is mounted or will it execute after root is mounted and take care of the rest (swap, home etc)? None of the the guides I read mentioned this file :( // Erik
-
Hi, On one of my laptops I have gone encrypted along with syslinux. To get there I had to hack the initrd scripts a bit but well, I got it working. In some documentation I have come across (funtoo, gentoo, and arch linux) there are quite some references to /etc/crypttab that seems to be used along with systemd but are there any scripts making use of crypttab in if open RC is used? // Erik
-
We gave up and went a completely other way - we are going to put a light switch to the access point and only turn it on when it is supposed to be used. Password to be changed when motivated (i.e. not very often). There will be a light in the switch so one can see if access point is on or not from distance. The access point will be covered by a box with plexiglass front and wooden sides to avoid being messed with. All involved are very satisfied by a low tech solution and ready for cover design :)
-
Hi, I am looking for a software or combination of software running on Linux to manage network guest passwords for a semi public facility. Semi-public means a facility owned by a compound that can b e rented. There is a WiFi connected to fiber (100Gbit/s) that can be shared to visitors but we do not want to have publicly open since the facility is centrally located. What we try to achieve is: * In advance generate passwords for the period of time (some months) and let the system change password Fridays and Mondays. Someone need to know the expected password in advance * Have a WebGUI from LAN but not from WAN * Can be installed on a Raspberry Pi 3 with Linux possible located between internal public LAN and the router. (Will a Raspberry Pi 3 be able to cope with HD streamed movie?) * Users without a ticket shall preferably be redirected to a web page on the Raspberry The alternatives I have found so far either looks abandoned or I cant figure out if they help (like hostapd) Thankful for all pointers or ideas.
-
Hi, It seems I have messed up the language settings on my funtoo installation. I haver made a ton of installations and cannot recall this problems since before Gentoo went UTF-8 several years ago. And I am clueless at the moment :( I am Swede and makes use of the Swedish characters ??? when I need them. In KDE things works mostly well. If I save a file with ??? things works well and I can open in another KDE based application. I can browse with Dolphin and access files. In GTK based applications (Firefox, libre office, Eclipse based Archi etc) and a few others this does not work. I can save a Libre Office file in "F?retag/Uppf?ljning.odt" (translated: Company/Follow up, i.e. makes sense to use) where "F?retag" exists but it creates a second directory name "F?retag" stores the file but fails to access it again and produces an error. Right now I am trying to download a PDF from Firefox with a Swedish character in it and it failes - it seems like it can create but not carry the name further to write to it. The file name is "Inf?r 9e april.pdf" and this is the files created by firefox: -rw-r--r-- 1 xx xx 0 21 Mar 10.40 Inf?r 9e april.pdf -rw------- 1 xx xx 228K 21 Mar 10.40 Inf?r 9e april.pdf.part My locale.gen: # /etc/locale.gen: list all of the locales you want to have on your system en_US.UTF-8 UTF-8 en_US ISO-8859-1 sv_SE.UTF-8 UTF-8 sv_SE ISO-8859-1 root locale outputs (I prefer en_US to get man pages in English, computing does not work very well in Swedish). LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE=POSIX LC_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= and my users locale outputs: LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE=C LC_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= In /etc/portage/make.conf I have the following: USE="djvu ebook epub git google mercurial mtp nls ogg pulseaudio threads unicode vdpau" ABI_X86="32 64" RUBY_TARGETS="ruby21 ruby22 ruby24" LINGUAS="sv en sv_SE en_GB en_US" INPUT_DEVICES="evdev keyboard mouse" VIDEO_CARDS="nvidia" L10N="sv en en-GB en-US" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" MAKEOPTS="-j9" Any clues what to do next? Regards, Erik
-
Getting Rid of Forums and Moving to Reddit?
erikr replied to drobbins's topic in News and Announcements
Sorry to say I will most likely not join on the reddit. I have earlier looked at using reddit but turned it down. I have trouble finding myself around on reddit and the "modern forms style" like facebook etc. I really appreciate this old fashion board-style forums with topics. It is difficult to find what's in there and everything is a mess. I this move happens I don't know how to proceed, perhaps take my calls in the gentoo forums or join reddit in case of critical problems that I fail to solve and stay with that. BTW I don't have facebook or twitter either. // Erik -
Hi, I have just had an near windows experience I'd like to share. Earlier this year I purchased a new Dell laptop. It had Windows 7 professional installed and offered a licence (not depending on free upgrade) also valid for Windows 10 pro. Naturally I installed what I always install; Gentoo or Funtoo, and in this case Funtoo. Beside the few commands I need to enter it mostly just works. Mainly because I make decisions along the way and in the end I reach goal. For this particular laptop I had struggle with fully utilizing the Skylake CPU fully out (se my other thread about that), but I also had problems with sleep function that rebooted computer on wakeup. Using a kernel config from Sabayone solve that (but don't ask me what actually made the trick). Then I decided to fire off a new company and that a company needs at least one Windows 10 computer. I decided to use the laptop. It has a window 10 licence, windows 10 have virtuakl desktops and I can always install the Ubuntu stuff to get a bash and awk running. That decided I installed Windows 10 but strangely it failed to activate. I tried the Dell reset DVD that failed to install and thought that it will solve it self somehow when in contact with M$$$ and went on with installing my stuff during weekend. So I called M$$$ on monday that told me to call Dell. So I called Dell and that told me to download another reset image (6.5 GB!) that failed 4 times before I did the download from Windows that used a helper program and then failed to install. In several calls the only advice was to reinstall the computer to get the key activated but after some calls Dell decided to replace the motherboard. So they did today and I got a nice little CD-cover with a Window licence key in it. Swell. Reinstall the computer and enter the licence key and it activates Windows. Nice. Upgrade. Reboot. What the F... Windows no longer activated. New calls with Dell that help out a while but aske me to call M$$. M$$$ refused to help unless I created a blXXdy microsoft account. Given the number of privacy options I had to turn off during install and the number still not deactivated I refused so they refused to help me. Still no M$$$ key that works. When I complained to my Wife she asked me the obvious question. What do you need Windows for? And she is right. Love to her! Two hours later I have read back the BTRFS snapps I sent to the server as backups. Then it took me 5 minutes to reload /boot and reinstall grub on the hard drive. Reboot and things just work. I did dismiss usage of Windows in any of my home computers when my Windows XP got infected by Genuine Advantage. A few moth later I was in love with Gentoo. Now, after all this time, when I decide to actually make use of the commercial windows using a real license that have been paid for it fails to activate. My intention to use paid software is hindered by the protection against piracy, what an irony. I have asked the dell staff to record that I will come back to solve the license issue another time. Three days in phone is enough for now. Funtoo back in place and the calm inside is back - I am able to fix things that breaks and make things work MY way. // Erik
-
Apparently the KDE4 ebuild situation is not stable on the Gentoo side. A lot of things are moving around and some of the old kde-base packages are moved into kde-framework but with slot :4 instead of :5. If you already have a KDE4 based installation and added kde-sunset you will find that some already installed packages that works just fine will all of a sudden depend on KDE Framework 5 components. So during mu just ongoing installation I had to do a few changes. Firsts of all, the sugested kde5 mask above shall be changed to: kde-plasma/* kde-frameworks/*:5 kde-apps/*:5 Then I had to unemerge two packages that in the gentoo version have dependencies to KDE Frameowkr 5 but in the KDE Sunset version does not. Seems like the first one is moved from kde-base into kde-plasma. root# emerge -aC kde-plasma/kactivitymanagerd kde-base/kactivities When you perform the system upgrade they will be included from the KDE Sunset overlay with only KDE4 dependencies. Mind you that I have btrfs on my root and every time I do an upgrade I make a snapshot of the running root BEFORE I sync portage. I want the snapshot to be consistent and to be able to remove stuff and emerge --depclean. I also may need to boot on the snapshot and live with it for a while thus I want to be able to emerges things with the version I have available. Right now there is a high probability that I will in fact reinstall KDE4 based on the KDE-Sunset instead of Portage. On this computer I managed to complete the KDE4 installation two days before the troubles begun. I now expect to have a long troublesome period of packages moving around and start depending more and more on KDE Frameworks 5. The effort to reinstall is quite low in comparison. This made the trick for me.
-
KDE is now up and running on the laptop. I did not a full install (kde-metea) but instead installed kdebase-meta:4. Since some time I have started to install kde-metas with the specific slot (:4) to avoid confusion with KDE 5 (:5). Before I install KDE 4 I added the following in packages.mask (as suggested in the Gentoo forum): kde-plasma/* #kde-frameworks/* kde-apps/*:5 I have decided to comment out the masking of kde-frameworks as some applications are moving over from KDE4-libs. With the above mask I had no problems what so ever to emerge kdebase-meta, get the basic KDE4 system up and running, and beeing able to login and continue with user applications and a few other kde-metas that I like to have. A few USE changes was needed by NetworkManager (add introspection on a depedency) and p7zip (either add wxwidgets or remove kde). Otherwise still no blocks or circular dependencies. Then it is just the power saving left. I expect to hand over the laptop to the wife this evening. She is hooked up on KDE4 and Kaffeine and I figure a sysadmin have to do what a sysadmin have to do :)
-
Some progress. kde-sunset is not included in the layman list. You have to create an own record, which is fairly simple. The guide can be found here: https://wiki.gentoo.org/wiki/Layman#Adding_custom_overlays Seems like one have to run: root # layman -L before layman finds it (before layman -a). The result is: /etc/layman/overlays/kde-sunset.xml <?xml version='1.0' encoding='UTF-8'?> <repositories encoding="UTF-8" version="1.1"> <repo priority="50" quality="experimental"> <name>kde-sunset</name> <description>KDE 3 and KDE SC 4 Sunset</description> <homepage>https://gitweb.gentoo.org/proj/kde-sunset.git/</homepage> <source type="git">git://anongit.gentoo.org/proj/kde-sunset.git</source> </repo> </repositories> Then run: root #layman-updater -R root #layman -L root #layman -a kde-sunset Viola, you will have the KDE SC4 meta-packages back again. I am building right now but no starting problems so far. Follow the funtoo KDE SC 4 guide: http://www.funtoo.org/KDE_SC_4and things seems to work. There are some minor problems with some old KDE3 ebuilds in this overlay that causes EIX to produce errors. Seems like it ignores some broken/out of date packages and continues with the ones that works. I have a eix db to search at the end.
-
Stumbled on an interesting commit to the kde-sunset overlay (https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=7d12fbd4c22df5e401defb3da9aac619eaa85340): Seems like a lot of the KDE SC 4 stuff are available via this overlay. I will try it out.
-
Hi, [Edited] Some of the KDE SC 4 packages and especially the meta packages has been removed from the Gentoo portage and as a consequence also been removed from Funtoo portage. IN this thread I describe how I managed to install KDE SC 4 after this changes was made. The process is as of now still dependent on mix-in KDE beeing available in Funtoo.
-
Safe way to access linux file server from a linux laptop
erikr replied to erikr's topic in General Discussion
This is a judgement for the community edition I suppose? Anyone also tried Syncthing (which is in portage)? Perhaps compared the two? Sounds like it also would also solve backup of home directories on our devices as well. And the problem with music files I have created on .waw, they are a bit to large for Mercurial SCM that I use for things I like to save otherwise :) -
Safe way to access linux file server from a linux laptop
erikr replied to erikr's topic in General Discussion
Thanks Peje. Problem is that when I move from out of home range I do not expect to have network connectivity. That is the core of the problem, how do I mount file systems from server so I can safely lose network and everything related to it. It is a bit sad, I am living just 35km from where the mobile phone was invented (Ericsson Lund, Sweden) and where my former colleagues researched 4G/LTE some years back, and still I have to use 2G/GSM to maintain working call connection here. I just cannot rely on connectivity, I rather have to relay on semiconnectivity. I have developed a desktop wiki with a text file backend managed by any SCM (git, mecurial) instead of using an online service. I use OSMAnd on my mobile where I can download maps in advance. Now I have to find out how to deal with my laptop in same way, semi-connectivity. BR Erik -
Hi, After several years of stationed linux deskotp I now have a laptop. I still have a server though, and I still like to access files on the server. Problem is that with a Laptop I will go in and out of home network/server coverage. If I NFS-mount directories from the server and leave home with the laptop I may lose information or simply hang the laptop big time. So what options do I have to access the server safely? Are there any alternatives to NFS that is better? Does it exist a file-system-layer based on FTP or can I access files similar way as with a mobile phone? Or do I set the write cache to 0 to enforce continuous flush? I use BTRFS on the server but can consider moving to ZFS if that would simplify things. BR Erik
-
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
Sadly it failed on xorg-server: sdksyms.c:316:15: error: expected expression before ?,? token (void *) &, /* /var/tmp/portage/x11-base/xorg-server-1.16.4-r5/work/xorg-server-1.16.4/incl I will add to the tracker. -
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
Those are the times when I value the snapshot function in btrfs. I will give it a try. -
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
By the way, although I failed to emerge ebuilds, I was still able to run Sandros two tests with both native and skylake-flaggs. And I only have one version of gcc installed. -
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
What is the status of using gcc-5.3? Will I run into a ton of problem if I unmask? I recall gcc-3.3. to was it 3.4 or 4.0 was really troublesome some years back. -
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
Agree with Sandro. I started out with march=skylake and crashed and burned with the first ebuild; "Cannot compile C code" it said. I changed to native for later trouble fining and things went well. I use CC 4.9.3-r3. I can repeate the problem by setting march=skylake >>> Emerging (1 of 1) app-portage/ufed-0.92::gentoo * ufed-0.92.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ufed-0.92.tar.bz2 to /var/tmp/portage/app-portage/ufed-0.92/work >>> Source unpacked in /var/tmp/portage/app-portage/ufed-0.92/work >>> Preparing source in /var/tmp/portage/app-portage/ufed-0.92/work/ufed-0.92 ... * Running eautoreconf in '/var/tmp/portage/app-portage/ufed-0.92/work/ufed-0.92' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: ufed-0.92/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-portage/ufed-0.92/work/ufed-0.92 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --libexecdir=/usr/lib64/ufed checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/app-portage/ufed-0.92/work/ufed-0.92': configure: error: C compiler cannot create executables See `config.log' for more details So I will stick with march=native. I tried native in kernel-settings as well and it seemed to work. How shall I notice? :) Regarding avx512 I thought there might been a typo and I search with and without x and only for 512 in /proc/cpuinfo. None found: ~ # cat /proc/cpuinfo | grep 512 ~ # Initially I had some trouble with booting but using SystemRescueCD with alternative kernel worked well. Alt-kernel is the more recent one, standard kernel is the old stable one. I downloaded the latest CD instead of an older one I already have. Don't know what version of kernel is needed to recognize Skylake and related hardware like graphics. I actually think this is where Calculate immensely failed (3.18 or so) but also Linux Mint have a quite old kernel and I had to go with standard VGA device settings. All-in-all I am quite satisfied with the result. I spent Friday evening and parts of Saturday to install Funtoo from scratch. With the help above I started out quite rapid and there where never any difficult obstacles. During most of the Saturday I had XFCE up and running and I finalized base installation with fire off installation of libreoffice, firefox and chromium late Saturday and it was ready by 5 in the morning. Those are the bastards and confirms the expected capacity I guessed from CPU Passmark; this computer is about half the compilation speed as a my desktop computer (AMD FX8350@4GHz-ish) but I am out in the garden writing this post. Worth mention is that you have to enable WIFI modules in kernel. The one Genkernel selects does not suffice. For this version I had to enable iwlmvm and install linux-firmware to get it running but that was about it. And also worth mention is that I use grub-legacy and have my root partition on a btrfs subvolume. I never got this working with the Funtoo-boot-scripts and have not yet brought this up in the forum. I am very accustomed with grub-legacy and don't really have the need to switch. I will take the dialog elsewhere and the message is that if there are some troubles with the boot-scripts I wouldn't notice. Regarding bootstrap I never did that. I think that the extensions in Skylake compared to Haswell is mainly used in end user applications for video etc and there are no need to bootstrap. Eventually things will be recompiled and after two-three upgrades of binutils and GCC I will be there. So, for now I think my problem is solved; I have Funtoo and XFCE working on my Skylake laptop and the Sun is shining and everything is great :D Thanks for the help! // Erik -
Support fort Skylake architecture/how to bootstrap funtoo
erikr replied to erikr's question in Installation Help
Regarding CPU-flags. I get the following info from cpuinfo2cpuflags-x86 © sysresccd / # cpuinfo2cpuflags-x86 CPU_FLAGS_X86: aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3
