From: Scott D. Webster <scottw@frontier.wilpaterson.edu>
Subject: Watchdog saga continues...
Date: Mon, 28 Oct 1996 11:06:11 -0500 (EST) [thread overview]
Message-ID: <d6a8c371c9c4da2dcb828175bda9636d.axp-list@archive.invalid> (raw)
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
next reply other threads:[~1996-10-28 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-28 16:06 Scott D. Webster [this message]
[not found] <Pine.LNX.3.95.961028104309.2832A-100000@alphabits.spatz.com>
1996-10-28 16:51 ` Watchdog saga continues Richard Henderson
[not found] <199610281651.KAA01979@atheist.tamu.edu>
1996-10-28 18:21 ` Scott D. Webster
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox