[uClinux-dev] Problem with the ColdFire mcf5407 2.6.25 kernel

2009-01-15 Thread Oleksii
Hello,

I have got the problem running the newest uClinux (20080808, 2.6.25 kernel).

Kernel BUG happens at the kmem_cache_create function (mm/slab.c) with
default kernel config. The first sanity checks of this function fails,
because in_interrupt () returns true. Actually preempt_count () at
that place is equal to 0x1000, which means that hardirq count is 1.

It is not the first call of kmem_cahce_create (), and usually happens
in few calls after call of this function by the kmem_cache_init ().
Changing of the Kbuild config (Processor Type and Features ---
Preemption Model) from No Forced Preemption to the Preemptible
Kernel lets the BUG happen a bit later in the call of the
kmem_cache_create ().
Problem seems to happen after the kmalloc () call in the
setup_cpu_cache () function which is called from kmem_cache_create().

In old version of uClinux (2.6.19) no problem happens. On ColdFire
5329 (which is also m68knommu arch) everything works ok on the 2.6.25.

The same problem was previously posted at this mailing list:
http://mailman.uclinux.org/pipermail/uclinux-dev/2008-October/047240.html,
but I have not found any replies with solutions.

Can somebody help with some ideas what was seriously changed from 19th
kernel to 25th kernel?

Yours sincerely

Oleksii Kuchuk
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


[uClinux-dev] openssl with hw-crypt engine IXP425 or less lcrypt lib

2009-01-15 Thread Siegfried Müller
Hi,

I currently using openswan with the OCF for the hw crypto engine on the
ixp425. I want to use also openvpn.
I compiled it with crypto and openvpn grows to 1MB. (without crypto
~240KB)
Is there any possibility to use openssl also with OCF? How can i reduce
the size of openvpn with crypto?
Thanks for all hints and help
Cheers
Siegfried

___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


[uClinux-dev] old .cvsignore file

2009-01-15 Thread Mike Frysinger
looks like config/scripts/.cvsignore wasnt removed (or whoever is making 
tarballs has a stale file) when the config/scripts/ dir was punted
-mike


signature.asc
Description: This is a digitally signed message part.
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Re: [uClinux-dev] openssl with hw-crypt engine IXP425 or less lcrypt lib

2009-01-15 Thread David McCullough

Jivin Siegfried Müller lays it down ...
 Hi,
 
 I currently using openswan with the OCF for the hw crypto engine on the
 ixp425. I want to use also openvpn.
 I compiled it with crypto and openvpn grows to 1MB. (without crypto
 ~240KB)
 Is there any possibility to use openssl also with OCF? How can i reduce
 the size of openvpn with crypto?

Depending on how you added OCF to your uClinux-dist,  you should already
have openssl(libcrypto) being accelerated by OCF.

There is an OpenSSL patch included with OCF specifically for that,
then you just need to create the /dev/crypto node:

mknod /dev/crypto c 10 70

Cheers,
Davidm

-- 
David McCullough,  david_mccullo...@securecomputing.com,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


AW: [uClinux-dev] openssl with hw-crypt engine IXP425 or less lcryptlib

2009-01-15 Thread Siegfried Müller
Hi David,
Jivin Siegfried Müller lays it down ...
 Hi,

 I currently using openswan with the OCF for the hw crypto engine on
 the ixp425. I want to use also openvpn. I compiled it with crypto and
 openvpn grows to 1MB. (without crypto
 ~240KB)
 Is there any possibility to use openssl also with OCF? How can i
 reduce the size of openvpn with crypto?

Depending on how you added OCF to your uClinux-dist,  you should
already have openssl(libcrypto) being accelerated by OCF.

I selected OCF, cryptodev and IXP4XX in the Kernel Module
Settings. Is there anything else to do in the openssl config?

There is an OpenSSL patch included with OCF specifically for that, then
you just need to create the /dev/crypto node:

mknod /dev/crypto c 10 70

Is that patch already included in snapgear3.4 (i use 0.9.7m OpenSSL)?

Cheers,
Davidm
 
How can I reduce the size of the libcrypto?
 
Cheers
Siegried

--
David McCullough,  david_mccullo...@securecomputing.com,   Ph:+61
734352815
Secure Computing - SnapGear   http://www.uCdot.org
http://www.uCdot.orghttp://www.snapgear.com
http://www.snapgear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
http://mailman.uclinux.org/mailman/options/uclinux-dev

___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

[uClinux-dev] boa-0.94.14 for uclinux-dist

2009-01-15 Thread Ted Victorio
Hi folks,

Is there any boa-0.94.14 already ported to uclinux-dist?

I attempted to port boa-0.94.14rc21 to uclinux-dist (MCF5329EVB platform)
with boa-0.94.14rc21.tar.gz  boa-0.94.14rc21-nommu.patch.
By modifying current boa-0.93.15 makefile, I can get it to compile successfully 
but
boot up results in this error msg: /bin/boa respawning too fast

I also looked at Freescale m53xxevb-20081215-ltib.iso and previous versions 
which
support boa-0.94.14rc21; however, its makefile, defines.h, etc. setup are not 
compatible
with uclinux-dist.

Appreciate any advice or direction to obtain boa-0.94.14rcxx for uclinux-dist.

Thanks,
Ted


  ___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev