Peppermint OS Community Forum

General => GNU/Linux Discussion => Topic started by: VinDSL on February 02, 2017, 06:32:57 pm

Title: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 06:32:57 pm
Quote
It's time to upgrade the Linux kernel packages of our GNU/Linux distributions once more, as renowned Linux kernel maintainer Greg Kroah-Hartman today, February 2, 2017, announced the release of Linux kernel 4.9.7.[...]

While still not marked as "longterm" on the kernel.org website, the Linux 4.9 kernel series recently become LTS (Long Term Support), which means that it will be supported with security patches for a couple of years. It also means that OS vendors need to adopt the Linux 4.9 kernel series for their distros as soon as possible. Arch Linux and Solus are already powered by Linux kernel 4.9, so make sure you update your PCs right now.[...]

If you're using a GNU/Linux distribution powered by a kernel from the Linux 4.9 series, we recommend updating to today's Linux kernel 4.9.7 release as soon as possible. It already landed for Solus users and it's coming very soon to Arch Linux and openSUSE Tumbleweed, as well as other distro

SOURCE:  https://goo.gl/g8C5DM
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 07:08:38 pm
Come on in, the water's fine !   8)

Code: [Select]
╭─vindsl@Boogaloo-5 ~  
╰─➤  inxi -Fzx
System:    Host: Boogaloo-5 Kernel: 4.9.7-040907-generic x86_64 (64 bit gcc: 6.2.0) Desktop: N/A
           Distro: Peppermint Seven
Machine:   System: Dell product: OptiPlex 7010 v: 01
           Mobo: Dell model: 0GXM1W v: A02 Bios: Dell v: A23 date: 08/09/2016
CPU:       Quad core Intel Core i5-3470 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25541
           clock speeds: max: 3600 MHz 1: 2891 MHz 2: 2695 MHz 3: 2901 MHz 4: 2623 MHz
Graphics:  Card: NVIDIA GK208 [GeForce GT 710B] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 1280x1024@60.02hz, 1280x1024@60.02hz, 2560x1080@60.00hz
           GLX Renderer: GeForce GT 710/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 375.26 Direct Rendering: Yes
