Bug 43654

Summary: rl(8) driver causes unaligned access trap on alpha
Product: Base System Reporter: lindroos <lindroos>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me CC: dns
Priority: Normal    
Version: 4.6.2-RELEASE   
Hardware: Any   
OS: Any   

Description lindroos 2002-10-04 09:30:02 UTC
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.

Fix: 

Replacing the expression mentioned in the description above with:
CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(u_int32_t)), 0x0000000);
should work.
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.
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2002-10-04 18:41:10 UTC
State Changed
From-To: open->closed


Duplicate of PR 43653.