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 573971 Details for
Bug 808442
weak-module : when adding a module, should collect the symbols from external modules of destination kernel
[?]
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.
proposed patch
weak-modules-Bull.1.patch (text/plain), 1.51 KB, created by
Xavier Bru
on 2012-03-30 11:55:31 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Xavier Bru
Created:
2012-03-30 11:55:31 UTC
Size:
1.51 KB
patch
obsolete
>Signed-off-by: <gregoire.pichon@bull.net> > >--- weak-modules 2010-01-12 06:26:53.000000000 +0100 >+++ weak-modules-new 2012-03-30 10:38:28.000000000 +0200 >@@ -5,6 +5,7 @@ > # > # Changelog: > # >+# 2012/03/30 - Take in account external modules symbols of destination kernel (gp). > # 2010/01/10 - Further updates for dracut use on Fedora/RHEL (jcm). > # 2009/09/16 - Rebase and add a bunch of updates for dracut (jcm). > >@@ -159,6 +160,16 @@ module_is_compatible() { > fi > $tmpdir/symvers-$krel > fi > >+ # Symbols exported by add-on modules of the kernel version $krel >+ if [ ! -e "$tmpdir/addon-symvers-$krel" ]; then >+ addon=`find /lib/modules/$krel -type f -name '*.ko' \ >+ | grep -v "/lib/modules/$krel/kernel"` >+ if [ -n "$addon" ]; then >+ nm $addon \ >+ | sed -nre 's:^[0]*([0-9a-f]{8}) A __crc_(.*):0x\1 \2:p' >+ fi > $tmpdir/addon-symvers-$krel >+ fi >+ > # Symbols that other add-on modules of the "old" kernel export > # (and that this module may require) > if [ ! -e "$tmpdir/extra-symvers-$module_krel" ]; then >@@ -170,7 +181,9 @@ module_is_compatible() { > fi > $tmpdir/extra-symvers-$module_krel > fi > >- sort -u $tmpdir/symvers-$krel $tmpdir/extra-symvers-$module_krel \ >+ sort -u $tmpdir/symvers-$krel \ >+ $tmpdir/addon-symvers-$krel \ >+ $tmpdir/extra-symvers-$module_krel \ > > "$tmpdir/all-symvers-$krel-$module_krel" > fi >
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 Raw
Actions:
View
Attachments on
bug 808442
: 573971