Feed aggregator

Good scripts for home

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 04:40
I need your ideas guys, please help me to think what scripts is good to run in my machine at home. I have created one and that is to clear cache every day.

I will appreciate your inputs. Thanks.

today's leftovers

tuxmachines.org - Sat, 01/06/2018 - 04:25

read more

Firefox starts in Session Restore mode (Xfce 4.10)

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 04:17
I'm running:
Slackware64 14.2 (latest updates), Firefox 45.9 ESR, Xfce 4.10

Every time I start Firefox from Application Menu or from Panel in the bottom, it starts as if it was crashed the last time. But if I start using command line or from sub-menu (Internet) it starts normally.

I've created a new profile, uninstall/reintall, created a new user account ...nothing helped.

Any ideas.


How to load new Intel microcode

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 03:51
This thread started on the Latest Kernel release thread. https://www.linuxquestions.org/quest...14#post5802714 at post 505 and continues through post 518. To avoid duplication of helpful comments please read that thread at least for the posts listed.

NOTE this only address the microcode loading issue and not the full mitigation for Meltdown or Spectre threat.

It is for the purpose of helping me understand how to load my older Intel Pentium D 820 processor on a no-longer support emachine t5224. The platform is a full install of Slackware 64 14.2 with multilib and FVWM as primary WM.

iucode_tool version 2.2 is loaded from Slackbuilds.org.
The man page is a great and required read to understand the tool.
This tool was loaded to discover processors signature in hopes of seeing if Intel had new microcode to overcome the Meltdown and Spectre threats.

This lead to a coversation about how Intels instructions for loading the 20171117 microcode, which does NOT have the newest microcode to address Meltdown or Spectre, but was important to read and understand what is offered, can be used to load microcode.

The installation is using LVM/LUKS and therefore requires an initrd. The initrd is re-created with each new kernel upgrade. Kernel installs are updated to either Pat's latest official release or kernel.org latest release every 2 months, which ever comes first. Currently the platform is on 4.4.106 with 4.4.88 (Pat's latest official release) as the backup kernel.

The iucode_tool man page indicates that much has changed with microcode loading as of Linux kernel 4.4. The driver is now always loaded due to suspend and resume. Updating microcode earlier is safer and can should only be done at boot. It requires an uncompressed intramfs image in /kernel/x86/microcode/GenuineIntel.bin and must be the first initramfs called early initramfs. Read the man page of iucode_tool for Linux Notes section to get all the requirements.

What I need help understanding is how the iucode_tool inter works with the Intel Linux-microcode file.
I suspect that I have to unpack the file. Then use the intel_microcode SBo package https://slackbuilds.org/repository/1...tel-microcode/ to build a microcode from the /intel-ucode tar directory.

This third tool now will "2) write the microcodes to an early initramfs archive: /boot/intel-ucode.cpio" which then has to be PRE-pended to the initrd. So as Darth Vader indicated in the in the other thread a way to do that with:

Quote: Originally Posted by Darth Vader (Post 5802711) @bamunds

My solution to load the Intel microcode:
Code: # Create the base initrd.
mkinitrd -c -k "$KVERSION" -r "$ROOTDEV" -f "$ROOTFS" -m "$KMODULES" -h "$SWAPDEV" -u -M -w 5 -o /boot/initrd-${KVERSION}.gz

# Concatenate the intel-ucode.cpio and base initrd on the final initrd.
cat /boot/intel-ucode.cpio /boot/initrd-${KVERSION}.gz > /boot/initrd-${KVERSION}_ucode.gz

# Symlink the final initrd.
ln -sf initrd-${KVERSION}_ucode.gz initrd.gz I use the SBo variant of Intel microcode, for now. Final question. What have I missed?
Will this actually then override the obsolete microcode on the CPU or only that part which is causing threats.
Until I try it I quess I won't know if it causes any other microcode changes that affect other parts of the system, like the HDD, Ethernet or the USB onboard reader to stop functioning. So this weekend I'll give it a try.
OH-- how to make a backup? I would think my backbup initrd for 4.4.88 should be ok since it won't load new microcode. Right?

