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...
Locked
neko
Contributor
Contributor
Posts: 865
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#76 by neko » 18 Nov 2015, 12:59

@Bogomips
Thank you for trouble report.
If you have a good idea to fix your reported trouble,
would you tell me?
I will try.

Thanks

--------------------------------------------------
@brokenman
wrote
"Perhaps you should be 'the kernel guy'".

If I were 'the kernel guy', I would be glad.
But I don't have enough skill.

I am only a operator to build kernel.
I don't understand linux kernel and the build mechanic.

Thanks.

--------------------------------------------------
The sumary report about the kernel update is as follow.

1. released version
Kernel version of Porteus V3.1 is V3.17.4.
Kernel version of porteus-nemesis-v3.2-x86_64.iso is V4.3.0.


2. kernel build configuration
(1) V3.18 series
V3.18.17 is differ from V3.17.4 (Porteus V3.1).
V3.18.18,19,20,22,23,24 are same as V3.18.17.

(2) V4.2 series
V4.2.3 is differ from V3.18.17.
V4.2.5,6 are same as V4.2.3.

(3) V4.3 series
64bit V4.3.0 is same as porteus-nemesis-v3.2-x86_64.iso.
32bit V4.3.0 is converted from 64bit V4.3.0.
V4.3.0 is differ from V4.2.3.

note:
configs.tgz (10 K) includes those kernel configs.
http://www.mediafire.com/download/20hmu ... onfigs.tgz


3. troubles
[V3.18.18]
(1) from Ed_P
"didn't support any Wi-Fi connections"
viewtopic.php?f=75&t=4788#p35118
[3.18.20]
(2) from Kriss
"certain fonts become smaller on 27" screen"
viewtopic.php?f=75&t=4788&start=30#p35922
[3.18.21]
(3) from Kriss
"I wasn't able to boot with your kernels with"
"can't compile nvidia driver with 3.18.21."
"config files for 3.18.21 are rejected (being changed) on x86_64 by make"
viewtopic.php?f=75&t=4788&start=45#p36670
[4.2.3]
(4) from Bogomips
"KDE gave 7 notifications that sound device HDA NVidia had been removed."
viewtopic.php?f=75&t=4788&start=45#p37666
[4.2.6]
(5) Bogomips
"There is noticeable delay after drawing the frame, before the window filled in (gtk+3)."
"stuck in open dialog of text editor, when trying to open 'menu.lst'"
"100% cpu, Alt+SysRq+F did not work."
viewtopic.php?f=75&t=4788&start=60#p38942


3.1. about Nouveau driver
[3.18.18]
(1) from Bogomips
viewtopic.php?f=75&t=4788&start=15#p35537
viewtopic.php?f=75&t=4788&start=15#p35543
[3.18.19]
viewtopic.php?f=75&t=4788&start=30#p35611
[3.18.20]
viewtopic.php?f=75&t=4788&start=30#p35879


4. Performance
[V3.18.18]
(1) from Bogomips
viewtopic.php?f=75&t=4788#p35223
viewtopic.php?f=75&t=4788#p35253
(2) from neko
viewtopic.php?f=75&t=4788&start=15#p35279
viewtopic.php?f=75&t=4788&start=15#p35317
[3.18.19]
(3) from Bogomips
viewtopic.php?f=75&t=4788&start=15#p35492
[3.18.20]
(4) from neko
viewtopic.php?f=75&t=4788&start=30#p35927


Thanks.

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

Re: Update the kernel of Porteus v3.1

Post#77 by Bogomips » 18 Nov 2015, 13:26

@neko

No idea about fixing 4.2.6, moving on to 4.3.0 have not spotted any irregularities.

Being a bit of a perfectionist myself, your summary report nicely rounds off your contribution. IMHO Excellence :good:
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
Contributor
Contributor
Posts: 865
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#78 by neko » 19 Nov 2015, 08:31

change a set of firmware in kernel v4.3.0 for 000-kernel.xzm slim down.

Please refer to the top article of this thread.

Thanks.

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

Re: Update the kernel of Porteus v3.1

Post#79 by Bogomips » 19 Nov 2015, 19:52

Update of Earlier Report

4.3 also seems to have similar symptoms to 4.2.6. Now reverted to 4.2.5 last stable kernel used for 15 days without problem, before updating to 4.2.6.

Have an idea what could be causing this. Running KDE, kio_thumbnail jumped to 98.3% of cpu. Deleting and deleting made no difference. In the end ended up with 4 kio_thumbnail processes, with one of them taking up 98.3% of cpu. Went init 3 then init 4, but kio_thumbnail process remained. REISUB was only way out.

After reboot it was kio_file with kate, kde text editor. Again multiple kio_file processes. Killed parent process by id#, which turned out to be ksmserver. However, have met cpu problem with ksmserver before, when having unresolved dependency. Looks like an unknown symbol reference is caught somewhere along the line, ksmserver informed, after which, ksmserver causes the process at fault to go into tight cpu loop.

Even reboot from root terminal could not complete, had to resort to reisub. Will retry later 4.3 with new firmware, though I doubt it would fix the problem.
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
Contributor
Contributor
Posts: 865
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#80 by neko » 21 Nov 2015, 13:46

@Bogomips
I thank the valuable report of YOU.

The Archlinux's firmware packages were uploaded in order to pick up one needed.
And the 'tar' file includes "mod.his" and "fir.his".

Code: Select all

# make modules_install INSTALL_MOD_PATH=../ > ../mod.his 2>&1
# make firmware_install INSTALL_MOD_PATH=../ > ../fir.his 2>&1
I am glad if it will be useful for you.

