Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Watchdog saga continues...
@ 1996-10-28 16:06 Scott D. Webster
  0 siblings, 0 replies; 3+ messages in thread
From: Scott D. Webster @ 1996-10-28 16:06 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <Pine.LNX.3.95.961028104309.2832A-100000@alphabits.spatz.com>]
[parent not found: <199610281651.KAA01979@atheist.tamu.edu>]

end of thread, other threads:[~1996-10-28 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-28 16:06 Watchdog saga continues Scott D. Webster
     [not found] <Pine.LNX.3.95.961028104309.2832A-100000@alphabits.spatz.com>
1996-10-28 16:51 ` Richard Henderson
     [not found] <199610281651.KAA01979@atheist.tamu.edu>
1996-10-28 18:21 ` Scott D. Webster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox