Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
padlock & cpufreq on Via Nano?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Mon Sep 14, 2009 8:14 pm    Post subject: Reply with quote

I have the VB8001 too.
I installed gentoo on it with the gentoo x86_64 LiveCD, without any problems.

PS.
I don't want to hijack this thread but...
Has anyone got padlock working with OpenSSL with this board?
Has anyone got cpufreq working with this board?
(kernel 2.6.31 has these drivers for x86_64).
Back to top
View user's profile Send private message
boomslang
n00b
n00b


Joined: 03 Jun 2007
Posts: 48

PostPosted: Tue Sep 15, 2009 4:13 am    Post subject: Reply with quote

dj_farid wrote:
I have the VB8001 too.
I installed gentoo on it with the gentoo x86_64 LiveCD, without any problems.

PS.
I don't want to hijack this thread but...
Has anyone got padlock working with OpenSSL with this board?
Has anyone got cpufreq working with this board?
(kernel 2.6.31 has these drivers for x86_64).


Using the portage-supplied openssl 0.9.8k, using openssl speed -engine padlock aes appears to load the padlock engine correctly, but the numbers that are returned do not appear to be accelerated. I compared the results to what I was getting on my 1.5GHz Celeron laptop, and they were clearly not as fast as they should have been. I'll try later with a manually-patched openssl. Kernel support has been enabled.
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Tue Sep 15, 2009 9:42 am    Post subject: Reply with quote

[quote="boomslang"]
dj_farid wrote:
I have the VB8001 too.
I installed gentoo on it with the gentoo x86_64 LiveCD, without any problems.


Yes using the portage supplied dev-libs/openssl-0.9.8k-r1 gives this:
Code:
$ openssl engine
(dynamic) Dynamic engine loading support


It should give padlock as well.
Back to top
View user's profile Send private message
boomslang
n00b
n00b


Joined: 03 Jun 2007
Posts: 48

PostPosted: Tue Sep 15, 2009 11:17 am    Post subject: Reply with quote

dj_farid wrote:
dj_farid wrote:
I have the VB8001 too.
I installed gentoo on it with the gentoo x86_64 LiveCD, without any problems.


Yes using the portage supplied dev-libs/openssl-0.9.8k-r1 gives this:
Code:
$ openssl engine
(dynamic) Dynamic engine loading support


It should give padlock as well.


Code:
$ openssl engine
(padlock) VIA PadLock (no-RNG, ACE)
(dynamic) Dynamic engine loading support


Mine does. The "openssl speed" results don't seem to be accelerated compared to other machines, however, even when loading the padlock engine explicitly.

You've configured the support in your kernel, correct?

This really was a threadjacking, apologies to the OP.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2669
Location: here, there or in transit

PostPosted: Tue Sep 15, 2009 1:10 pm    Post subject: Reply with quote

Split from SystemRescueCD: Locks up on VIA Nano System (offtopic).
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Tue Sep 15, 2009 3:54 pm    Post subject: Reply with quote

Yes I have the modules loaded. I run x86_64, so the modules just appeared there with the latest kernel a few days ago.
Are you also running 64bit?

What I do not understand is gentoos standpoint on this one.
Without being a developer or in anyway involved, I think that there should be a padlock USE flag.
This flag should tell portage to compile in the padlock support.
I have not seen such a flag.

Looking at old bugs from circa 2007 there were a lot of discussions about this. It seems as if there was such an USE flag at some point.
A lot of people submitted patches to bugzilla for padlock support in OpenSSL and OpenSSH. The gentoo response seemed to always be that we should wait for upstream.

How is it today? Should the padlock support "just work"?

I think that this page explains what is happening:
http://www.logix.cz/michal/devel/padlock/
Quote:
IMPORTANT: In certain setups most OpenSSL hardware accelerator drivers (so called engines) are compiled as shared modules. Although PadLock engine is always compiled statically OpenSSL core doesn't know that, tries to load it dynamically and fails. That renders PadLock support in OpenSSL 0.9.8 unusable. Please attach the following patch should you encounter any such problems and recompile your openssl library.


Are these patches included in gentoo, if not, why?

(Thanks for splitting the thread)
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Sat Sep 19, 2009 11:40 pm    Post subject: Reply with quote

Bumpedibump
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Sat Mar 17, 2012 11:08 am    Post subject: Reply with quote

Bumpedibumpedibump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum