maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] kernel-plus for Harmattan (https://talk.maemo.org/showthread.php?t=86543)

juiceme 2013-11-23 10:04

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1388350)
Hey guys, just finally had time to test my recent changes.

Pelicularly, this new kernel /doesn't/ boot.

@juiceme, could you please load it up on your test N9 to see what's going on? Corresponding sources are at hurrian/kernel-plus-harmattan.

If it bombs somewhere related to mac80211/wl12xx, I'll revert the commits for now, if it's somewhere else guess I'll have to dig around a bit more.

I'm glad to do that, but unfortunately it has to wait over the weekend... I left my rig at my workpalce and will be able to get to it on monday morning :o

weihuoya 2013-11-24 08:30

Re: [Announce] kernel-plus for Harmattan
 
systemd requires the directory /sys/fs/cgroup as a mountpoint. It doesn't exist in the kernel (2.6.35). It can't be created with mkdir either because sysfs doesn't allow that. To create the directory this patch from the 2.6.36 kernel must be backported.

http://git.kernel.org/?p=linux/kerne...9dae0071bd11f3

The following kernel config options must be selected.
General setup --->[*] Control Group support
Device Drivers --->
Generic Driver Options --->[*] Maintain a devtmpfs filesystem to mount at /dev[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs (NEW)
File systems --->
< > Kernel automounter support
<*> Kernel automounter version 4 support (also supports v3)

juiceme 2013-11-25 10:46

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by weihuoya (Post 1388545)
systemd requires the directory /sys/fs/cgroup as a mountpoint. It doesn't exist in the kernel (2.6.35). It can't be created with mkdir either because sysfs doesn't allow that. To create the directory this patch from the 2.6.36 kernel must be backported.

I can confirm the device just hangs there, propably it is the sys mount that it is after. (did not try to patch it yet)

This is the last things that get written to console:


Code:

......
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Power Management for TI OMAP3.
SmartReflex device[1] initialized
SmartReflex device[2] initialized
input2 gpio-kays as /devices/platform/gpin-keys/input/Input3
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
panel-nokia-dsi display0: skipping HW reset
panel-nokia-dsi display0: pyrenees panel revision fe.91.96
regulator_init_complete: incomplete constraints, leaving rm696_vmmc1 on
asoc: WL1273 BT/FM codec <-> omap-mcbsp-dai-2 mapping ok
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 HYNIX  14.8 GiB
 mmcblk0:mmc_queue_do_make_request process kmmcd (pid 17), read to sector 0, sectors 8
 p1 p2 p3
mmc1: card claims to support voltages below the defined range. These will be ignored.
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: errors=remount-ro
VFS: Mounted root (ext4 filesystem) on device 179:2.
Freeing init memory: 152K
mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
mmc1: new SDIO card at address 0001
Aegis: Invoking userspace helper
Aegis: vhash code matched to validator-init
Aegis: Creating new mount point hashlist edc20000
validator-init: done (0,0x0,0x1c7,0x7)Aegis: enabled (config data protection)
Aegis: hashlist initialized
preinit: Root filesystem state ok
EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,barrier=1,stripe=8,data=ordered
omap_device: smartreflex.0: new worst case activate latency 0: 30517
omap_device: smartreflex.0: new worst case deactivate latency 0: 30517
preinit: /var is still in rootfs. No changes
preinit: R&D mode enabled with flags: no-omap-wd,no-ext-wd,no-lifeguard,serial-console
preinit: Bootmode = 'normal', Bootreason = 'sw_rst'
preinit: Press any key for interactive startup
Mounting a tmpfs over /dev...done.
aegis start/running


nieldk 2013-11-25 11:47

Re: [Announce] kernel-plus for Harmattan
 
Code:

preinit: Press any key for interactive startup
hmm is this normal ?

Hurrian 2013-11-25 11:48

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by weihuoya (Post 1388545)
systemd requires the directory /sys/fs/cgroup as a mountpoint. It doesn't exist in the kernel (2.6.35). It can't be created with mkdir either because sysfs doesn't allow that. To create the directory this patch from the 2.6.36 kernel must be backported.

EDIT: Posted. See Page 1.

Sources patched, building.
kernel-plus 2.6.32.61-plus v5 will be built from the old local source directory, with source published as a .patch (again, sadly)

Rest assured, I'll try to match the kernel source with the Git source next time.

Details for the next release:
  • systemd support [On Harmattan!]
    (cgroupfs: create /sys/fs/cgroup to mount cgroupfs on)
  • /proc/atags exported
    Anyone want to work on porting uboot to N9/50? Start with this!
  • CONFIG_KEXEC enabled as a requirement of atags export
  • sched: Tweak sched_latency and min_granularity
  • mutex: Improve the scalability of optimistic spinning
  • net: __alloc_skb() speedup
  • KSM is also enabled, but not by default. eglibc may need to be recompiled for MADV_*MERGEABLE support. Programs linking into eglibc may need to be rebuilt. Uh-oh.

Quote:

Originally Posted by nieldk (Post 1388784)
Code:

preinit: Press any key for interactive startup
hmm is this normal ?

Nokia internal dev stuff can boot off MMC, NAND or USB, IIRC.

You can see some remnants of this code on the N900.

nieldk 2013-11-25 13:57

Re: [Announce] kernel-plus for Harmattan
 
Looking forward, and very happy with the progress speed on this kernel :)
One thing.
I think we should include kernel drivers for Prolific PL2303 USB-to-Serial port adapter in the kernel
I believe this could possibly enable the option for USB serial console. Not quite as good as Juice's 'real' serial, but, nevertheless, usefull.

