Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2002 11:21:35 +0300 (EEST)
From:      Dennis Lindroos <lindroos@nls.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dns@nls.fi
Subject:   alpha/43654: rl(8) driver causes unaligned access trap on alpha
Message-ID:  <200210040821.g948LZGT000725@nls.fi>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210040821.g948LZGT000725>