LXer: Learn to use Wget command with 12 examples

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 03:00
Published at LXer:

Every now & then we have to download files from internet, its easy id you are using GUI but CLI it can be a bit difficult. WGET utility makes it easy for us to...


Linux Videos

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 02:53
Can anyone give me links to sites where I can purchase some informative videos about the Linux OS, and even videos about more detailed topics like networking in it?

Hardware question

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 02:00
[Solved]I have a FantomDrive GF1000EU that I would like to use as a backup drive for Linux Mint. Any suugestions if I can and how?


Help with a simple (for you) script

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 01:57

I am pretty new to Linux, because I am now mining crypto's. Running Ubuntu 16.04 LTS.

Would like to create a simple script that will do the following when started from within a terminal:

cd /usr/local/claymore10.2/
(run a timer for 12 hours and then...)
Ctrl+C (to cancel the ETH miner)
cd /usr/local/cryptonote10.2/
(run a timer for 12 hours and then...)
Ctrl+C (to cancel the ETN miner)
(and then loop)

At least I think this is the way to approach this. Clearly my goal here is to have my mining rig switch between the ETH miner and the ETN miner every 12 hours without any involvement from me.

I built the rig myself and it's going pretty well, but I don't even know where to start with this next little phase of the project. I could probably spend many hours learning and reading how to do this, but instead here is a chance for someone to show off their Linux-scripting prowess and save me a lot of time!

Thanks in advance for your help!

Introducing Linuxdroid

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 01:18
Wazzzuuppp :)
Happy New Year to everyone!

LXer: WP Engine Raises $250M to Grow WordPress Platform

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 00:54
Published at LXer:

Open-Source WordPress based platform vendor raises new money as global adoption for the popular content management system continues to grow


LibreOffice Based CODE 3.0 Released

Linux-Magazine.com Open Source News - Fri, 12/29/2017 - 17:56

You can now run the latest version of LibreOffice Online in your own cloud.

Categories: Linux Articles

Google Announces Kubeflow to Bring Kubernetes to Machine Learning

Linux-Magazine.com Open Source News - Fri, 12/29/2017 - 17:54

The fully open source project is designed to help engineers build a machine learning stack using Kubernetes.

Categories: Linux Articles

KubeCon Concluded in Austin, Texas

Linux-Magazine.com Open Source News - Tue, 12/12/2017 - 17:40

The Kubernetes community gathered in Austin, Texas.

Categories: Linux Articles

Dell to Disable Intel’s Insecure IME

Linux-Magazine.com Open Source News - Tue, 12/12/2017 - 17:39

Dell responds to the reports of critical vulnerabilities in the Intel vPro Management Engine.

Categories: Linux Articles

Linus Torvalds’ Precious Advice to Security Experts

Linux-Magazine.com Open Source News - Tue, 11/28/2017 - 16:17

Torvalds said that developers should focus more on debugging than resorting to fallback mode.

Categories: Linux Articles

GPLv3 Comes to the Rescue of GPL Violators

Linux-Magazine.com Open Source News - Tue, 11/28/2017 - 15:57

Red Hat adopts GPLv3 cure provisions to help companies fix GPL violations.

Categories: Linux Articles

Linux Kernel 4.14 Released

Linux-Magazine.com Open Source News - Tue, 11/14/2017 - 23:03

Torvalds lashes out at a Canonical developer who introduced a regression.

Categories: Linux Articles

Fedora 27 Is Released

Linux-Magazine.com Open Source News - Tue, 11/14/2017 - 23:02

Developers can now access Red Hat Enterprise Linux Developer subscriptions on Fedora 27 at no cost.

Categories: Linux Articles

Samsung to Bring Linux to the Galaxy Phone

Linux-Magazine.com Open Source News - Wed, 11/01/2017 - 14:05

Samsung is testing Linux desktop for its DeX experience.

Categories: Linux Articles

System76 Releases Pop!_OS

Linux-Magazine.com Open Source News - Wed, 11/01/2017 - 14:03

An Ubuntu-based operating system designed for professionals.

Categories: Linux Articles
Syndicate content