From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 18:20:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1EAC16A4CE for ; Tue, 24 Aug 2004 18:20:36 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A090343D53 for ; Tue, 24 Aug 2004 18:20:36 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 30028 invoked from network); 24 Aug 2004 18:20:36 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Aug 2004 18:20:35 -0000 Received: from hydrogen.funkthat.com (fwdixg@localhost.funkthat.com [127.0.0.1])i7OIKZuU083847; Tue, 24 Aug 2004 11:20:35 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i7OIKYYa083846; Tue, 24 Aug 2004 11:20:34 -0700 (PDT) Date: Tue, 24 Aug 2004 11:20:34 -0700 From: John-Mark Gurney To: Marius =?iso-8859-1?Q?N=FCnnerich?= Message-ID: <20040824182034.GH29902@funkthat.com> Mail-Followup-To: Marius =?iso-8859-1?Q?N=FCnnerich?= , freebsd-current@freebsd.org References: <20040823223036.472c88aa@duron.hackerzberg.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040823223036.472c88aa@duron.hackerzberg.dyndns.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org Subject: Re: LOR re0 and acpi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 18:20:37 -0000 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Marius Nünnerich wrote this message on Mon, Aug 23, 2004 at 22:30 +0200: > after enabling ACPI in my BIOS and booting with ACPI enabled i got this LOR during boot on my 6.0-CURRENT as of yesterday (this is copy'n pasted from dmesg): [...] > I looked at the list of known LOR's but didn't find this one. > Machine runs fine so far :) I happen to have recently purchased a card, and ran across the same LOR... Try the attached patch. It works for me.. Next step is to lock down the driver.. :) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_re.diff" Index: if_re.c =================================================================== RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v retrieving revision 1.28 diff -u -r1.28 if_re.c --- if_re.c 2004/07/06 02:48:29 1.28 +++ if_re.c 2004/08/24 18:18:21 @@ -824,15 +824,9 @@ } sc->rl_btag = rman_get_bustag(sc->rl_res); sc->rl_bhandle = rman_get_bushandle(sc->rl_res); - mtx_init(&sc->rl_mtx, - device_get_nameunit(dev), - MTX_NETWORK_LOCK, MTX_DEF); - RL_LOCK(sc); hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; bus_release_resource(dev, RL_RES, RL_RID, sc->rl_res); - RL_UNLOCK(sc); - mtx_destroy(&sc->rl_mtx); if (t->rl_basetype == hwrev) { device_set_desc(dev, t->rl_name); return (0); --XOIedfhf+7KOe/yw--