Skip to content

Commit

Permalink
linux: Add stable version 4.8.10
Browse files Browse the repository at this point in the history
Do as Greg says [1][2]:

> All users of the 4.8 kernel series must upgrade.

Enable certain tracers asked for by Peter (see diff at the end).

Note, that the regression in the *bnx2* driver, requiring firmware to be
present in the initramfs should be fixed.

Changes for Linux 4.8.9 [3][4]:

> Lately, new kernel releases are pushed like crazy, but we don't
> complain, as they always try to improve support for our devices or
> introduce security and bug fixes.
>
> Just four days after the release of Linux kernel 4.8.8, Greg
> Kroah-Hartman announced on November 19 the availability of the ninth
> maintenance update in the stable series, which currently powers
> several rolling distributions, including the popular Arch Linux,
> Solus, and openSUSE Tumbleweed. Linux kernel 4.8.9 is a fairly normal
> point release that changes a total of 97 files, with 725 insertions
> and 399 deletions.
>
> "I'm announcing the release of the 4.8.9 kernel. All users of the 4.8
> kernel series must upgrade," said Greg Kroah-Hartman. "The updated
> 4.8.y git tree can be found at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> linux-4.8.y and can be browsed at the normal kernel.org git web
> browser:
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary."
>
> ### Here's what was changed since Linux kernel 4.8.8 ###
>
> Looking at the appended shortlog and the diff since Linux kernel
> 4.8.8, we can notice that Linux kernel 4.8.9 comes with an updated
> networking stack that includes multiple improvements for the SunRPC
> remote procedure call protocol, along with some minor Netfilter,
> B.A.T.M.A.N. Advanced, and Ceph fixes, a workaround to the
> -Wmaybe-uninitialized warning for NFS v4.1 filesystems, and a few
> sound stack updates.
>
> Moreover, it looks like there are a few improvements to the s390, x86,
> and ARC architectures, and dozens of updated drivers, in particular
> for things like GPU (AMDGPU, AMD GPU Scheduler, Intel i915, and
> Radeon), general-purpose input/output (GPIO), iiO, IOMMU, MMC, NFC,
> NVM Express (NVMe), PINCTRL, PCI, RTC, SCSI, TTY, USB, Ethernet, and
> Watchdog. Download Linux kernel 4.8.9 source archive now from
> kernel.org.

Changes for Linux 4.8.10 [5][6]:

> You won't believe this, but new maintenance updates for the long-term
> supported Linux 4.4 kernel branch, as well as the Linux 4.8 kernel
> series, have been published today, November 21, 2016.
>
> The Linux kernel 4.8.10 and Linux kernel 4.4.34 LTS point releases
> come just two days after their previous maintenance updates, namely
> Linux kernel 4.8.9 and Linux kernel 4.4.33 LTS, so we can't imagine
> how busy OS vendors must be these days updating the kernels for their
> supported architectures. We decided to write a single story about both
> of these new kernel patches because they include pretty much the same
> changes.
>
> "I'm announcing the release of the 4.8.10 kernel. All users of the 4.8
> kernel series must upgrade," said Greg Kroah-Hartman. "The updated
> 4.8.y git tree can be found at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> linux-4.8.y and can be browsed at the normal kernel.org git web
> browser:
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary."
>
> ### Many SPARC64 improvements, updated Ethernet drivers ###
>
> While Linux kernel 4.8.10 changes a total of 61 files, with 1624
> insertions and 801 deletions, Linux kernel 4.4.34 LTS changes 57
> files, with 1499 insertions and 803 deletions, according to their
> appended shortlogs. The biggest part of the new patches are
> improvements to the SPARC64 hardware architecture, but there's also an
> updated networking stack with many IPv4 changes and a few IPv6, DCCP,
> and SCTP fixes.
>
> The Linux kernel 4.8.10 and Linux kernel 4.4.34 LTS also include a few
> updates to the Ethernet drivers, for STMicroelectronics, Broadcom and
> Mellanox devices. It's not much, but you still need to update your
> GNU/Linux distribution to these new versions. Power users and OS
> vendors can download the Linux kernel 4.8.10 and Linux kernel 4.4.34
> LTS source archives right now from kernel.org or through our website.

