From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: Date: Mon, 28 Oct 1996 11:06:11 -0500 (EST) From: Scott D. Webster Subject: Watchdog saga continues... All (& especially Jay & Alan), I'm back at tracking down problems w/ the watchdog drivers. I think I'm getting somewhere. I just re-compiled a 2.0.23 kernel with support for the hardware watchdog timer. The *.o file is generated: 1003 alphabits:/usr/src/linux/drivers/char $ ls -l wdt.* -rw-r--r-- 1 root root 5270 Apr 12 1996 wdt.c -rw-rw-r-- 1 root root 10032 Oct 28 10:22 wdt.o So, I figure if I can find the same (unique) text string in wdt.o and in vmlinux, then it must have been linked. To test this theory I tried this: 1006 alphabits:/usr/src/linux/drivers/char $ strings serial.o | grep 'serial driver' Couldn't register serial driver 1003 alphabits:/usr/src/linux $ strings vmlinux | grep 'serial driver' Couldn't register serial driver That seems to prove my theory. So, next I try: 1008 alphabits:/usr/src/linux/drivers/char $ strings wdt.o | grep WDT500 WDT500/501-P driver at %X(Interrupt %d) 1005 alphabits:/usr/src/linux $ strings vmlinux | grep WDT500 1006 alphabits:/usr/src/linux $ So, it appears that the wdt.o isn't being linked in to the kernel. Is there a better way to verify this? What controls which objects get linked in? I'll nose around myself, but I'm sure somebody out there probably knows the answer off the top of his (or her) head (Linus maybe?). Scott D. Webster I had far rather walk, as I do, in daily terror Senior, Computer Science of eternity, than feel that this was only a William Paterson College children's game in which all of the contestants http://www.wilpaterson.edu would get equally worthless prizes in the end. /home/students/webster/index.htm - T. S. Elliot -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null