fxp unaligned access
Fred Clift
fclift at verio.net
Thu Apr 24 09:36:08 PDT 2003
Here is the trace on that unaligned access I previously mentioned.
So now that I know the unaligned access was in fxp_add_rfabuf in
src/sys/dev/fxp/if_fxp.c, So, how can I track this down to a specific line
of code? (I'm off to read the ddb manpage right now, so perhaps this is
just a dumb newbie quesiton...)
<much of boot -v removed here for brevity>
pcib1: device fxp0 requested decoded memory range 0x90800000-0x90800fff
fxp0: using memory space register mapping
fatal kernel trap:
trap entry = 0x4 (unaligned access fault)
faulting va = 0xfffffe00004b780e
opcode = 0x28
register = 0x1
pc = 0xfffffc00003bb180
ra = 0xfffffc00003bb13c
sp = 0xfffffc00008639a0
usp = 0x0
curthread = 0xfffffc0000725ea8
pid = 0, comm = swapper
Stopped at fxp_add_rfabuf+0x80: zapnot t0,#0xf3,t0 <t0=0x10>
db> t
fxp_add_rfabuf() at fxp_add_rfabuf+0x80
fxp_attach() at fxp_attach+0xd7c
device_probe_and_attach() at device_probe_and_attach+0xc8
bus_generic_attach() at bus_generic_attach+0x28
pci_attach() at pci_attach+0xe4
device_probe_and_attach() at device_probe_and_attach+0xc8
bus_generic_attach() at bus_generic_attach+0x28
pcib_attach() at pcib_attach+0x68
device_probe_and_attach() at device_probe_and_attach+0xc8
bus_generic_attach() at bus_generic_attach+0x28
pci_attach() at pci_attach+0xe4
device_probe_and_attach() at device_probe_and_attach+0xc8
bus_generic_attach() at bus_generic_attach+0x28
device_probe_and_attach() at device_probe_and_attach+0xc8
bus_generic_attach() at bus_generic_attach+0x28
cia_attach() at cia_attach+0x1f0
device_probe_and_attach() at device_probe_and_attach+0xc8
root_bus_configure() at root_bus_configure+0x38
configure() at configure+0x40
mi_startup() at mi_startup+0x144
locorestart() at locorestart+0x64
--- root of call graph ---
Fred
--
Fred Clift - fclift at verio.net -- Remember: If brute
force doesn't work, you're just not using enough.
More information about the freebsd-alpha
mailing list