* watchdog woes @ 1996-10-17 21:58 Scott D. Webster 0 siblings, 0 replies; 3+ messages in thread From: Scott D. Webster @ 1996-10-17 21:58 UTC (permalink / raw) All, I've been trying to get a watchdog timer board running in a EB164 to no avail. I was wondering if I could entice any of you system programmer guru types to take a peak at the code and see if you find anything that would suggest that it just wont work on an alpha. The driver code is in linux/drivers/char/wdt.c. Linux just doesn't seem to know that either the driver or the card exists. I'd think I should at least get an error message if the driver initialization was crapping out on boot up. 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.WNT.3.95.961017175353.36C-100000@albion.wilpaterson.edu>]
* Re: watchdog woes [not found] <Pine.WNT.3.95.961017175353.36C-100000@albion.wilpaterson.edu> @ 1996-10-23 15:09 ` jestabro 1996-10-26 21:35 ` Scott D. Webster 0 siblings, 1 reply; 3+ messages in thread From: jestabro @ 1996-10-23 15:09 UTC (permalink / raw) >>> "Scott D. Webster" said: > > I've been trying to get a watchdog timer board running in a EB164 > to no avail. I was wondering if I could entice any of you system > programmer guru types to take a peak at the code and see if you find > anything that would suggest that it just wont work on an alpha. The > driver code is in linux/drivers/char/wdt.c. Since it just uses inb/outb, it should be fine. Did you check the card configuration versus the driver configuration? There's some comments in the code that lead me to believe you have to manually configure the driver for the jumper settings (?) on the card, ie IRQ and IO base. > Linux just doesn't seem to know that either the driver or the card > exists. I'd think I should at least get an error message if the driver > initialization was crapping out on boot up. You're correct, the driver ought to print something out if it gets called to init, ie wdt_init(), even if the hardware isn't present, as noted by the comment: * You must set these - there is no sane way to probe for this board. So, did you try to configure it as a MODULE? Or, did the "make boot" actually compile a wdt.o? --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools - LINUX Project Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202 151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com Littleton, MA 01460-1407 decnet: tallis::jestabro ------------------------------------------------------------------------------- -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: watchdog woes 1996-10-23 15:09 ` jestabro @ 1996-10-26 21:35 ` Scott D. Webster 0 siblings, 0 replies; 3+ messages in thread From: Scott D. Webster @ 1996-10-26 21:35 UTC (permalink / raw) On Wed, 23 Oct 1996 jestabro@amt.tay1.dec.com wrote: Jay, Sorry for taking so long to reply, but I've hardly read my e-mail for over a week and am catching up this weekend. That said, thank you, thank you, thank you for looking at this. I think these watchdog timers are *REALLY* usefull little gadgets and would really like to see them work on alpha. I'm willing to do whatever I can, to the limits of my ability, to help get this working. I was even thinking of writing a mini-howto about it if I finally figure it all out. > >>> "Scott D. Webster" said: > > I've been trying to get a watchdog timer board running in a EB164 > > to no avail. I was wondering if I could entice any of you system > > programmer guru types to take a peak at the code and see if you find > > anything that would suggest that it just wont work on an alpha. The > > driver code is in linux/drivers/char/wdt.c. > > Since it just uses inb/outb, it should be fine. Did you check the card > configuration versus the driver configuration? There's some comments in > the code that lead me to believe you have to manually configure the driver > for the jumper settings (?) on the card, ie IRQ and IO base. Well, I actually did it kind of backwards. I set the card to match the default driver settings of IRQ 14, ADDR 0x240. > > Linux just doesn't seem to know that either the driver or the card > > exists. I'd think I should at least get an error message if the driver > > initialization was crapping out on boot up. > > You're correct, the driver ought to print something out if it gets called > to init, ie wdt_init(), even if the hardware isn't present, as noted by the > comment: > > * You must set these - there is no sane way to probe for this board. I made an interesting discovery. I tried compiling w/ the software only option and everything worked fine. The driver reports its existance between the ps2 mouse initialization and the ramdisk initialization. Writing to /dev/watchdog gives no error messages, and typing "cat > /dev/watchdog" and waiting a minute reboots the machine. > So, did you try to configure it as a MODULE? No, I tried to compile it into the kernel. >Or, did the "make boot" actually compile a wdt.o? Hmmm... I'll have to take a look at that on monday (I'm not on-site right now). Off the top of my head, I'd say it compiled it. Whether it actually got linked into the kernel is another story. It could have something to do with the driver not getting linked in for some unknown reason. That actually sounds like the most likely explanation. Maybe its some kind of Makefile or config problem. As I said, I'll try again monday and let you know what I find. And thank you again for your help. 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
end of thread, other threads:[~1996-10-26 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-17 21:58 watchdog woes Scott D. Webster
[not found] <Pine.WNT.3.95.961017175353.36C-100000@albion.wilpaterson.edu>
1996-10-23 15:09 ` jestabro
1996-10-26 21:35 ` 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