Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#211
Originally Posted by Hurrian View Post
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
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Nov 2013
#212
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)
 

The Following User Says Thank You to weihuoya For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#213
Originally Posted by weihuoya View Post
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
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#214
Code:
preinit: Press any key for interactive startup
hmm is this normal ?
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#215
Originally Posted by weihuoya View Post
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.

Originally Posted by nieldk View Post
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.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.

Last edited by Hurrian; 2013-11-25 at 13:34.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#216
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
 

The Following 2 Users Say Thank You to For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#217
Originally Posted by nieldk View Post
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.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#218
Originally Posted by nieldk View Post
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.
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
Posts: 498 | Thanked: 836 times | Joined on Jun 2012 @ Finland
#219
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
 

The Following User Says Thank You to Boxeri For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#220
Originally Posted by Boxeri View Post
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.
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Reply

Tags
kernel-plus


 
Forum Jump


All times are GMT. The time now is 02:26.