Page 1 of 1

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

Posted: 07 May 2014, 19:41
by M. almighty
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

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

Posted: 07 May 2014, 20:59
by fanthom
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.

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

Posted: 09 May 2014, 00:42
by M. almighty
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

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

Posted: 17 May 2014, 17:43
by fanthom
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

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

Posted: 22 May 2014, 21:54
by M. almighty
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.

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

Posted: 24 May 2014, 08:38
by fanthom
3.12.19-rt30 kernel boots beautifully here (tested in Vbox):
Image

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

Posted: 24 May 2014, 19:52
by M. almighty
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. :)