http://www.tldp.org/HOWTO/Remote-Ser...re-kernel.html

http://cateee.net/lkddb/web-lkddb/US...AL_PL2303.html

juiceme 2013-11-25 16:48

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by nieldk (Post 1388784)
Code:

preinit: Press any key for interactive startup
hmm is this normal ?

Yes, when you have R&D mode active that is part of preinit that's executed.

juiceme 2013-11-25 16:50

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by nieldk (Post 1388818)
Looking forward, and very happy with the progress speed on this kernel :)
One thing.
I think we should include kernel drivers for Prolific PL2303 USB-to-Serial port adapter in the kernel
I believe this could possibly enable the option for USB serial console. Not quite as good as Juice's 'real' serial, but, nevertheless, usefull.

http://www.tldp.org/HOWTO/Remote-Ser...re-kernel.html

http://cateee.net/lkddb/web-lkddb/US...AL_PL2303.html

That would be useful, more so if you can initialize the USBSERIAL device as early as possible in order to capture all possible glitches.

Boxeri 2013-11-25 17:22

Re: [Announce] kernel-plus for Harmattan
 
Hi

I am total noobie when it comes to this kernel stuff.

I have been following this thread from time to time and concluded that this probably isn't important for me as a basic user. I don't think that I would bee needing ExFAT or NTFS on my N9, I do get Injection from N900 days, but don't know if I need it either.

What I would be interested is that does this bring any performance/stability benefits? Besides Optimizer.

Really great to see that people are still working and tweaking the N9 under the hood. Thank you guys

juiceme 2013-11-25 18:01

Re: [Announce] kernel-plus for Harmattan
 
Quote:

Originally Posted by Boxeri (Post 1388882)
Hi

I am total noobie when it comes to this kernel stuff.

I have been following this thread from time to time and concluded that this probably isn't important for me as a basic user. I don't think that I would bee needing ExFAT or NTFS on my N9, I do get Injection from N900 days, but don't know if I need it either.

What I would be interested is that does this bring any performance/stability benefits? Besides Optimizer.

Really great to see that people are still working and tweaking the N9 under the hood. Thank you guys

Well, of the top-of -my-head, stuff that are there or might soon be;
- iptables with all targets including full NAT
- wlan AP mode
- BT low energy mode
- possible performance enchancements
- bug corrections (FUSE performance, anyone?)
- all fancy new devices
- USB host mode
- etc. etc.


All times are GMT. The time now is 16:19.

vBulletin® Version 3.8.8