From owner-freebsd-current@FreeBSD.ORG Sun Mar 15 14:12:10 2009 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 5BE3C1065673; Sun, 15 Mar 2009 14:12:10 +0000 (UTC) (envelope-from h.schmalzbauer@OmniLAN.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id B205D8FC17; Sun, 15 Mar 2009 14:12:09 +0000 (UTC) (envelope-from h.schmalzbauer@OmniLAN.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n2FDvf2Z029896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Mar 2009 14:57:41 +0100 (CET) (envelope-from h.schmalzbauer@OmniLAN.de) Message-ID: <49BD0943.3000400@OmniLAN.de> Date: Sun, 15 Mar 2009 14:57:23 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.19 (X11/20090202) MIME-Version: 1.0 To: John Baldwin References: <200810011405.m91E5ugg028685@lava.sentex.ca> <200810011121.21908.jhb@freebsd.org> In-Reply-To: <200810011121.21908.jhb@freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigACA15CBDE14209CAD538C809" Cc: freebsd-current@freebsd.org, Mike Tancsa Subject: Re: ichwd on ich9 attach failing ? 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: Sun, 15 Mar 2009 14:12:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigACA15CBDE14209CAD538C809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable John Baldwin schrieb am 01.10.2008 17:21 (localtime): > On Wednesday 01 October 2008 10:05:48 am Mike Tancsa wrote: >> Does anyone have a board with this chipset where ichwd attaches proper= ly ? >> >> When I try to load the driver I get >> >> ichwd module loaded >> isab0: found ICH9 or equivalent chipset: Intel ICH9R watchdog timer >> ichwd0: on isa0 >> isab0: found ICH9 or equivalent chipset: Intel ICH9R watchdog timer >> ichwd0: ICH WDT present but disabled in BIOS or hardware >> device_attach: ichwd0 attach returned 6 >> ppc0: parallel port not found. >> >> the ppc0 error seems normal, as on other boards I see the same error=20 >> and things attach just fine >> >> It is enabled in the BIOS as the box will automatically reboot after=20 >> 5 min, since the watchdog is not set by the OS >=20 > Hmm, looks like the test to clear a bit is failing. Maybe some quality= time=20 > with the ICH9 datasheet (you should be able to find it on=20 > developer.intel.com) can help resolve this. Here is the relevant code:= >=20 > static __inline int > ichwd_clear_noreboot(struct ichwd_softc *sc) > { > uint32_t status; > int rc =3D 0; >=20 > /* try to clear the NO_REBOOT bit */ > if (sc->ich_version <=3D 5) { > status =3D pci_read_config(sc->ich, ICH_GEN_STA, 1); > status &=3D ~ICH_GEN_STA_NO_REBOOT; > pci_write_config(sc->ich, ICH_GEN_STA, status, 1); > status =3D pci_read_config(sc->ich, ICH_GEN_STA, 1); > if (status & ICH_GEN_STA_NO_REBOOT) > rc =3D EIO; > } else { > status =3D ichwd_read_gcs_4(sc, 0); > status &=3D ~ICH_GCS_NO_REBOOT; > ichwd_write_gcs_4(sc, 0, status); > status =3D ichwd_read_gcs_4(sc, 0); > if (status & ICH_GCS_NO_REBOOT) > rc =3D EIO; > } >=20 > if (rc) > device_printf(sc->device, > "ICH WDT present but disabled in BIOS or hardware\n"); >=20 > return (rc); > } Hello, has anybody had time to look at it? I have a new server board with ich9=20 and can't any longer use the watchdog. Unfortunately I'm not able to=20 solve it myself. Any help appreciated. Best regards, -Harry --------------enigACA15CBDE14209CAD538C809 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkm9CVQACgkQLDqVQ9VXb8hFPACcDpFnOqkyHy1W0eAzNjNqS4ty MqYAnilm8txsFh2kYSIxKIggTZnrRU+2 =mSaa -----END PGP SIGNATURE----- --------------enigACA15CBDE14209CAD538C809--