Update the kernel of Porteus v3.1

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#46 by neko » 02 Sep 2015, 17:45

upkernel-3.18.20-noarch-1.xzm was updated to
upkernel-3.18.21-noarch-1.xzm.

Please refer to
http://forum.porteus.org/viewtopic.php? ... 788#p34856

Thanks.

Kriss
Samurai
Samurai
Posts: 135
Joined: 06 Jul 2011, 07:07
Location: Russia

Re: Update the kernel of Porteus v3.1

Post#47 by Kriss » 10 Sep 2015, 01:48

1) I wasn't able to boot with your kernels with:

blacklist nouveau
options nouveau modeset=0

in /etc/modprobe.d/nvidia-installer-disable-nouveau.conf

While trying to install nvidia driver.


2)I was able to compile and boot with nvidia driver on 3.18.19 kernel but can't do it with 3.18.21.
Had to compile it under kernel 3.17.4 with your kernel sources/configs

3)Your config files for 3.18.21 are rejected (being changed) on x86_64 by make.
Suggestions/corrections/additions are always welcome.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#48 by neko » 10 Sep 2015, 03:14

@Kriss
I am sorry to trouble you.
I will check and report the result to you.
(except checking nvidia H/W that I don't have)

Thanks.

Kriss
Samurai
Samurai
Posts: 135
Joined: 06 Jul 2011, 07:07
Location: Russia

Re: Update the kernel of Porteus v3.1

Post#49 by Kriss » 10 Sep 2015, 03:33

I just reported it so you know that something is wrong. =)
And it was from the beginning.
Suggestions/corrections/additions are always welcome.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#50 by neko » 10 Sep 2015, 15:41

@Kriss
This is my report.

-------------------------------------------------------------------------
I replayed building 3.18.21 64bit 000-kernel.xzm.

[preparation]
(1)linux-3.18.21.tar.xz
https://www.kernel.org/pub/linux/kernel ... .21.tar.xz
(2)aufs-3.18.14.patch, 64bit-v3.18.21-config
upkernel-3.18.21-noarch-1.xzm@usr/local/share/upkernel/config/aufs-3.18.14.patch, 64bit-v3.18.21-config
http://www.mediafire.com/download/l74f9 ... arch-1.xzm
(3)05-devel.xzm
http://dl.porteus.org/x86_64/current/mo ... -devel.xzm

[operation]

Code: Select all

# uname -m
x86_64
# uname -r
3.18.20-porteus
# ls -1
05-devel.xzm
64bit-v3.18.21-config
aufs-3.18.14.patch
linux-3.18.21.tar.xz
# activate 05-devel.xzm
# xz -dc linux-3.18.21.tar.xz | tar -x
# cd linux-3.18.21
# patch -p1 < ../aufs-3.18.14.patch
# cp ../64bit-v3.18.21-config .config
# make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
# make -j4
# cp arch/x86/boot/bzImage ../vmlinuz
# make modules_install INSTALL_MOD_PATH=../
# make firmware_install INSTALL_MOD_PATH=../
# cd ../
# mkdir -p 000-kernel/sbin/
# cp -a /sbin/cryptsetup 000-kernel/sbin/.
# mv lib 000-kernel/.
# mksquashfs 000-kernel 000-kernel.xzm -b 256K -comp xz -Xbcj x86
# ls -1
000-kernel/
000-kernel.xzm
05-devel.xzm
64bit-v3.18.21-config
aufs-3.18.14.patch
linux-3.18.21/
linux-3.18.21.tar.xz
vmlinuz
The build was done completely.

I noticed the difference of 3.18.19 and 3.18.21.
Only 3.18.19 000-kernel.xzm includes /etc and /usr.
2 files:
/usr/doc/broadcom-sta-6.30.223.141/LICENSE.txt
/etc/modprobe.d/broadcom_blacklist.conf

Code: Select all

