![]() |
Re: [Announce] kernel-plus for Harmattan
Quote:
Thank you for this. This fix worked. BTW, extra thanks for a nice way of showing "instructions". Simple, clever and working. |
Re: [Announce] kernel-plus for Harmattan
Hello!
can anybody compile Nemo kernel with all these nice fixies? |
Re: [Announce] kernel-plus for Harmattan
Quote:
|
Re: [Announce] kernel-plus for Harmattan
Quote:
pkill pkgmgrd ~ # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i opptimizer-kernel-plus_1.5.3_armel.deb Aegis rejecting opptimizer-kernel-plus_1.5.3_armel.deb: Could not open debian archive aegis aborting dpkg -- all listed package files rejected Compilation failed in require. ~ # |
Re: [Announce] kernel-plus for Harmattan
@Garp you again put file in different folder where you trying to execute command? :)
@juiceme NAT :) |
Re: [Announce] kernel-plus for Harmattan
Quote:
First installed 'standard' opp 1.5.4 and ui 1.2.7 due to this http://talk.maemo.org/showpost.php?p...&postcount=632 and it worked but setup Opp and run Optimize test said error 'No such file etc' Then your attachment opp-kernel-plus 1.5.3 with mentioned result:confused::confused: EDIT: reboot tried again and now install seems to work!:) But same message as with standard 1.5.4 'No such file or directory' trying to setup and run Opptimize test button! What's wrong here:confused: Log: 'Failed to execute Loader' |
Re: [Announce] kernel-plus for Harmattan
Quote:
Looks like enabling GPT in the kernel was only half the battle! Will patch and rebuild as soon as possible, if it doesn't break anything (it shouldn't, iirc /sbin/preinit is nice enough to mknod things for you) Quote:
I've made some strides towards fixing kexec() stuff so kernel-plus, built with a different configuration, could be used as ubiboot's kernel. Too lazy to rebase back on the git kernel tree yet. This will hopefully land with the next source drop. Also, congrats on the Council, juice! Quote:
The official Opptimizer 1.5.4 modules are rejected by the kernel - they're built against ol' 2.6.32.54 ;) |
Re: [Announce] kernel-plus for Harmattan
Quote:
But same message as with standard 1.5.4 'No such file or directory' trying to setup and run Opptimize test button! What's wrong here Log: 'Failed to execute Loader' |
Re: [Announce] kernel-plus for Harmattan
Quote:
I still have some space left on my extended part so I could be the guinea pig if you like/finish (whenever). |
Re: [Announce] kernel-plus for Harmattan
Quote:
Try 'modprobe opptimizer'. |
Re: [Announce] kernel-plus for Harmattan
Quote:
Question to Creamy Goodness Originally Posted by TMavica View Post By the way, is it necessary to intall yours module? You answer: No - kernel-plus includes an opptimizer module compiled against the 2.6.32.61 ABI. http://213.128.137.28/showpost.php?p...postcount=1258 Then coderus stated: install attachment to load opptimizer module on demand by opptimizer ui. just cutted modules from package and patched loader to work with kernel-compiled modules Attached Files File Type: deb opptimizer-kernel-plus_1.5.3_armel.deb (5.6 KB, 28 views) http://talk.maemo.org/showpost.php?p...&postcount=227 I have now installed this opptimizer (core) from coderus and the ui module 1.2.7 from first page (overclocking kernel modules + UI for PR1.3 [ko v1.5.4] [ui v1.2.7]) Run /sbin/modprobe opptimizer both before and after installing 1.2.7 gives FATAL ERROR: Module opptimizer not found Is I missing something or...?:confused: |
Re: [Announce] kernel-plus for Harmattan
you sure you using latest kernel/kernel including opptimizer module?
|
Re: [Announce] kernel-plus for Harmattan
Quote:
linux_2.6.32.61-plus-20131128.tar.gz but have problems running apt-get update due to harmattan/dev-nokia.com harmattan/sdk/non-free (freeze waiting for heads returningly!):confused: |
Re: [Announce] kernel-plus for Harmattan
Quote:
Now, install kernel-plus, and on top of that, install coderus' Opptimizer UI. Modprobe opptimizer. Launch the UI, and it should work. |
Re: [Announce] kernel-plus for Harmattan
Quote:
Just for understanding coderus opp kernel-plus_1.5.3 is that an UI meaning don't need 1.2.7 UI from Creamy Goodness? |
Re: [Announce] kernel-plus for Harmattan
@Garp show [lsmod | grep opptimize] output
|
Re: [Announce] kernel-plus for Harmattan
Quote:
run lsmod | grep opptimize shows nothing OR is there a log somewhere? and /sbin/modprobe opptimizer nothing either (but now no Fatal error message:Module opptimizer not found) |
Re: [Announce] kernel-plus for Harmattan
if no error message it means module loaded. install my package and then ui. it will work.
|
Re: [Announce] kernel-plus for Harmattan
Quote:
And UI is that UI 1.2.7 from Creamy Goodness first page? |
Re: [Announce] kernel-plus for Harmattan
yes and yes
|
Re: [Announce] kernel-plus for Harmattan
Problem solved thanks to coderus and hurrian!:)
|
Re: [Announce] kernel-plus for Harmattan
OK Opptimizer now works with kernel plus using coderus core 1.5.3 together with UI 1.2.7.
But using Ubiboot and switch between kernels shows that Opptimizer then don't work with kernel l2fix (shows Unknown setup and test button 'No such file or directory) so you have to choose which kernel to use if using Opptimizer!?:rolleyes: |
Re: [Announce] kernel-plus for Harmattan
@Garp lol, why you switching kernels? for fun? :D
|
Re: [Announce] kernel-plus for Harmattan
Quote:
And Ubiboot invites to do so? |
Re: [Announce] kernel-plus for Harmattan
@Garp different modules versions
|
Re: [Announce] kernel-plus for Harmattan
Hi,
After booting kernel-plus a reboot occurs after playing the nokia sound (if there was no ubiboot, it'd be a reboot loop) Why can it happen? Thanks |
Re: [Announce] kernel-plus for Harmattan
forgot about modules?
|
Re: [Announce] kernel-plus for Harmattan
Quote:
If your installation has been correctly done (all modules in correct folder, depmod done, no funny business in preinit...) then the problem might be one of your specific device. What you might want to do is use flasher to disable the watchdogs in R&D mode and try if you can boot it up that way. (sudo flasher --set-rd-flags=no-omap-wd,no-ext-wd,no-lifeguard-reset) Then check your syslog to see what's the thing that ails you. If that does not work, then hooking up serial console is the way to find out (almost) all boot related problems. |
Re: [Announce] kernel-plus for Harmattan
Quote:
'The official Opptimizer 1.5.4 modules are rejected by the kernel - they're built against ol' 2.6.32.54' And reverse: version 1.5.3 don't fit to kernel l2fix, that's it!?;) |
Re: [Announce] kernel-plus for Harmattan
@Garp exactly
|
Re: [Announce] kernel-plus for Harmattan
Can someone tell me how far this open mode goes? uname -a returns the correct kernel version, and the system works a lot faster than the normal n9 one, which is really nice to see.
But Ive tried to install a package with dpkg -i and Ive received an aegis security error. So I guess aegis is not fully patched out? using dpkg.real did the trick, but normally the kernel should disable aegis, or do I understand it wrong? |
Re: [Announce] kernel-plus for Harmattan
openmode patch includes allowing to load unsigned kernel modules, executing binaries from any location, unrestricting root privileges and disabling refhash integrity check. thats all.
you cant remove aegis from kernel, because many os components are based on aegis services, and you cant rebuild system. if you want aegis-free environment you'll use Nemo. |
Re: [Announce] kernel-plus for Harmattan
Quote:
The patched dpkg checks for file signatures when installing system packages - are you using you used Code:
export AEGIS_FIXED_ORIGIN="com.nokia.maemo" |
Re: [Announce] kernel-plus for Harmattan
Thanks for clearing that up.
Yes ive used that export and then I got it working. Ive installed the aegis-hack afterwords and now everything works properly :) |
Re: [Announce] kernel-plus for Harmattan
Quote:
Is there any news about "kernel-plus 2.6.32.61 r7" or "kernel-plus 2.6.32.61 Final" or newer than 61? Thanks a lot |
Re: [Announce] kernel-plus for Harmattan
Just a little update, since I've been off TMO for quite a while:
I'm working on rebasing kernel-plus on top of the Mer N9/50 2.6.32 kernel and Mer toolchain, as the Harmattan SDK is officially offline (and deprecated, if I kept building with HSDK, it'd be a pain for others to install and build using it), and it'd be a lot easier to track Git commits with the log from the Mer N9 kernel. |
Re: [Announce] kernel-plus for Harmattan
Quote:
I would build the kernel myself, but no way to download the sdk, as you mentioned... |
Re: [Announce] kernel-plus for Harmattan
@Hurrian @Juiceme i have a non-standart question. Is there any way in kernel to have display framebuffer in portrait rotation? I'm asking because of sailfishos v > 1.0.2.5 going to be crazy on N9's framebuffer. I know about fbrotation cmdline parameters, but it seems not to work.
|
Re: [Announce] kernel-plus for Harmattan
Quote:
I suspect it's related to this bug report filed quite some time ago. WARNING: This will flip display 180 degrees, but touch mappings will not rotate! You may need to reboot after. Code:
echo 2 > /sys/class/graphics/fb0/rotate Quote:
I've trashed my build VM with the Harmattan SDK on it, leaving me with one option - migrating to Mer+SB2 SDK. The source code is here for anyone with a functioning Mer+SB2+Nemo N950 SDK. TODO:
|
Re: [Announce] kernel-plus for Harmattan
I know this'll be a double post, but I just cant resist - I got a little too bored last night while hopped up on coffee.
It's a little teaser of what's to come. Code:
[ 0.000000] Booting Linux on physical CPU 0 I've spent the night patching Aegis to build and link properly against 3.5.3, This turns the boot process into potato once /sbin/init runs, as IIRC it has Aegis hooks. Maybe I need to disable the stock Unix DAC? I'll make a diff and post binaries for any devs to test and work with me in a few. Based on filippz's kernel source tree. EDIT: I've gotten aegis to load as a LSM! :D One minor problem - it looks like due to some methods I've removed (due to deprecated kernel API or somesuch) cause aegis to go completely tits up. You will get a MALF if you boot this kernel, in its current state. You will render Harmattan unbootable (broken refhashlist?) On the plus side, validator-init runs (you get the MALF screen), which means userspace is communicating with the kernel (not in the way we'd want to, but hey, it's a start!) Points of interest: security/aegis/validator/validator.c @525: ipp_hashlist_load [...] Function entirely removed and stubbed, first oops. The original code (this commit, same file, line 530) can probably be rewritten. The code in question that breaks: Code:
bufptr = dentry_path(file->f_vfsmnt->mnt_mountpoint, buffer, buflen); @1338: #if CONFIG_SECURITY_AEGIS_CREDP .task_setgroups and .task_setgid are removed, reflecting a kernel API change (1, 2) Investigate how important these LSM hooks are to Aegis? security/aegis/validator/enforce.c @188: valinfo.hashreq [...] Should probably be changed back to Code:
valinfo.hashreq = (val & HASH_REQ_BIT) ? 1 : 0; WARNING! READ THE ABOVE FIRST! The kernel is here compiled with debug info and more printks, in case some of you have a serial port adapter and/or a propensity for kdb Source patch is here apply on top of filippz's kernel source tree use n9_harmattan_defconfig to build a kernel with aegis enabled WARNING! WARNING! WARNING! WARNING! |
All times are GMT. The time now is 16:22. |
vBulletin® Version 3.8.8