Audio:     Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GK208 HDMI/DP Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.9.7-040907-generic
Network:   Card: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 250.1GB (12.9% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
Partition: ID-1: / size: 20G used: 8.3G (45%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 30G used: 21G (75%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda10
           ID-4: swap-2 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:54C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 223 Uptime: 4 min Memory: 1271.2/16000.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (zsh 5.1.1) inxi: 2.2.35
╭─vindsl@Boogaloo-5 ~ 
╰─➤ 
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 07:35:21 pm
3 second boot -- flies like the wind. *


Spoiler (click here to view / hide)
(http://vindsl.com/images/02-Feb-17-17:29:16-plot.svg)
[close]

* Results may vary ...    ;)
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 02, 2017, 08:04:48 pm
Save me looking though all that .. is that with the network card that was causing slow boots before, or did you fix that ?

[EDIT]

As this is in a public facing forum and as a moderator VinDSL's post could be misconstrued by new users as "advice" to change kernel, I'd just like to add that Team Peppermints advice is to stick with the default kernel unless you have a specific reason to change .. if you manually install a non default kernel you'll also need to manually stay on top of security patches yourself (they will no longer be automatic).
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 09:02:38 pm
Save me looking though all that .. is that with the network card that was causing slow boots before, or did you fix that ?

Apples n' oranges.  The (above) is my desktop machine.  I haven't installed 4.9.7 in my laptop (with the 'slow' boot times)  yet. 

Matter of fact, the new Intel 7260 wifi card (http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html) just arrived, an hour or two ago.  I pulled the Broadcom card, replaced it with the Intel 7260, and decided to look for Linux drivers.  However ...

As fate would have it, I booted into '10', to make sure the new card worked.  Good thing:  it worked (including the bluetooth feature).  Bad thing:  There was a cumulative update sitting there, whatever that means, and it tied up my lappy for 45 minutes, downloading and installing the updates.  Gotta love winders   ::)

So, I'll see if the new wifi card takes care of the 'slow' boot, and soon as I get the drivers sorted.
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 09:10:23 pm
As this is in a public facing forum and as a moderator VinDSL's post could be misconstrued by new users as "advice" to change kernel, I'd just like to add that Team Peppermints advice is to stick with the default kernel unless you have a specific reason to change .. if you manually install a non default kernel you'll also need to manually stay on top of security patches yourself (they will no longer be automatic).

True !

I might also add, don't install winders 10 either (mentioned above) if you're concerned about WiFi security (http://gizmodo.com/why-the-hell-is-windows-10-sharing-my-wi-fi-passwords-1719900675)  ...    ;D
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 09:54:27 pm
Well, that was interesting !

I downloaded the firmware blob from Intel, went to install it, and the drivers were already sitting in ~/lib/firmware, but the card wasn't working  :-\


So, I checked it in CLI ...


Code: [Select]
vindsl@Chi-You ~ $ dmesg | grep iwl
[    2.904220] iwlwifi 0000:02:00.0: enabling device (0100 -> 0102)
[    2.919418] iwlwifi 0000:02:00.0: loaded firmware version 17.352738.0 op_mode iwlmvm
[    2.958759] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[    2.958847] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[    2.959165] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[    3.197690] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    3.212725] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   20.248010] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[   88.829272] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[  186.037228] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[  189.750618] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
vindsl@Chi-You ~ $

Yup, working !

So, I checked wicked (WiCD).

For some reason, wicked thought the WiFi interface addy was wlp2s0b1

I removed the 'b1' and BAM !  It immediately started working.

Aren't computers fun ?   :)
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 02, 2017, 10:25:53 pm
Hrm...

Something doesn't seem right.  Maybe the script I'm using to generate the plot is somehow misrepresenting the values.


Spoiler (click here to view / hide)
(http://vindsl.com/images/02-Feb-17-20:01:42-plot.svg)
[close]


If you look at the column header -- the firmware and loader times are negative seconds.  The actual boot time starts at '0', right ?

If that's the case, then I'm really getting a 4 second boot on the lappy.

It *feels* like 4 seconds -- no way it's taking 10 seconds to boot this thing ...   :P

Oh, well, I'll figure it out.  I'll test the new card on the routers at work in the morning, to see if the range improved.
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 03, 2017, 06:44:29 am
Yeah I had to boot Win10 the other day expecting it to take about 2 - 3 minutes .. on rebooting "Windows is preparing your updates, do not turn off your PC" (or sommat similar) .. one and a half %&^$ing hours just to shut down >:(

Whilst staring at that damn screen for ages it dawned on me they've removed the "please" .. I'd have sworn Win7 used to say "PLEASE don't turn off your PC" (or sommat similar).
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: zebedeeboss on February 03, 2017, 07:01:51 am
http://www.howtogeek.com/268982/how-to-shut-down-a-windows-pc-without-installing-updates/ (http://www.howtogeek.com/268982/how-to-shut-down-a-windows-pc-without-installing-updates/)
For the next time you have to suffer the indignity and you have better things to do  ;D

Regards Zeb...
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 03, 2017, 07:07:18 am
Handy to know as long as it doesn't stuff things up .. but that doesn't really change my opinion of their update system ;)
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: zebedeeboss on February 03, 2017, 07:11:26 am
It didn't for me when I have used it in the past.
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 03, 2017, 06:54:15 pm
To be fair, fsck (https://en.wikipedia.org/wiki/Fsck) is a pain, too !

My all-time favorite fsck tale: https://goo.gl/GLFwRK

Memorable quote:  "Overall, FSCK on a 1.7 TB machine appears to take about 96+/- hours to run when you've really abused it."
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 03, 2017, 07:48:21 pm
About on par with chkdsk /r then ;)

If you're going to do a multiple read/copy/compare/relocate on every single individual sector of a 2TB spinner it's gonna take AGES no matter what the file system or tool doing it.

at least fsck/e2fsck gives you more control.

And who said I was being fair anyway >:D

more ANGRY at the time .. and I've never had Linux decide to run fsck just to reboot >:(
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 03, 2017, 11:37:07 pm
Ran some tests at work today, with my infamous Intel AC 7260 card.

First impression was it worked fine on '10', but I wasn't so sure about Linux.

Later in the day, it seemed to be working ok on Linux, so I did some forensics when I got back to the abode.

I had a feeling I was missing a few pieces of the puzzle, so I D/L & installed the Intel Graphics Update Tool.  Doesn't make since that a graphic update tool would improve my wifi card, but it contained a lot of ancillary drivers that I would have needed to download and install individually anyway -- sort of like the Microsoft 'shotgun' approach, you know ?  Toss everything in, including the kitchen sink ...

Anyway, this thing is hauling azz now, wifi, video, all things Intel.  Feels every bit as fast as my desktop machine.

Wifi upload & download speeds match the CAT5 connection speeds on my desktop machine, too, so it must be working.

I'll keep tweaking things, and give it another test at work next week. 

Back OT, I installed Linux 4.9.7 on this laptop, a few hours ago.  Running without a hitch, so far.

Oh, BTW, I found out where wicked picked up the 'b1' in wlp2s0b1


Spoiler (click here to view / hide)
vindsl@Chi-You ~ $ lspci -nnk

02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev bb)
   Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4070]
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi
[close]

