Introducing the DEF's Pack kernel chooser.


Linux-SWAT

Forum Addict!
Joined
Feb 13, 2010
Messages
9,187
Hi.


You can grab it here :


http://openpandora.free.fr/openpandora/def_pack/def_pack_kernel/


(if asked, i will tweak my homepage to avoid confusion with original OP page, just realized the name i choosed is too close :/)


I compiled some custom kernels, and the first choice is the original/unmodified HF6 kernel, so you can come back to it whenever you want.


Feel free to test (at your own risks) and ask me some more configs.


Enjoy.

11 december 2011 :


v0.5


-Longer timeouts to let the copy finish on slow SD cards

--== The DEF's Pack kernels ==--


Thanks to OP team :


http://pandorawiki.o...ness_Developers


Other guys :


http://pandorawiki.o...ware_Developers


And other other guys :


http://pandorawiki.o...ndex#Forum_Mods


And other other other guys :


http://boards.openpandora.org


Very special thanks to Notaz


Thanks to Patrick Volkerding :


http://slackware.com


And Stuart Winter


http://www.armedslack.org


Thanks to all LQ.org answerers :


http://www.linuxquestions.org


And, of course, Richard Stallman and Linus Torvalds.


##########


Hi !


Warning :


This package is in beta cycle.


Use it at your own risks.


Enjoy,


Linux-SWAT,


also known as DEF.


##########


Functionalities (what this pack does) :


This package is intended to give you a wide choice of 2.6.27 kernels.


##########


3 december 2011 :


v0.4


-Added Realtek 8192cu.ko and 8712u.ko modules.


-Added "depmod -ae" at end of modular kernels install.


##########


19 november 2011 :


v0.3


-Kernels + modules are now compressed, resulting in a much smaller archive.


##########


14 november 2011 :


First beta release v0.2


Available kernels :


#1 official - The official OP kernel


#2 official-nodebug - The official OP kernel without debugging options


#3 DEF's kernel - A newly compiled kernel (slim and fast, 5s less to boot, utf-8 support, etc.) :


-Removed Initial RAM filesystem and RAM disk (initramfs/initrd) support.


-Removed Forced module loading.


-Removed Forced module unloading.


-Removed Module versioning support.


-Removed Source checksum for all modules.


-Removed Support for Large Single Files.


-Added Preemptible Kernel (may drain battery faster although first tests shows estimated battery time stays the same).


-Removed IP: kernel level autoconfiguration (!).


-Added all bunch in Network packet filtering framework (Netfilter) as modules.


-Added 802.1d Ethernet Bridging as a module.


-Added 802.1Q VLAN Support as a module.


-Added all bunch in QoS and/or fair queueing as modules.


-Removed mac80211 debugging features.


-Added Plan 9 Resource Sharing Support (9P2000) as a module.


-Added Multiple devices driver support (RAID and LVM).


-Added RAID-0 (striping) mode and RAID-1 (mirroring) mode as modules.


-Added Device mapper support as a module.


-Added Bonding driver support as a module (may be fun with two usb adapters).


-Added a bunch of WLAN drivers.


-Added the 224-color Pandora Linux logo (you have to add psplash=false to your autoboot.txt in order to see it).


-Enabled utf8 for FAT32 (!!!warning, for now, FAT32 partitions are mounted case-sensitive!!!).


-Compiled NFS client as a module, not inside (!) the kernel.


-Compiled CIFS support as a module, not inside (!) the kernel.


-Selected utf8 as native language.


-Compiled Codepage 437 (United States, Canada) and NLS ISO 8859-1 (Latin 1; Western European Languages) as modules.


-Added Codepage 850 (Europe), Japanese charsets (Shift-JIS, EUC-JP), NLS ISO 8859-15 (Latin 9; Western European Languages with Euro) and NLS UTF-8 as modules.


-Added ReiserFS, JFS and XFS support.


-Disabled kernel debugging.


-Fully-enabled crypto modules.


#4 non-modular-nodebug - The official OP kernel, non-modular and without debugging options (warning : no Wi-Fi)


#5 non-modular-ultralight - A very slim, non-modular kernel (warning : no Wi-Fi)


#####


10 February 2011 :


First steps on.
1.png

2.png

3.png

4.png

5.png

6.png
 
Last edited by a moderator:
Thanks a lot for your work.


I have HF 5 on my Pandora ( i know it's old...) . Can i install it safely or first i need to switch to HF6 ?


Thanks :)
 
Disclaimer: I don't know a lot about what I'm asking.


I'm led to believe that we may get better performance for sound & music production on the Pandora if we had a real time kernel. I've wondered if it would help with some of the laggy MIDI issues we have. Is this within the scope of what you're doing? If so, do you think it's worth trying?
 
so allthough u gave a listed of what was added/removed from your kernal what benefits could I expect to find from this new custom kernal?
 
Thanks a lot for your work.


I have HF 5 on my Pandora ( i know it's old...) . Can i install it safely or first i need to switch to HF6 ?


Thanks :)

The pleasure is mine :^)


I think it will work.


Remember it's a wip, so backup your data, just in case...


I tested only with rootfs on SD.

Disclaimer: I don't know a lot about what I'm asking.


I'm led to believe that we may get better performance for sound & music production on the Pandora if we had a real time kernel. I've wondered if it would help with some of the laggy MIDI issues we have. Is this within the scope of what you're doing? If so, do you think it's worth trying?

Already though of it, but unfortunately there's no rt-patch for 2.6.27 kernels :


http://www.kernel.org/pub/linux/kernel/projects/rt/

so allthough u gave a listed of what was added/removed from your kernal what benefits could I expect to find from this new custom kernal?