firmware.tgz (69 M)
http://www.mediafire.com/download/fxc35 ... rmware.tgz
md5sum: 7425fb997d6025b87a0f637ac9895687 firmware.tgz


Thanks.

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

Re: Update the kernel of Porteus v3.1

Post#81 by Kriss » 03 Dec 2015, 21:37

neko wrote:@Bogomips
[3.18.20]
(2) from Kriss
"certain fonts become smaller on 27" screen"
viewtopic.php?f=75&t=4788&start=30#p35922
I recently checked it. It's not because of your config, it's the same for all new kernels. Sorry for misinformation.
I compiled default 4.2.x kernel with small changes for Xen recently and fonts were smaller too.
Suggestions/corrections/additions are always welcome.

neko
Contributor
Contributor
Posts: 865
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#82 by neko » 04 Dec 2015, 12:52

@Kriss
Thank you for your follow-up.

By the way,
now I study on "SYSTEMD".
I am too slow to understand it.

Thanks.

kalo86
Samurai
Samurai
Posts: 133
Joined: 28 Mar 2011, 18:04
Location: Italy

Re: Update the kernel of Porteus v3.1

Post#83 by kalo86 » 05 Dec 2015, 16:22

Hello guys,

I'm a Porteus user, days ago I changed my laptop and now I have boot issue with my new HP Spectre x360 convertible.
I'm not able to boot even in text mode Porteus v3.1 x64.

Is there someone who may share an update kernel module in .xzm format? I think the boot issue is due to the old kernel of Porteus v3.1...
Thank you in advance,

Regards,

kalo86

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

Re: Update the kernel of Porteus v3.1

Post#84 by Bogomips » 05 Dec 2015, 18:39

Hi Kalo

See first post of this thread for directions. Update to:

Code: Select all

guest@porteus:~$ uname -a
Linux porteus 4.2.5-porteus #1 SMP PREEMPT Wed Oct 28 03:06:11 UTC 2015
This is the latest that has not given me any trouble so far.
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

kalo86
Samurai
Samurai
Posts: 133
Joined: 28 Mar 2011, 18:04
Location: Italy

Re: Update the kernel of Porteus v3.1

Post#85 by kalo86 » 05 Dec 2015, 20:22

Hi Bogomips,

I cannot run the tool to update the kernel module...
I only need one couple of file: xzm module for kernel and initrd.xz for the lib/module folder (related to the new kernel version).
I will read again the first topic, maybe there is a link to the newest file.
Regards,

kalo

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

Re: Update the kernel of Porteus v3.1

Post#86 by Bogomips » 05 Dec 2015, 21:47

Hi kalo

Here's the deal. I can offer advanced kernel 32bit. If you can get that running, you can then use kernel tool for 64bit advancement. Will then put up the xzm for 64 bit iso. Hopefully it will recognise a 64bit iso.

You need these files:

Code: Select all

guest@porteus:~$ tar cf upd4.2.5 vmlinuz initrd.xz 000-kernel.xzm 
guest@porteus:~$ ls -lh upd4.2.5 
-rw-r--r-- 1 guest guest 20M Dec  5 22:10 upd4.2.5
guest@porteus:~$ md5sum upd4.2.5 
fff4b8f5328588b543b1201a6139cc17  upd4.2.5
guest@porteus:~$ tar tf upd4.2.5 
vmlinuz
initrd.xz
000-kernel.xzm
Download upd4.2.5.

Let me know if successful.
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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Update the kernel of Porteus v3.1

Post#87 by brokenman » 05 Dec 2015, 22:41

I only need one couple of file: xzm module for kernel and initrd.xz for the lib/module folder (related to the new kernel version).
If you replace the kernel (vmlinuz) you should also replace 000-kernel.xzm since it contains all updated kernel modules/drivers.
How do i become super user?
Wear your underpants on the outside and put on a cape.

kalo86
Samurai
Samurai
Posts: 133
Joined: 28 Mar 2011, 18:04
Location: Italy

Re: Update the kernel of Porteus v3.1

Post#88 by kalo86 » 05 Dec 2015, 22:43

Hi brokenman, you're correct.
Anyway I'm going to run Porteus Nemesis, I just tried to boot on my new HP laptop and it's working fine!
Thank you,

Regards,

kalo86

neko
Contributor
Contributor
Posts: 865
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Update the kernel of Porteus v3.1

Post#89 by neko » 06 Dec 2015, 08:44

------------------------------------------------
@Bogomips
I downloaded your 'tar' file "upd4.2.5" for kernel configuration research.
(The md5sum of 000-kernel.xzm, initrd.xz, and vmlinuz were same as upkernel-4.2.5-noarch-1.xzm.)

I would like to change a current version for better configuration.
If you have a good one, please open it for us. So much we will be happy.

Thanks.

------------------------------------------------
@kalo86
Tool of Updating the Kernel of Nemesis v3.2 to the Kernel v4.3.0
(upnkernel-4.3.0-noarch-2.xzm)
is not fit to Nemesis v3.3.

v3.3 initrd.xz is differ with v3.2 one.

Some issues of v3.2 have been updated.

Therefore, please don't use the upnkernel for v3.3 Nemesis.

Thanks.

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

Re: Update the kernel of Porteus v3.1

Post#90 by Bogomips » 07 Dec 2015, 00:17

@neko

The bloke could not get into Porteus owing to his new h/w. The thinking was that a newer kernel was needed. So I offered the kernel from your kernel updater (get into Porteus with 32bit kernel, then use your updater to update 64bit iso), but he did not get back to me, and I now see he has decided to do Nemesis, so there is no need for me to bother with him any more.
neko wrote:I would like to change a current version for better configuration.
If you have a good one, please open it for us. So much we will be happy.
Do not understand what you mean here. :(
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

Locked