<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
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>
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: 
    <BLOCKQUOTE TYPE=CITE>
<PRE>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.  

  </PRE>
    </BLOCKQUOTE>
    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
    <BLOCKQUOTE TYPE=CITE>
<PRE>On Mon, 2005-08-15 at 07:06, Beat Meier wrote:
  </PRE>
        <BLOCKQUOTE TYPE=CITE>
<PRE>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</A>
<A HREF="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</U></A>
    </PRE>
        </BLOCKQUOTE>
<PRE>
  </PRE>
    </BLOCKQUOTE>
    <BR>
    <BR>
    
<HR>

<PRE>_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
<A HREF="http://list.voyage.hk/mailman/listinfo/voyage-linux"><U>http://list.voyage.hk/mailman/listinfo/voyage-linux</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>