# Default driver for supporting broadcom wifi chipsets is proprietary broadcom-sta (wl.ko).
# Please refer to 'Broadcom wifi under Porteus' HOWTO
# in case when you want to use the opensource drivers (b43/brcmsmac):
# http://forum.porteus.org/viewtopic.php?f=39&t=1099
#
# Blacklist opensource drivers they wont interfere with wl.ko:

blacklist ssb
blacklist bcma
blacklist b43
blacklist brcmsmac
I built new 3.18.21 64bit 000-kernel.xzm that includes these /etc and /usr.
But I can not say that the new one will be effective to fix you trouble.

new.000-kernel.xzm (17M)
http://www.mediafire.com/download/hjtun ... kernel.xzm
-------------------------------------------------------------------------

Best regard.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#51 by neko » 09 Oct 2015, 04:15

updated to upkernel-3.18.22-noarch-1.xzm for kernel version 3.18.22.

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Update the kernel of Porteus v3.1

Post#52 by francois » 12 Oct 2015, 02:21

A simple question here. Is it possible to build linux-4.2.3 with the kernel headers that come with? And then could I use these kernel headers with another distribution with the same kernel version?
Prendre son temps, profiter de celui qui passe.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#53 by neko » 12 Oct 2015, 23:46

@francois
It is the investigation.

That it was found so far
that the "kernel version 4.2.3 source" can not be compiled
in "Porteus V3.1 and 05-devel.xzm" environment.

Code: Select all

gcc: error: unrecognized command line option ‘-fstack-protector-strong’
Thanks.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#54 by neko » 13 Oct 2015, 11:50

@francois
1.Is it possible to build linux-4.2.3 with the kernel headers that come with?
2.could I use these kernel headers with another distribution with the same kernel version?

Sorry, I can not answer exactly.
Because there may be many conditions on compiling kernel.

So, I have compiled linux-4.2.3.
The result was uploaded.
Please refer to the top article of this thread.
You can compile it too.

Thanks.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#55 by neko » 13 Oct 2015, 11:54

New Commands of Updating the Kernel of Porteus v3.1 to the Kernel v4.2.3
were added.

Thanks.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Update the kernel of Porteus v3.1

Post#56 by Bogomips » 13 Oct 2015, 22:00

Code: Select all

guest@porteus:~$ uname -r
4.2.3-porteus
KDE gave 7 notifications that sound device HDA NVidia had been removed. Any reason for this? alsamixer shows it being used, and there is also sound. :unknown:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#57 by neko » 14 Oct 2015, 02:52

@Bogomips
I tested that UP.Porteus-KDE4-v3.1-x86_64.iso runs.
It did not report a notification.
My PC doesn't have a NVidia environment.

If you have a available time,
please build v4.2.3 kernel with tuned configuration just fit your PC.


Porteus-KDE4-v3.1-x86_64.iso:
gotten from
http://dl.porteus.org/x86_64/current/Po ... x86_64.iso

UP.Porteus-KDE4-v3.1-x86_64.iso:
created by upkernel4 command

Thanks.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#58 by neko » 28 Oct 2015, 07:04

"upkernel4/upakernel4" command was updated to kernel version 4.2.5.
Please refer to the top article of this thread.

Thanks.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#59 by neko » 03 Nov 2015, 07:29

upkernel-3.18.22-noarch-1.xzm was updated to upkernel-3.18.23-noarch-1.xzm for kernel version 3.18.23.

Thanks.

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#60 by neko » 07 Nov 2015, 04:06

"upkernel/upakernel" command was updated to kernel version 3.18.24.
Please refer to the top article of this thread.


note:
1. kernel version 3.18.nn
Thirteenth long-term stable release, maintained from December 2014 to January 2017.

2. kernel version 4.1.nn
Fourteenth long-term stable release, maintained from July 2015 to September 2017.

3. kernel version 4.2.nn
Stable release


Thanks.

Locked