```
> diff -u /boot/config-4.8.8.mx64.119 /boot/config-4.8.10.mx64.121
--- /boot/config-4.8.8.mx64.119	2016-11-15 11:16:42.000000000 +0100
+++ /boot/config-4.8.10.mx64.121	2016-11-22 16:34:40.000000000 +0100
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.8.8 Kernel Configuration
+# Linux/x86 4.8.10 Kernel Configuration
 #
 CONFIG_64BIT=y
 CONFIG_X86_64=y
@@ -52,7 +52,7 @@
 CONFIG_INIT_ENV_ARG_LIMIT=32
 CONFIG_CROSS_COMPILE=""
 # CONFIG_COMPILE_TEST is not set
-CONFIG_LOCALVERSION=".mx64.119"
+CONFIG_LOCALVERSION=".mx64.121"
 CONFIG_LOCALVERSION_AUTO=y
 CONFIG_HAVE_KERNEL_GZIP=y
 CONFIG_HAVE_KERNEL_BZIP2=y
@@ -177,7 +177,7 @@
 CONFIG_NET_NS=y
 # CONFIG_SCHED_AUTOGROUP is not set
 # CONFIG_SYSFS_DEPRECATED is not set
-# CONFIG_RELAY is not set
+CONFIG_RELAY=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_INITRAMFS_SOURCE=""
 CONFIG_RD_GZIP=y
@@ -237,6 +237,7 @@
 # CONFIG_SLAB_FREELIST_RANDOM is not set
 # CONFIG_SYSTEM_DATA_VERIFICATION is not set
 # CONFIG_PROFILING is not set
+CONFIG_TRACEPOINTS=y
 CONFIG_KEXEC_CORE=y
 CONFIG_HAVE_OPROFILE=y
 CONFIG_OPROFILE_NMI_TIMER=y
@@ -1274,6 +1275,7 @@
 # Network testing
 #
 # CONFIG_NET_PKTGEN is not set
+# CONFIG_NET_DROP_MONITOR is not set
 # CONFIG_HAMRADIO is not set
 # CONFIG_CAN is not set
 # CONFIG_IRDA is not set
@@ -3902,6 +3904,7 @@
 # CONFIG_PAGE_EXTENSION is not set
 # CONFIG_DEBUG_PAGEALLOC is not set
 # CONFIG_PAGE_POISONING is not set
+# CONFIG_DEBUG_PAGE_REF is not set
 # CONFIG_DEBUG_OBJECTS is not set
 # CONFIG_DEBUG_SLAB is not set
 CONFIG_HAVE_DEBUG_KMEMLEAK=y
@@ -3914,7 +3917,6 @@
 CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
 # CONFIG_DEBUG_STACKOVERFLOW is not set
 CONFIG_HAVE_ARCH_KMEMCHECK=y
-# CONFIG_KMEMCHECK is not set
 CONFIG_HAVE_ARCH_KASAN=y
 # CONFIG_KASAN is not set
 CONFIG_ARCH_HAS_KCOV=y
@@ -3977,6 +3979,7 @@
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_USER_STACKTRACE_SUPPORT=y
+CONFIG_NOP_TRACER=y
 CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
 CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
@@ -3986,8 +3989,38 @@
 CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
 CONFIG_HAVE_FENTRY=y
 CONFIG_HAVE_C_RECORDMCOUNT=y
+CONFIG_TRACE_CLOCK=y
+CONFIG_RING_BUFFER=y
+CONFIG_EVENT_TRACING=y
+CONFIG_CONTEXT_SWITCH_TRACER=y
+CONFIG_TRACING=y
+CONFIG_GENERIC_TRACER=y
 CONFIG_TRACING_SUPPORT=y
-# CONFIG_FTRACE is not set
+CONFIG_FTRACE=y
+CONFIG_FUNCTION_TRACER=y
+CONFIG_FUNCTION_GRAPH_TRACER=y
+# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+CONFIG_FTRACE_SYSCALLS=y
+# CONFIG_TRACER_SNAPSHOT is not set
+CONFIG_BRANCH_PROFILE_NONE=y
+# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
+# CONFIG_PROFILE_ALL_BRANCHES is not set
+# CONFIG_STACK_TRACER is not set
+CONFIG_BLK_DEV_IO_TRACE=y
+# CONFIG_UPROBE_EVENT is not set
+# CONFIG_PROBE_EVENTS is not set
+CONFIG_DYNAMIC_FTRACE=y
+CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
+# CONFIG_FUNCTION_PROFILER is not set
+CONFIG_FTRACE_MCOUNT_RECORD=y
+# CONFIG_FTRACE_STARTUP_TEST is not set
+# CONFIG_MMIOTRACE is not set
+# CONFIG_HIST_TRIGGERS is not set
+# CONFIG_TRACEPOINT_BENCHMARK is not set
+# CONFIG_RING_BUFFER_BENCHMARK is not set
+# CONFIG_RING_BUFFER_STARTUP_TEST is not set
+# CONFIG_TRACE_ENUM_MAP_FILE is not set

 #
 # Runtime Testing
@@ -4264,10 +4297,11 @@
 CONFIG_KVM=m
 CONFIG_KVM_INTEL=m
 CONFIG_KVM_AMD=m
+# CONFIG_KVM_MMU_AUDIT is not set
 CONFIG_KVM_DEVICE_ASSIGNMENT=y
 # CONFIG_VHOST_NET is not set
 # CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
-# CONFIG_BINARY_PRINTF is not set
+CONFIG_BINARY_PRINTF=y

 #
 # Library routines
```

