lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectklogd + New Kernel Modules
Date
From
sysklogd 1.3 patchlevel 3 seems to be broken with respect to the new way of
doing modules. (This version is not available on sunsite; however, it is used
with Red Hat 4.1. The source RPM converted to tar format is available at
http://www-personal.engin.umich.edu/~jgotts/sysklogd-1.3-15.tar.gz.) The
attached diff eliminates compilation errors, but klogd still spits out the
following messages, indicating (to me) that it can't grok the new module
format:

Error seeking /dev/kmem
Error adding kernel module table entry

--- ksym_mod.c.orig Sat Feb 8 18:53:11 1997
+++ ksym_mod.c Sat Feb 8 18:54:54 1997
@@ -515,7 +515,7 @@
last = &mp->sym_array[nsym];
}

-
+#if 0
/*
* At this stage of the game we still cannot give up the
* ghost. There is the possibility that the address is
@@ -561,8 +561,8 @@
sym->offset = (void *) value - mp->module.addr;
return(mp->name);
}
+#endif
}
-
/* It has been a hopeless exercise. */
return((char *) 0);
}
--
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts
Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.142 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site