From: <da...@us...> - 2001-11-21 01:18:41
|
ok i figured out why things wouldn't work. In the readme for dprobes-3.1.0 it states for making the device node. > rm -f /dev/dprobes > MAJOR=`cat /proc/devices | awk '$2=="raw" {print $1}'` > mknod /dev/dprobes c $MAJOR 0 but dprobes registers and asks for a dynamic major number, and thus is not bound to the raw device major number. I get 253 on my machine. in order to get stuff to work i had to make the major number match that of the driver. this documentation was not in 3.0.0, so i tried checking the CVS web log to see why it was added but the cvs web system is broken for CHANGES, COPYING and README. am i some how setting up dprobes in an incorrect yet functional manner? On Tue, 20 Nov 2001, S Vamsikrishna wrote: > > Hello, > > We have discovered that when dprobes is built as a module and modversions > is on, there is a problem with module_list not getting versioned. You can > fix this by editing kernel/ksyms.c, find the line > EXPORT_SYMBOL(module_list); > > and add > extern struct module * module_list; > just before the EXPORT_SYMBOL. > > After this you need to do some thing similar to the following from the root > dir of kernel source tree: > > mv .config .. > make mrproper > mv ../.config . > make oldconfig > make dep clean bzImage modules > #install, boot. > > Please use dprobes version 3.1 (or above when available). > > Do let us know if you have any difficulties. > > Regards.. Vamsi. > > Vamsi Krishna S. > Linux Technology Center, > IBM Software Lab, Bangalore. > Ph: +91 80 5044959 > Internet: vam...@in... > > > da...@us... on 11/17/2001 01:10:26 AM > > Please respond to da...@us... > > To: dp...@ww... > cc: (bcc: S Vamsikrishna/India/IBM) > Subject: [Dprobes] can't get it working > > > > > i get this error: applyppdf failed > > an strace shows > ioctl(3, 0, 0xbffff760) = -1 EINVAL (Invalid argument) > it would seem like the driver is not installed or something. > i created /dev/dprobes properly. > > i'd like to install the dprobes as a module so i can more easily figure > out what is going wrong, but it can't resolve a symbol 'module_list'. > > _______________________________________________ > Dprobes mailing list > Dp...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/dprobes > > > > |