Realtek 8139 in Dec Alpha Multia

Donald Becker becker@cesdis1.gsfc.nasa.gov
Wed Sep 8 17:03:33 1999


On Wed, 8 Sep 1999, Mark E. Dunlap wrote:

> Subject: Realtek 8139 in Dec Alpha Multia
...
> I put a generic card, using the Realtek 8139 chip set, into a Dec Alpha
> Multia.  A noname thing with a PCI card slot.  When I try to use
> the 8139 card, I get the following error randomly.
> 
> "kernel: unaligned trap at fffffc000035c1ec: fffffc000200007e 28 1"

How frequently?

Where does this address translate to?

> Dec Alpha Multia (166Mhz) 48Mb Memory.
> Linux RedHat 5.2
> Kernel: 2.0.36-3
> Noname PCI 10/100 Card.  Locked at 10Mbps Full-Duplex.
> rtl8139.c: 1.08 (Compiled as a module)

The only obvious point is line 1221 
	u32 rx_status = *(u32*)(rx_ring + ring_offset);
which you might think should be
	u32 rx_status = get_unaligned((u32*)(rx_ring + ring_offset));
But since ring_offset is always a multiple of 4, that wouldn't cause a trap.

> rtl8139.c:v1.08 6/25/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
> eth1: RealTek RTL8139 Fast Ethernet at 0x8000, IRQ 15, 00:00:e8:68:13:b0.
> kernel: unaligned trap at fffffc000035c1ec: fffffc000200007e 28 1
> kernel: unaligned trap at fffffc000035c1ec: fffffc00020000ea 28 1
> kernel: unaligned trap at fffffc000035c1ec: fffffc0002000156 28 1
> kernel: unaligned trap at fffffc000035c1ec: fffffc00020001c2 28 1
> kernel: unaligned trap at fffffc000035c1ec: fffffc00020006d2 28 1
> kernel: unaligned trap at fffffc000035c1ec: fffffc0002000716 28 1

Donald Becker					  becker@cesdis.gsfc.nasa.gov
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882	     http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.