Remember this article ? : https://major.io/2015/08/21/understanding-systemds-predictable-network-device-names/   LoL !   :D
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 04, 2017, 08:12:32 am
Yeah they make a lot more sense now :-\
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 04, 2017, 10:22:01 am
All hail Linux 4.9.8 (4-FEB-2017)     8)

Code: [Select]
╭─vindsl@Boogaloo-6 ~  
╰─➤  inxi -Fxz
System:    Host: Boogaloo-6 Kernel: 4.9.8-040908-generic i686 (32 bit gcc: 6.2.0) Desktop: N/A
           Distro: Peppermint Seven
Machine:   Mobo: N/A model: Canterwood Bios: Phoenix v: 6.00 PG date: 04/09/2004
CPU:       Single core Intel Pentium 4 (-HT-) cache: 2048 KB flags: (pae sse sse2) bmips: 6815
           clock speeds: max: 3407 MHz 1: 3407 MHz 2: 3407 MHz
Graphics:  Card: NVIDIA G73 [GeForce 7600 GT] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa) Resolution: 1280x1024@60.02hz
           GLX Renderer: Gallium 0.4 on NV4B GLX Version: 2.1 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller
           driver: snd_intel8x0 ports: d800 dc00 bus-ID: 00:1f.5
           Sound: Advanced Linux Sound Architecture v: k4.9.8-040908-generic
Network:   Card: Lite-On LNE100TX driver: tulip v: 1.1.15 port: a400 bus-ID: 02:0c.0
           IF: enp2s12 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives:    HDD Total Size: 1000.2GB (6.0% used) ID-1: /dev/sda model: SAMSUNG_HD103SJ size: 1000.2GB
Partition: ID-1: / size: 9.8G used: 4.2G (46%) fs: ext4 dev: /dev/sda11
           ID-2: /home size: 99G used: 51G (54%) fs: ext4 dev: /dev/sda12
           ID-3: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda13
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.0C mobo: N/A gpu: 44.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 166 Uptime: 6 min Memory: 305.3/2013.4MB Init: systemd runlevel: 5 Gcc sys: N/A
           Client: Shell (zsh 5.1.1) inxi: 2.2.35
╭─vindsl@Boogaloo-6 ~ 
╰─➤

Never could get the 32-bit rc(s) working right on Peppermint.  Decided to hold off for awhile, and 4.9.8 is working fine on my ancient iron (circa 2004) !

Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 04, 2017, 12:41:38 pm
Worked a treat ...

