From owner-freebsd-current@FreeBSD.ORG Fri Jul 27 10:37:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 226EA16A41B for ; Fri, 27 Jul 2007 10:37:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id DFDA013C457 for ; Fri, 27 Jul 2007 10:37:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id l6RAbe6g071365; Fri, 27 Jul 2007 06:37:40 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id l6RAbc2Q071412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jul 2007 06:37:38 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200707271037.l6RAbc2Q071412@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 27 Jul 2007 06:37:35 -0400 To: Dag-Erling =?iso-8859-1?Q?Sm=C3=B8rgrav?= From: Mike Tancsa In-Reply-To: <8664462p1b.fsf@ds4.des.no> References: <46337B06.9080102@ybb.ne.jp> <46338C0F.9000608@ybb.ne.jp> <4633932A.8080602@ybb.ne.jp> <86tzuxni1b.fsf@dwp.des.no> <200707061723.l66HNYSe037055@lava.sentex.ca> <86ir86hqhc.fsf@ds4.des.no> <200707262035.l6QKZtnd067391@lava.sentex.ca> <86abtihk6h.fsf@ds4.des.no> <200707262338.l6QNcL1T068284@lava.sentex.ca> <86hcnq900e.fsf@ds4.des.no> <200707270038.l6R0cLNV068524@lava.sentex.ca> <8664462p1b.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Takeharu KATO , freebsd-current@freebsd.org Subject: Re: ichwd for ICH8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 10:37:43 -0000 At 05:07 AM 7/27/2007, Dag-Erling Sm=C3=B8rgrav wrote: >Mike Tancsa writes: > > Sorry, you are right. I can load it now on the current box I have > > running, but it doesnt reboot it, probably because of the BIOS > > setting. > > [...] > > Also, it works on RELENG_6 > >Does it reboot? Yes it does > > I also tried the patched version on an older box and it looks good too > > (running releng_6). Its an ICH5 Intel 865 MB > >Does it reboot? Yes. I tried again to run it on one of the boxes in=20 zoo.freebsd.org. I enabled the watchdog in the=20 BIOS and I know it kicks in. On this motherboard,=20 if you enable the watchdog in the BIOS, the box=20 will reboot in 4min after posting no matter what,=20 unless the watchdog is properly loaded and=20 set. However, neither your version nor the one=20 in the PR works. It kld loads in both cases, and=20 I can startup watchdogd, but the box will reboot in 4min no matter what I do isab0@pci0:31:0: class=3D0x060100=20 card=3D0x918015d9 chip=3D0x27b88086 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801GB/GR (ICH7 Family) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA cap 09[e0] =3D vendor (length 12) Intel cap 1 version 0 features: Quick Resume, 4 PCI-e x1 slots leopard3# kldload /tmp/ichwd.ko ichwd module loaded ichwd0: on isa0 ichwd0: Intel ICH7 watchdog timer (ICH7 or equivalent) ppc0: parallel port not found. leopard3# and same with the version from the PR. leopard3# kldload /tmp/ichwd.ko ichwd module loaded ichwd0: on isa0 ichwd0: Intel ICH7 watchdog timer (TCO version 2) ppc0: parallel port not found. leopard3# watchdogd -t 20 leopard3# But if I startup watchdogd (it seems to be=20 running), the box ends up being rebooted in 4=20 min. If I kill -9 watchdogd, it still reboots in 4min, and not any quicker. But my other ich7 box works as expected (kldloads=20 and box reboots after doing a kill -9 on watchdogd) isab0@pci0:31:0: class=3D0x060100=20 card=3D0x348f8086 chip=3D0x27b88086 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801GB/GR (ICH7 Family) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA cap 09[e0] =3D vendor (length 12) Intel cap 1 version 0 features: Quick Resume, 4 PCI-e x1 slots ---Mike=20