If you didn't find anything interesting in the changelog, i'd say as the debugging is removed and if you're not a dev, the kernel will be faster.


I clearly see the difference at boot time and when using a bluetooth mouse.


You can also expect a longer battery time.


With the DEF's kernel, i didn't used it enough to see if the preempt drain battery faster.


-Note : Will try to include external Wi-Fi support next weed end.


May also compress each modules folder to get a less heavy package.
 
New version available :





I intend to push it to the repo so i'd be happy if you can test and report/suggest.
 
this requires an installer to switch kernels? can't we run a boot loader to swap kernels when a key is held on boot or sth?
 
Last edited by a moderator:
i think the idea is that you can switch out multplie kernels easier. allowing those who can build kernels to build custom kernels without bloat and/or extra features. pity we can't get some newer kernel but i'll applaud it nonetheless. well done sir. giving it a go now.
 
this requires an installer to switch kernels? can't we run a boot loader to swap kernels when a key is held on boot or sth?
Don't know if it's possible.


The way i do keeps free disk space at maximum.

i think the idea is that you can switch out multplie kernels easier. allowing those who can build kernels to build custom kernels without bloat and/or extra features. pity we can't get some newer kernel but i'll applaud it nonetheless. well done sir. giving it a go now.
Cool.


I'm still searching which hal/udev rule can be tweaked to use the lowercase option with vfat mount, making utf-8 safe.
 
Last edited by a moderator:
Seems IOquake 2 and 3 needs some the kernel debugging feature !!!


Only the unmodified official OP kernel can run it. Weird.


Does someone know anything about this ?


---EDIT :


Or maybe it's my compiler ?
 
Last edited by a moderator:
Hi Linux-SWAT,


nice that you made a new Kernel, will test it quite soon :p


But I wanted to ask if you have thought about compache or ramzswap (dunno how they call it nowadays:p )


http://code.google.com/p/compcache/


I would really love to see that one in a Pandora Kernel other than wejps great Arch. I think that would really give some things, like


surfing a real boost.
 
It's not a new kernel, i just recompiled the official one with different flavours, adding or removing features.


Never used compcache. May be a nice feature.
 
:p recompiled with different features :p Sounds pretty new to me. I have Compcache since almost 2 Years on my Palm Pre (256MB Ram :p ) and wouldn´t wanna miss it.
 
installed the 2nd option


after rebooting can't start wifi (fyi i run os off sdcard)


and can't start the pnd gives me this error:



Code:
[ START ]--- Mount the PND ----------

Found a loop (/dev/loop2), using it

WARNING /dev/loop2 already mounted on /mnt/utmp/wbar /mnt/utmp/Conky /mnt/utmp/wbar /mnt/utmp/Conky skipping losetup - putting link to old mount

ln: target `/mnt/utmp/def_pack_kernel_data' is not a directory

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/BOOT/pandora/appdata/def_pack_kernel_data=rw+nolwh":"/mnt/pnd/def_pack_kernel_data=rr" none "/mnt/utmp/def_pack_kernel_data"

/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/def_pack_kernel_data: No such file or directory

WARNING : mount faild, re-tring

/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/def_pack_kernel_data: No such file or directory

ERROR: The Union File-system is not mounted !

+++++++

Loopback devices :

/dev/loop0: [b301]:106 (/media/BOOT/pandora/menu/apps/wbar.pnd)

/dev/loop1: [b301]:125 (/media/BOOT/pandora/menu/apps/Conky.pnd)

/dev/loop2: [b301]:197 (/media/BOOT/pandora/menu/apps/def_pack_kernel-0.4-armv7a-1.pnd*)

Are mounted on :

/dev/loop0 on /mnt/utmp/wbar type squashfs (ro)

/dev/loop1 on /mnt/utmp/Conky type squashfs (ro)

For these Union :

none on /mnt/utmp/wbar type aufs (rw,si=67140077,noplink)

none on /mnt/utmp/Conky type aufs (rw,si=67140377,noplink)

ERROR: The Union File-system is not mounted !

+++++++

Loopback devices :

/dev/loop0: [b301]:106 (/media/BOOT/pandora/menu/apps/wbar.pnd)

/dev/loop1: [b301]:125 (/media/BOOT/pandora/menu/apps/Conky.pnd)

/dev/loop2: [b301]:197 (/media/BOOT/pandora/menu/apps/def_pack_kernel-0.4-armv7a-1.pnd*)

Are mounted on :

/dev/loop0 on /mnt/utmp/wbar type squashfs (ro)

/dev/loop1 on /mnt/utmp/Conky type squashfs (ro)

For these Union :

none on /mnt/utmp/wbar type aufs (rw,si=67140077,noplink)

none on /mnt/utmp/Conky type aufs (rw,si=67140377,noplink)

[ FAILED]--- Mount the PND ----------

=======================================================================================

Return code is : 8
 
Last edited by a moderator:
Strange.


Can you give me the output of lsmod please ?


What is the speed of your card ?


Did you rebooted instantly ?
 
Last edited by a moderator:
Hmm, I tried option 3, and my pandora boots up saying, cannot load kernel. Then it tells me to reflash.


Guess it might have been a bad idea to try that on HF6A4


Edit: Same thing happened with HF6


Edit: option 2 does not work for me under HF6 either.
 
Last edited by a moderator:
Strange.


Can you give me the output of lsmod please ?


What is the speed of your card ?


Did you rebooted instantly ?

lsmod gives me empty fields


using a 8G Class 4 SD card


yes i rebooted immediately
 
Last edited by a moderator:
Back
Top