Subject: Re: Wavelan (wi) card fails in Z50: Kernel Panic
To: DP <dp@recycled.net>
From: Castor Fu <castor@geocast.com>
List: port-hpcmips
Date: 12/09/2000 08:19:29
> If there's something I can do in the debugger which will provide more info,
> please let me know.
> > # ifconfig wi0 172.16.0.27 netmask 0xffffff00 up
> > pcmica: card irq 3
> > trap: address error (load or I-fetch) in kernel mode
> > status=0x7803, cause=0x510, epc=0x8016c804, vaddr=0xc001622f
> > pid=185 cmd=ifconfig usp=0x7fffec18 ksp=0xc3cdf6a8
> > Stopped in ifconfig at 0x8016c804: lhu vi,0(s0)
> > db>
In the debugger, if you could get a stack trace with the 'trace'
command that would be helpful.
What's happening here is an unaligned address access. 'lhu' is a
16-bit load and the address used, 0xc001622f, is on an odd byte boundary
which is perfectly legal on processors like the x86 family, but not ok
on the mips.
-castor