[1] https://lkml.org/lkml/2016/11/19/25
[2] https://lkml.org/lkml/2016/11/21/123
[3] http://news.softpedia.com/news/linux-kernel-4-8-9-adds-sunrpc-and-s390-improvements-lots-of-updated-drivers-510364.shtml
[4] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.9
[5] http://news.softpedia.com/news/linux-kernels-4-8-10-and-4-4-34-lts-out-now-add-sparc64-and-networking-fixes-510402.shtml
[6] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.10
  • Loading branch information
pmenzel committed Nov 22, 2016
1 parent 247360a commit 01ab1b5
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions linux-4.8.10-121.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#!/bin/env beesh

# note: CONFIG=/boot/config-WHATEVER BEE_MAKEFLAGS='-j 40' ./linux-xxx.bee

KERNELVERSION=${PKGVERSION}
if [ -z "${PKGVERSION[3]}" ] ; then
KERNELVERSION=${KERNELVERSION}.0
fi

# append extra version to get for example 4.8.0-rc4
KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH}

echo $KERNELVERSION

SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.xz"

# EXCLUDE=""

#CONFIG=

KERNELLOCAL=".mx64.${PKGREVISION}"
FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"

B=${S}

mee_patch() {
echo "PATCH $@"
bee_patch $@
}

mee_configure() {
echo "configure $@"
if [ -e /proc/config.gz ] ; then
zcat /proc/config.gz >config-current
RUNNING=config-current
else
RUNNING=/boot/config-$(uname -r)
fi

: ${CONFIG:=${RUNNING}}

if [ ! -e ${CONFIG} ] ; then
echo "can't find config '${CONFIG}'"
exit 1
fi

cp -v ${CONFIG} .config

LOCALVERSION="\"${KERNELLOCAL}\""
sed -i -e "s@CONFIG_LOCALVERSION=.*@CONFIG_LOCALVERSION=${LOCALVERSION}@" .config

echo "doing make -C ${S} olddefconfig in ${PWD} .."

make olddefconfig

echo "doing make -C ${S} menuconfig in ${PWD} .."

make menuconfig
}

mee_build() {
echo "build $@"
make ${BEE_MAKEFLAGS}
}

mee_install() {
echo "install $@"

make modules_install INSTALL_MOD_PATH=${D}
make install INSTALL_PATH=${D}/boot
# make firmware_install INSTALL_MOD_PATH=${D}

rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build}

ln -sv /usr/src/linux/${PKGALLPKG}/source ${D}/lib/modules/${FULLKERNELVERSION}/source
ln -sv /usr/src/linux/${PKGALLPKG}/build ${D}/lib/modules/${FULLKERNELVERSION}/build

ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION}
}

0 comments on commit 01ab1b5

Please sign in to comment.