maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Compiling custom kernels for P1.1 (with fiasco-gen) (https://talk.maemo.org/showthread.php?t=43420)

titan 2010-04-11 09:42

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by oldnetdog (Post 605168)
Does PPTP w/ MPPE support included in your custom kernel?
I want this feature very much, thanks.

the netfilter modules for it are included. On PPTP Linux is implemented not in the kernel but in user space.

oldnetdog 2010-04-11 09:57

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 605176)
the netfilter modules for it are included. On PPTP Linux is implemented not in the kernel but in user space.

when i use PR1.1 or PR1.1.1 stock kernel, i can use fanoush's kernel modules and toolkit from this thread:

http://talk.maemo.org/showthread.php...ht=pptp&page=2

and successfully setup pptp dial-up.

but with your ULV kernel, I doesn't work again, here comes some log:
----------------------------------
noipx # (from /etc/ppp/options)
Couldn't set tty to PPP discipline: Invalid argument
Couldn't set tty to PPP discipline: Invalid argument
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Couldn't allocate pseudo-tty
Waiting for 2 child processes...
script pptp pptpus.uapp.info --nolaunchpppd, pid 2568
script pptp pptpus.uapp.info --nolaunchpppd, pid 2565
anon warn[open_unixsock:pptp_callmgr.c:348]: Call manager for 74.207.235.10 is already running.
anon fatal[callmgr_main:pptp_callmgr.c:129]: Could not open unix socket for 74.207.235.10
anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
Script pptp pptpus.uapp.info --nolaunchpppd finished (pid 2565), status = 0x1
Script pptp pptpus.uapp.info --nolaunchpppd finished (pid 2568), status = 0x0

--------------------------


and the insmod log:

-------------------------
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1# insmod slhc.ko
insmod: error inserting 'slhc.ko': -1 Invalid module format
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1#
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1# insmod ppp_generic.ko
insmod: error inserting 'ppp_generic.ko': -1 Invalid module format
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1#
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1# insmod ppp_async.ko
insmod: error inserting 'ppp_async.ko': -1 Invalid module format
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1#
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1# insmod sha1_generic.ko
insmod: error inserting 'sha1_generic.ko': -1 Invalid module format
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1#
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1# insmod ppp_mppe.ko
insmod: error inserting 'ppp_mppe.ko': -1 Invalid module format
Nokia-N900-42-11:/lib/modules/2.6.28.10maemo-ulv-omap1#
---------------------

I guess his kernel modules is incompatible with your kernel, please help, thanks.

oldnetdog 2010-04-11 10:19

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
i can't found ppp_async.ko in your kernel modules, i am not sure whether it is the problem.

titan 2010-04-11 10:57

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by oldnetdog (Post 605186)
when i use PR1.1 or PR1.1.1 stock kernel, i can use fanoush's kernel modules and toolkit from this thread:
and successfully setup pptp dial-up.
but with your ULV kernel, I doesn't work again, here comes some log:
I guess his kernel modules is incompatible with your kernel, please help, thanks.

yes, his kernel modules are incompatible.
but try my latest experimental kernels http://wiki.maemo.org/Overclocking#I...mental_kernels
they have all necessary modules enabled.
just modprobe them.

oldnetdog 2010-04-11 11:06

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 605235)
yes, his kernel modules are incompatible.
but try my latest experimental kernels http://wiki.maemo.org/Overclocking#I...mental_kernels
they have all necessary modules enabled.
just modprobe them.

i can't find the lastest ULV kernel (maemo21), wait for you.

oldnetdog 2010-04-11 11:08

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
i got the lastest ULV kernel, i try it now.

Matan 2010-04-11 11:20

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 605235)
yes, his kernel modules are incompatible.
but try my latest experimental kernels http://wiki.maemo.org/Overclocking#I...mental_kernels
they have all necessary modules enabled.
just modprobe them.

I hope your ppp_async.ko module includes this patch:

http://talk.maemo.org/showpost.php?p=434772&postcount=4

titan 2010-04-11 11:26

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by Matan (Post 605260)
I hope your ppp_async.ko module includes this patch:
http://talk.maemo.org/showpost.php?p=434772&postcount=4

yes, it does.

oldnetdog 2010-04-11 11:55

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 605235)
yes, his kernel modules are incompatible.
but try my latest experimental kernels http://wiki.maemo.org/Overclocking#I...mental_kernels
they have all necessary modules enabled.
just modprobe them.


with your lastest ULV kernel, my PPTP VPN dialup is working now, great thanks to you, titan.

Jokah 2010-04-11 12:44

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by egoshin (Post 603585)
In addition I recommend you to run this commands and test it again:

echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load

renice 1 `cat /syspart/applications/standby/background/tasks`
renice 1 `ps | grep modest | cut -c1-5`

It should save you a lot of battery over standby. I have increase more then 50%.

(Note: modest renice would work until you call e-mail GUI, after that it reverts back. I am working on it)

I got this behaviour:

Nokia-N900-51-1:/etc# renice 1 `ps | grep modest | cut -c1-5`
renice: setpriority: No such process

the other cmd above worked, any reason why last one didn't?


All times are GMT. The time now is 12:00.

vBulletin® Version 3.8.8