[Voyage-linux] Reboot problem with wrap and kernel 2.6.12

Beat Meier (spam-protected)
Tue Aug 16 03:44:15 HKT 2005


Kelly Hogan wrote:

>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.  
>
>  
>
Can you give me more info?
I'me trying since days without luck to reboot my wrap wiht 2.6.12 ...
With kernel 2.6.8 from voyage reboot works without any watchdog
(i.e. I disabled watchdog in /etc/init.d)
Only modules are:
  dm_mod, natsemi, crc32

If I use my kernel 2.6.12 it will not reboot
With sc520_wdt running it wont reboot
with wd1000 (/etc/nodules) it reboots and when it is up will reboot again
If I have watchdog running wihtout wd1000 it won't reboot
if I insert wd1000 (modprbe) the following message comes:

wd1100: module license 'unspecified' taints kernel.
SC1x00 Watchdog driver by Inprimis Technolgies.
wd1100.c: a few hacks by erich.titl at think.ch
wd1100.c: Can't register device.

Which wd1100 should I use?
http://www.conman.org/software/wd1100/
or
http://www.voyage.hk/download/kernel_patch/2.6/


I've applied the reboot patch from voyage web patch.
Is this no more necessary?

BTW: I don't have a /proc/sys/dev/wd/ directory

rmmod wd1100
Gives the following:

Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c01d9fe2
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: wd1100 sc520_wdt dm_mod natsemi crc32
CPU:    0
EIP:    0060:[<c01d9fe2>]    Tainted: P      VLI
EFLAGS: 00010247   (2.6.12-1-wrap)
EIP is at misc_deregister+0x22/0x78
eax: 00000000   ebx: c88183e0   ecx: c88183ec   edx: 00000000
esi: 00000082   edi: 00000000   ebp: c7024000   esp: c7025f54
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 977, threadinfo=c7024000 task=c78b1100)
Stack: c8818600 c8817300 c8817313 c88183e0 c012b2f5 00000000 31316477 
c7003030
       c7986754 b7f35000 b7f34000 c014182f c1306b80 c7986754 c79867ac 
c1306b80
       c1306bac 00000000 c7024000 c0141893 00306b80 b7f34000 bfd4af38 
bfd4af38
Call Trace:
 [<c8817300>] wd_exit+0x0/0x29 [wd1100]
 [<c8817313>] wd_exit+0x13/0x29 [wd1100]
 [<c012b2f5>] sys_delete_module+0x155/0x190
 [<c014182f>] do_munmap+0xcf/0x100
 [<c0141893>] sys_munmap+0x33/0x50
 [<c0102939>] syscall_call+0x7/0xb
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
 Segmentation fault
woc1:/etc/init.d# lsmod
Module                  Size  Used by
wd1100                  6180  0
sc520_wdt               6448  1
dm_mod                 56508  0
natsemi                27488  0
crc32                   4480  1 natsemi
woc1:/etc/init.d#


Thanks for any help.

Beat

>On Mon, 2005-08-15 at 07:06, Beat Meier wrote:
>  
>
>>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
>>Voyage-linux at list.voyage.hk
>>http://list.voyage.hk/mailman/listinfo/voyage-linux
>>    
>>
>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20050815/5e3f579b/attachment.html>


More information about the Voyage-linux mailing list