[partially Solved/Testers needed] kernel other than 3.13.x

Post here if you are a new Porteus member and you're looking for some help.
M. almighty
White ninja
White ninja
Posts: 4
Joined: 07 May 2014, 19:02
Distribution: Debain, dynebolic, ...Porteus!
Location: Germany

[partially Solved/Testers needed] kernel other than 3.13.x

Post#1 by M. almighty » 07 May 2014, 19:41

other porteus kernel than 3.13.x won't load

Hi dear Porteus community & first things first:

Porteus is an amazing linux distro, it reminds me of dynebolic back in the day though Porteus (especially 3.0) is much more advanced and thus, well, way more 'forkable'.

Which brings me to my current issue:

After successfully creating two new porteus 3.0 kernel (i486 and x86_64 respectively) with the -ck patches and the included BFS scheduler I decided to compile a Porteus kernel with the realtime (-rt) patches. (Which can be found here: https://www.kernel.org/pub/linux/kernel/projects/rt/)

Since the patches aren't offered the the 3.13.x kernel I compiled successfully two 64-bit kernel: 3.12.15-rt25 and 3.14.2-rt3.

After creating the new vmlinuz boot image and the Porteus kernel module according to the official documentation (http://www.porteus.org/component/conten ... ernel.html - which is very good, by the way) and a reboot and choosing the first boot entry, the system freezes while showing something like:

Code: Select all

initializing/loading initrd.xz
(This is usually shown before loading the actual Porteus modules.)

So here are my questions:

- Is it possible to use a different Porteus kernel than 3.13.x in general?
- If yes, is it possible without modifying the initrd.xz?

(Although I'm not afraid of modifying the initrd.xz (I guess this site - http://thongchaic.blogspot.de/2013/05/m ... rd-in.html - offers quite a good start) I'd like to avoid it.)

My 64-bit Porteus configuration is:
- 3.0 LXDE vanilla + kde, devel and printing modules
- installed via Yumi (http://www.pendrivelinux.com/yumi-multi ... b-creator/) on 8 gB USB drive

Thanks in advance &
Cheers,

M.


Files

issues (-rt patches, only got 3.12.15-rt)
- x86_64: http://www.mediafire.com/download/8pddm ... 3.12.15-rt + http://www.mediafire.com/download/nco5l ... 3.12.15-rt

stable (-ck patches)
- x86_64: http://www.mediafire.com/download/69iui ... .3.13.9-ck + http://www.mediafire.com/download/649fx ... .3.13.9-ck
- i486: http://www.mediafire.com/download/a5cn7 ... .13.11-ck1 + http://www.mediafire.com/download/ervt8 ... .13.11-ck1

aufs3 script for kernel 3.12. (needs git, stores in /tmp)

Code: Select all

#!/bin/sh

mkdir /tmp/aufs$$
cd /tmp/aufs$$
git clone git://git.code.sf.net/p/aufs/aufs3-standalone aufs3-standalone.git
cd aufs3-standalone.git
git checkout origin/aufs3.12
mkdir ../a ../b
cp -r {Documentation,fs,include} ../b
rm ../b/include/uapi/linux/Kbuild 2>/dev/null || rm ../b/include/linux/Kbuild
cd ..
diff -rupN a/ b/ > /tmp/aufs3-linux-3.12.patch
cat /tmp/aufs$$/aufs3-standalone.git/*.patch >> /tmp/aufs3-linux-3.12.patch
Last edited by M. almighty on 24 May 2014, 19:54, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: other porteus kernel than 3.13.x won't load

Post#2 by fanthom » 07 May 2014, 20:59

going on holiday tomorrow so may have no time to look at it very soon but please upload your kernel config.
please also try these patches (will be using them in next version of kiosk):
http://dl.porteus.org/i486/testing/linu ... atches.tar
as i have included a fix for aufs which is affecting 3.12.x branch.

good luck.
Please add [Solved] to your thread title if the solution was found.

M. almighty
White ninja
White ninja
Posts: 4
Joined: 07 May 2014, 19:02
Distribution: Debain, dynebolic, ...Porteus!
Location: Germany

Re: other porteus kernel than 3.13.x won't load

Post#3 by M. almighty » 09 May 2014, 00:42

Dear fanthom - thanks for the provided patches. Have a nice holiday trip - I'll try the patches asap.

Meanwhile, here's my 3.12.15-rt25 kernel .config @ mediafire: http://www.mediafire.com/view/cud11k7ec1u6bwu/.config

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: other porteus kernel than 3.13.x won't load

Post#4 by fanthom » 17 May 2014, 17:43

cant find whats wrong with this config - everything looks ok. please upload your vmlinuz and 000-kernel.xzm and i will try to boot it on my PC.
thanks
Please add [Solved] to your thread title if the solution was found.

M. almighty
White ninja
White ninja
Posts: 4
Joined: 07 May 2014, 19:02
Distribution: Debain, dynebolic, ...Porteus!
Location: Germany

Re: other porteus kernel than 3.13.x won't load

Post#5 by M. almighty » 22 May 2014, 21:54

Hi fanthom,

here are the porteus 3.0_x64 kernel files I build with your provided squashfs patch:

Issues
vmlinuz.3.12.19-rt30.failed2: http://www.mediafire.com/download/31945 ... 30.failed2
000-kernel.xzm.3.12.19-rt30.failed2: http://www.mediafire.com/download/nuuga ... 30.failed2
Kernel 3.12.19-rt30.failed2 config: http://www.mediafire.com/view/i3zxjyd93lcbl44/.config

It still freezes after the porteus boot loader screen. It seems to an issue with the rt-patchset itself.

(To anyone who want to try it also all by himself: for a successfull kernel compilation only the RT-level 4 ('Basic PREEMT-Kernel') works.)

Strangely, a 'vanilla' 3.12.19 porteus_x64 kernel works:
vmlinuz.3.12.19: http://www.mediafire.com/download/03uuz ... uz.3.12.19
000-kernel.xzm.3.12.19: http://www.mediafire.com/download/yjdoc ... zm.3.12.19

But nevermind - for working with a real-time kernel I consider switching to Musix or Ubuntu studio.

Regarding porteus 3.0_x64 I updated the ck1 patchset - make sure you set the kernel cheat code 'elevator=bfs' for it's full potential:
Stable
vmlinuz.3.13.11-ck1: http://www.mediafire.com/download/2634c ... .13.11-ck1
000-kernel.xzm.3.13.11-ck1: http://www.mediafire.com/download/nfe55 ... .13.11-ck1

Porteus still rocks. :Yahoo!:

Regards,
M.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: other porteus kernel than 3.13.x won't load

Post#6 by fanthom » 24 May 2014, 08:38

3.12.19-rt30 kernel boots beautifully here (tested in Vbox):
Image
Please add [Solved] to your thread title if the solution was found.

M. almighty
White ninja
White ninja
Posts: 4
Joined: 07 May 2014, 19:02
Distribution: Debain, dynebolic, ...Porteus!
Location: Germany

Re: other porteus kernel than 3.13.x won't load

Post#7 by M. almighty » 24 May 2014, 19:52

That's - very awesome! - but also quite interesting: I only tested all my kernel modifications it with an old AM2+ Motherboard (Asus M3N78-VM, Athlon 64 X2 5200+, 2,5 gB RAM). Maybe I have to check out the Bios settings (HPET? APCI?) of that very motherboard.

Maybe somebody else may want to check the afromentioned kernel patches for porteus 3.0_x64 out. I really would appreciate that.

@ fanthom: thank you very much for taking some of your time to check out and actually test my kernel builds. :)

Post Reply