From owner-freebsd-alpha Fri Oct 4 1:30: 9 2002 Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 392EE37B404 for ; Fri, 4 Oct 2002 01:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D4343E6E for ; Fri, 4 Oct 2002 01:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g948U2Co040995 for ; Fri, 4 Oct 2002 01:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g948U2FC040994; Fri, 4 Oct 2002 01:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A82737B401 for ; Fri, 4 Oct 2002 01:21:44 -0700 (PDT) Received: from darth.nls.fi (darth.nls.fi [195.156.38.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B57043E42 for ; Fri, 4 Oct 2002 01:21:39 -0700 (PDT) (envelope-from lindroos@nls.fi) Received: from can.nls.fi (can.nls.fi [194.252.80.16]) by darth.nls.fi (8.12.2/8.12.2) with ESMTP id g948LcBZ019886 for ; Fri, 4 Oct 2002 11:21:38 +0300 (EEST) Received: from nls.fi (caligula.nls.fi [194.252.83.98]) by can.nls.fi (8.10.2/8.10.2) with ESMTP id g948LcR25480 for ; Fri, 4 Oct 2002 11:21:38 +0300 (EET DST) Received: (from lindroos@localhost) by nls.fi (8.12.3/8.12.3/Submit) id g948LZGT000725; Fri, 4 Oct 2002 11:21:35 +0300 (EEST) Message-Id: <200210040821.g948LZGT000725@nls.fi> Date: Fri, 4 Oct 2002 11:21:35 +0300 (EEST) From: Dennis Lindroos Reply-To: Dennis Lindroos To: FreeBSD-gnats-submit@FreeBSD.org Cc: dns@nls.fi X-Send-Pr-Version: 3.113 Subject: alpha/43654: rl(8) driver causes unaligned access trap on alpha Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43654 >Category: alpha >Synopsis: rl(8) driver causes unaligned access trap on alpha >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-alpha >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 04 01:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dennis Lindroos >Release: FreeBSD 4.6.2-RELEASE alpha >Organization: National Land Survey of Finland >Environment: System: FreeBSD Alpha-flight.nls.fi 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #5: Fri Oct 4 08:29:34 EEST 2002 root@Alpha-flight.nls.fi:/usr/src/sys/compile/IPANA alpha Hardware model: AlphaServer 1000A 5/400 Ethernet card: Accton MPX 5038B PCI >Description: In sys/pci/if_rl.c function rl_stop(), the expression: CSR_WRITE_4(sc, RL_TXADDR0 + i, 0x0000000); causes a fatal trap on alpha systems, when the rl(4) interface is up and running. >How-To-Repeat: Enable the interface and set it to 100BaseTX full-duplex, then try something like spray(8) with options -c1024 -l4096 a few times. Probably many other network-intensive application will trigger the bug. >Fix: Replacing the expression mentioned in the description above with: CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(u_int32_t)), 0x0000000); should work. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message