<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Kelly Hogan wrote:
<blockquote cite="mid1124087004.21905.965.camel@m187.linora.com"
 type="cite">
  <pre wrap="">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 class="moz-txt-link-abbreviated" href="mailto:erich.titl@think.ch">erich.titl@think.ch</a><br>
wd1100.c: Can't register device.<br>
<br>
Which wd1100 should I use?<br>
<a class="moz-txt-link-freetext" href="http://www.conman.org/software/wd1100/">http://www.conman.org/software/wd1100/</a><br>
or<br>
<a class="moz-txt-link-freetext" href="http://www.voyage.hk/download/kernel_patch/2.6/">http://www.voyage.hk/download/kernel_patch/2.6/</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<br>
<blockquote cite="mid1124087004.21905.965.camel@m187.linora.com"
 type="cite">
  <pre wrap="">On Mon, 2005-08-15 at 07:06, Beat Meier wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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 class="moz-txt-link-abbreviated"
 href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext"
 href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
</body>
</html>