Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 593148 Details for
Bug 678096
insmod: error inserting '/lib/padlock..ko' : -1 No such device
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed upstream patch
upstream.patch (text/plain), 1.29 KB, created by
Laszlo Ersek
on 2012-06-20 08:18:14 UTC
(
hide
)
Description:
proposed upstream patch
Filename:
MIME Type:
Creator:
Laszlo Ersek
Created:
2012-06-20 08:18:14 UTC
Size:
1.29 KB
patch
obsolete
>From 72c60191deba642c63aa1e7ab21abfc3119983e8 Mon Sep 17 00:00:00 2001 >From: Laszlo Ersek <lersek@redhat.com> >Date: Wed, 20 Jun 2012 10:08:03 +0200 >Subject: [PATCH] allow padlock module to load without xcrypt support > >Lack of (enabled) hardware is arguably not a module initialization error, >thus it should not cause problems during the boot process. > >Signed-off-by: Laszlo Ersek <lersek@redhat.com> >--- > drivers/crypto/padlock-aes.c | 7 +++++-- > 1 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c >index 37b2e94..a42a308 100644 >--- a/drivers/crypto/padlock-aes.c >+++ b/drivers/crypto/padlock-aes.c >@@ -516,11 +516,11 @@ static int __init padlock_init(void) > struct cpuinfo_x86 *c = &cpu_data(0); > > if (!x86_match_cpu(padlock_cpu_id)) >- return -ENODEV; >+ return 0; > > if (!cpu_has_xcrypt_enabled) { > printk(KERN_NOTICE PFX "VIA PadLock detected, but not enabled. Hmm, strange...\n"); >- return -ENODEV; >+ return 0; > } > > if ((ret = crypto_register_alg(&aes_alg))) >@@ -554,6 +554,9 @@ aes_err: > > static void __exit padlock_fini(void) > { >+ if (!x86_match_cpu(padlock_cpu_id) || !cpu_has_xcrypt_enabled) >+ return; >+ > crypto_unregister_alg(&cbc_aes_alg); > crypto_unregister_alg(&ecb_aes_alg); > crypto_unregister_alg(&aes_alg); >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 678096
: 593148 |
593149