<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Kelly Hogan wrote:
<blockquote cite="mid1124106110.17357.80.camel@m187.linora.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.0.10">
You can only run one watchdog at a time.  Remove the watchdog userland
program, unload the sc520 module, insert the wd1100, start the watchdog
program.  Make sure you pass enough   <br>
  <br>
They use the same /dev/wd handle so your wd1100 will not load.  This is
a tricky thing to do, so I always compile the wd1100 from source for
your k tree.  I am running this on 2.6.11.7 so if something is broken
in .12, I am unaware of it.<br>
  <br>
modprobe wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30<br>
  <br>
</blockquote>
Kelly<br>
<br>
Thanks for the help.<br>
<br>
Ok I have done this but still don't work. I ever compile everything by
myself ;-)<br>
I have removed /etc/init.d/watchdog, removed module sc520 and inserted<br>
wd1100 with "
modprobe wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30"<br>
then done a reboot.<br>
<br>
BTW: rmmod now works fine without running sc520 ...<br>
<br>
What source of wd1100 driver do you use? Do you have running this on
wrap?<br>
The rare thing is that the reboot begins but fails with the "memory 
message"<br>
i.e. first message comes<br>
640 KB Base Memory<br>
comes but second message<br>
130048 KB Extended
Memory                                                                                                                                        
<br>
comes not and the system hangs.<br>
<br>
Thanks for help. I really don't know more what do to and I really don't
want to go back to 2.6.8<br>
so I have to compile every progs again ... <br>
<br>
Beat<br>
<blockquote cite="mid1124106110.17357.80.camel@m187.linora.com"
 type="cite">Without the timeout,  you get an instant reboot.<br>
  <br>
On Mon, 2005-08-15 at 13:44, Beat Meier wrote:
  <blockquote type="CITE"> <i>Kelly Hogan wrote: </i>
    <blockquote type="CITE">
      <pre><i>You will need to use the GEODE wd1100 module and a watchdog to insure
that the reboot happens.   The termination of the dogfood provided by
the module will cause the system to reset.  

  </i></pre>
      <i> </i></blockquote>
    <i> Can you give me more info?<br>
I'me trying since days without luck to reboot my wrap wiht 2.6.12 ...<br>
With kernel 2.6.8 from voyage reboot works without any watchdog<br>
(i.e. I disabled watchdog in /etc/init.d)<br>
Only modules are:<br>
  dm_mod, natsemi, crc32<br>
    <br>
If I use my kernel 2.6.12 it will not reboot<br>
With sc520_wdt running it wont reboot<br>
with wd1000 (/etc/nodules) it reboots and when it is up will reboot
again<br>
If I have watchdog running wihtout wd1000 it won't reboot<br>
if I insert wd1000 (modprbe) the following message comes:<br>
    <br>
wd1100: module license 'unspecified' taints kernel.<br>
SC1x00 Watchdog driver by Inprimis Technolgies.<br>
wd1100.c: a few hacks by <a href="mailto:erich.titl@think.ch"><u>erich.titl@think.ch</u></a><br>
wd1100.c: Can't register device.<br>
    <br>
Which wd1100 should I use?<br>
    <a href="http://www.conman.org/software/wd1100/"><u>http://www.conman.org/software/wd1100/</u></a><br>
or<br>
    <a href="http://www.voyage.hk/download/kernel_patch/2.6/"><u>http://www.voyage.hk/download/kernel_patch/2.6/</u></a><br>
    <br>
    <br>
I've applied the reboot patch from voyage web patch.<br>
Is this no more necessary?<br>
    <br>
BTW: I don't have a /proc/sys/dev/wd/ directory<br>
    <br>
rmmod wd1100<br>
Gives the following:<br>
    <br>
Unable to handle kernel NULL pointer dereference at virtual address
00000004<br>
 printing eip:<br>
c01d9fe2<br>
*pde = 00000000<br>
Oops: 0002 [#1]<br>
PREEMPT<br>
Modules linked in: wd1100 sc520_wdt dm_mod natsemi crc32<br>
CPU:    0<br>
EIP:    0060:[<c01d9fe2>]    Tainted: P      VLI<br>
EFLAGS: 00010247   (2.6.12-1-wrap)<br>
EIP is at misc_deregister+0x22/0x78<br>
eax: 00000000   ebx: c88183e0   ecx: c88183ec   edx: 00000000<br>
esi: 00000082   edi: 00000000   ebp: c7024000   esp: c7025f54<br>
ds: 007b   es: 007b   ss: 0068<br>
Process rmmod (pid: 977, threadinfo=c7024000 task=c78b1100)<br>
Stack: c8818600 c8817300 c8817313 c88183e0 c012b2f5 00000000 31316477
c7003030<br>
       c7986754 b7f35000 b7f34000 c014182f c1306b80 c7986754 c79867ac
c1306b80<br>
       c1306bac 00000000 c7024000 c0141893 00306b80 b7f34000 bfd4af38
bfd4af38<br>
Call Trace:<br>
 [<c8817300>] wd_exit+0x0/0x29 [wd1100]<br>
 [<c8817313>] wd_exit+0x13/0x29 [wd1100]<br>
 [<c012b2f5>] sys_delete_module+0x155/0x190<br>
 [<c014182f>] do_munmap+0xcf/0x100<br>
 [<c0141893>] sys_munmap+0x33/0x50<br>
 [<c0102939>] syscall_call+0x7/0xb<br>
Code: 26 00 8d bc 27 00 00 00 00 56 53 8b 5c 24 0c 8d 4b 0c 39 4b 0c 8b
33 74 61 ff 0d c8 30 31 c0 0f 88 ec 00 00 00 8b 43 0c 8b 51 04
<89> 50 04 89 02 c7 41 04<br>
 Segmentation fault<br>
woc1:/etc/init.d# lsmod<br>
Module                  Size  Used by<br>
wd1100                  6180  0<br>
sc520_wdt               6448  1<br>
dm_mod                 56508  0<br>
natsemi                27488  0<br>
crc32                   4480  1 natsemi<br>
woc1:/etc/init.d#<br>
    <br>
    <br>
Thanks for any help.<br>
    <br>
Beat </i>
    <blockquote type="CITE">
      <pre><i>On Mon, 2005-08-15 at 07:06, Beat Meier wrote:
  </i></pre>
      <i> </i>
      <blockquote type="CITE">
        <pre><i>Hello

Applying the reboot patch to 2.6.12 does not work.

After 
   unmounting local filesystems...done.
  Rebooting... sc520_wdt: Watchdog timer is now disabled... 
  Restarting system.
   PC Engines WRAP.2B/2C v1.04
  640 KB Base Memory
the system hangs
Anyone using 2.6.12?

I have also tried to modify to new structure because in 2.6.12
there is the possibility to use hoocks in reboot_fixups.
Nothing worked for me. The board hangs after rebooting.
I've also tried the old reboot.c (they changed some minor stuff)
but don't work.


Beat



______________________________________________________________________
_______________________________________________
Voyage-linux mailing list
<a href="mailto:Voyage-linux@list.voyage.hk"><u>Voyage-linux@list.voyage.hk</u></a>
<u><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a></u>
    </i></pre>
        <i> </i></blockquote>
      <pre><i>  </i></pre>
      <i> </i></blockquote>
    <i> <br>
    <br>
    </i>
    <hr>
    <pre><i>_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux"><u>http://list.voyage.hk/mailman/listinfo/voyage-linux</u></a></i></pre>
  </blockquote>
</blockquote>
<br>
</body>
</html>