Code: [Select]
╭─vindsl@Boogaloo-6 ~  
╰─➤  echo && echo "~ VinDSL Unity Debug Script 13.07.08 (vindsl.com) ~" && echo -n "Current Date/Time: " && TZ='UTC' date && echo -n "Distro Release: " && lsb_release -sd && echo -n "Kernel Release: " || cat /etc/*release && uname -s -r && echo -n "Gnome Release: " && gnome-shell --version && echo -n "Unity Release: " && unity --version && echo && /usr/lib/nux/unity_support_test -p -f && echo || echo && dpkg -s mesa-utils && echo || echo && echo "Package: mesa-common-dev" && dpkg -s mesa-common-dev | sed 's/^/  /' | grep Version && echo || echo && echo "Package: xserver-xorg-core" && apt-cache policy xserver-xorg-core | grep Installed && echo || echo && echo "Package: xserver-common" && apt-cache policy xserver-common | grep Installed && echo || echo && echo "Package: xserver-xephyr" && apt-cache policy xserver-xephyr | grep Installed && echo || echo && echo "Tree Map of PCI Devices:" && lspci -tv && echo || echo && echo "Display Properties:" && echo -n " lcd monitor:    Dell UltraSharp 1907FP (analog input)" && echo && xdpyinfo | grep -E '(resolution|dimensions)' && echo

~ VinDSL Unity Debug Script 13.07.08 (vindsl.com) ~
Current Date/Time: Sat Feb  4 17:37:13 UTC 2017
Distro Release: Peppermint 7 Seven
Kernel Release: Linux 4.9.8-040908-generic
Gnome Release: zsh: command not found: gnome-shell

Package: mesa-utils
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 99
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Source: mesa-demos
Version: 8.3.0-1
Depends: libc6 (>= 2.4), libgl1-mesa-glx | libgl1, libx11-6
Description: Miscellaneous Mesa GL utilities
 This package provides several basic GL utilities built by Mesa, including
 glxinfo and glxgears.
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Homepage: http://mesa3d.org/

Package: mesa-common-dev
  Version: 11.2.0-1ubuntu2.2

Package: xserver-xorg-core
  Installed: 2:1.18.4-0ubuntu0.2

Package: xserver-common
  Installed: 2:1.18.4-0ubuntu0.2

Package: xserver-xephyr
  Installed: (none)

Tree Map of PCI Devices:
-[0000:00]-+-00.0  Intel Corporation 82875P/E7210 Memory Controller Hub
           +-01.0-[01]----00.0  NVIDIA Corporation G73 [GeForce 7600 GT]
           +-06.0  Intel Corporation 82875P/E7210 Processor to I/O Memory Interface
           +-1d.0  Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1
           +-1d.1  Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2
           +-1d.2  Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3
           +-1d.3  Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4
           +-1d.7  Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
           +-1e.0-[02]----0c.0  Lite-On Communications Inc LNE100TX
           +-1f.0  Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge
           +-1f.2  Intel Corporation 82801EB (ICH5) SATA Controller
           +-1f.3  Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller
           \-1f.5  Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller

Display Properties:
 lcd monitor:    Dell UltraSharp 1907FP (analog input)
  dimensions:    1280x1024 pixels (338x270 millimeters)
  resolution:    96x96 dots per inch

Code: [Select]
╭─vindsl@Boogaloo-6 ~  
╰─➤  uptime
 10:37:40 up  2:30,  1 user,  load average: 0.30, 0.75, 1.03

Okay, I'm done testing my 32-bit Peppermint install, for the day. 

Back to me Dells ...   8)
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 11, 2017, 12:57:44 pm
And, they just keep coming ...   :)


(http://vindsl.com/images/Screenshot_2017-02-11_09:21:39.png)


4.9.9 installed (*manually) and running fine on 32-bit Peppermint 7.  Gonna go install it on my 64-bit machines now.   8)
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: PCNetSpec on February 11, 2017, 03:24:11 pm
You do realise you can now upgrade the entire graphics stack too via the HWE (used to be known as the LTS Enablement Stack) ?
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

It's not "quite" ready for the main repo release, so you'll need to enable the "proposed" repo.

it updates the kernel to the 16.10 (4.8 series), and the graphics stack too.

Just thinking it should bring the graphics stack more in line with the 4.9 kernel you're using now .. a LOT of people have said 16.10 is better for gaming than 16.04, so maybe this will improve that, but I'm not enough of a gamer to be able to judge.
Title: Re: Linux Kernel 4.9.7 Brings Updates to the Intel i915 and InfiniBand Drivers, More
Post by: VinDSL on February 11, 2017, 08:57:22 pm
You do realise you can now upgrade the entire graphics stack too via the HWE (used to be known as the LTS Enablement Stack) ?
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

It's not "quite" ready for the main repo release, so you'll need to enable the "proposed" repo.

Yeah, might do that.  I generally don't worry about graphic stacks.  Thx for the reminder.

The 'trick' with proposed is to use it like salt n' pepper.  Enable it, sprinkle it on, and disable it again.

The 'problem' with proposed, these days, is there are a lot of incomplete packages in there, so you don't want to leave proposed enabled and forget about it.  It'll bite you in the azz sooner or later.   ;)