Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 14:15:12 -0600 (MDT)
From:      Fred Clift <fclift@verio.net>
To:        <freebsd-alpha@freebsd.org>
Subject:   fxp panic (unaligned access) with -current - more details
Message-ID:  <20030423141115.V66508-100000@vespa.dmz.orem.verio.net>

next in thread | raw e-mail | index | archive | help
I haven't had as much time to investigate this as I wished, but I did
manage to attach a serial console and capture boot -v.

So how do I track the pc listed in the trap message down to a line of
code?

I've taken the fxp card back out and the box is up and remotely available
for further investigation...  What do I do next?

Fred

--------------------------------------------------------------------
ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.CPU 0 speed is 2.31 ns (433MHz)

ef.ee.ed.ec.eb.f4.ea.e9.e8.e7.e6.
ewa0: link up : Negotiated  100BaseTX: full duplex
e5.e4.
Digital Personal WorkStation 433au Console V7.1-3
  built on Nov 16 1999 at 17:49:20

CPU 0 booting

(boot dkc800.8.0.1009.0)
block 0 of dkc800.8.0.1009.0 is a valid boot block
reading 15 blocks from dkc800.8.0.1009.0
bootstrap code read in
base = 1e6000, image_start = 0, image_bytes = 1e00
initializing HWRPB at 2000
initializing page table at 1d8000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Loading /boot/loader
*** keyboard not plugged in ...
Console: SRM firmware console
VMS PAL rev: 0x1000000010114
OSF PAL rev: 0x1000000020116
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM disk boot, Revision 1.2
(root@liron.home.clift.org, Mon Apr 21 15:41:51 MDT 2003)
Memory: 262144 k
*** keyboard not plugged in ...
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x42a770+0x59b00 syms=[0x8+0x5fc88+0x8+0x4b392]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds...

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v -h
Entering /boot/kernel/kernel at 0xfffffc000033d810...
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #5: Mon Apr 21 17:54:53 MDT 2003
    root@liron.home.clift.org:/usr/obj/usr/src/sys/LIRON
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc0000832000.
Digital Personal Workstation (Miata)
Digital Personal WorkStation 433au, 432MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=0 extensions=0x1<BWX>
OSF PAL rev: 0x1000000020116
real memory  = 266436608 (254 MB)
Physical memory chunk(s):
0x00854000 - 0x0fc17fff, 255606784 bytes (31202 pages)
avail memory = 251314176 (239 MB)
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
cia0: <2117x Core Logic chipset>
cia0: Pyxis, pass 1
cia0: extended capabilities: 1<BWEN>
cia0: WARNING: Pyxis pass 1 DMA bug; no bets...
pcib0: <2117x PCI host bus adapter> on cia0
pci0: <PCI bus> on pcib0
pci0: physical bus=0
        map[10]: type 4, range 32, base 00009000, size  7, enabled
        map[14]: type 1, range 32, base 80340000, size  7, enabled
found-> vendor=0x1011, dev=0x0019, revid=0x11
        bus=0, slot=3, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0047, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0xff (7650 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000
ns)
        intpin=a, irq=0
        map[20]: type 4, range 32, base 00009080, size  4, enabled
found-> vendor=0x1095, dev=0x0646, revid=0x01
        bus=0, slot=4, func=0
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0045, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0xf8 (7440 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000
ns)
        intpin=a, irq=1
found-> vendor=0x8086, dev=0x0484, revid=0x43
        bus=0, slot=7, func=0
        class=00-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1011, dev=0x0024, revid=0x01
        bus=0, slot=8, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x0280, cachelnsz=16 (dwords)
        lattimer=0xff (7650 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
dc0: <Intel 21143 10/100BaseTX> port 0x9000-0x907f mem
0x80340000-0x8034007f irq
 0 at device 3.0 on pci0
dc0: Ethernet address: 00:00:f8:75:45:19
miibus0: <MII bus> on dc0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: bpf attached
dc0: interrupting at CIA irq 0
atapci0: <CMD 646 WDMA2 controller> port 0x9080-0x908f irq 1 at device 4.0
on pc
i0
atapci0: interrupting at CIA irq 1
ata0: pre reset mask=03 ostat0=00 ostat2=00
ata0-slave: ATAPI 00 00
ata0-master: ATAPI 14 eb
ata0: after reset mask=03 stat0=00 stat1=00
ata0: devices=04
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata1: at 0x170 irq 15 on atapci0
ata1: interrupting at ISA irq 15
PCI-ISA bridge with incorrect subclass 0x0
PCI-ISA bridge with incorrect subclass 0x0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pcib1: <PCI-PCI bridge> at device 8.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   0
pcib1:   I/O decode        0x8000-0x8fff
pcib1:   memory decode     0x80000000-0x802fffff
pcib1:   prefetched decode 0x90000000-0x908fffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 3, range 32, base 90800000, size 12, enabled
        map[14]: type 4, range 32, base 00008100, size  5, enabled
        map[18]: type 1, range 32, base 80100000, size 20, enabled
found-> vendor=0x8086, dev=0x1229, revid=0x04
        bus=1, slot=8, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0047, statreg=0x0290, cachelnsz=16 (dwords)
        lattimer=0xff (7650 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000
ns)
        intpin=a, irq=12
        powerspec 1  supports D0 D1 D2 D3  current D0
        map[10]: type 4, range 32, base 00008000, size  8, enabled
        map[14]: type 1, range 32, base 80225000, size  8, enabled
        map[18]: type 1, range 32, base 80224000, size 12, enabled
found-> vendor=0x1000, dev=0x000c, revid=0x01
        bus=1, slot=9, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
ata0: pre reset mask=03 ostat0=00 ostat2=00
ata0-slave: ATAPI 00 00
ata0-master: ATAPI 14 eb
ata0: after reset mask=03 stat0=00 stat1=00
ata0: devices=04
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata1: at 0x170 irq 15 on atapci0
ata1: interrupting at ISA irq 15
PCI-ISA bridge with incorrect subclass 0x0
PCI-ISA bridge with incorrect subclass 0x0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pcib1: <PCI-PCI bridge> at device 8.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   0
pcib1:   I/O decode        0x8000-0x8fff
pcib1:   memory decode     0x80000000-0x802fffff
pcib1:   prefetched decode 0x90000000-0x908fffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 3, range 32, base 90800000, size 12, enabled
        map[14]: type 4, range 32, base 00008100, size  5, enabled
        map[18]: type 1, range 32, base 80100000, size 20, enabled
found-> vendor=0x8086, dev=0x1229, revid=0x04
        bus=1, slot=8, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0047, statreg=0x0290, cachelnsz=16 (dwords)
        lattimer=0xff (7650 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000
ns)
        intpin=a, irq=12
        powerspec 1  supports D0 D1 D2 D3  current D0
        map[10]: type 4, range 32, base 00008000, size  8, enabled
        map[14]: type 1, range 32, base 80225000, size  8, enabled
        map[18]: type 1, range 32, base 80224000, size 12, enabled
found-> vendor=0x1000, dev=0x000c, revid=0x01
        bus=1, slot=9, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0047, statreg=0x0200, cachelnsz=16 (dwords)
        lattimer=0xff (7650 ns), mingnt=0x1e (7500 ns), maxlat=0x40 (16000
ns)
        intpin=a, irq=16
        map[10]: type 1, range 32, base 80220000, size 14, enabled
        map[14]: type 3, range 32, base 90000000, size 23, enabled
found-> vendor=0x102b, dev=0x0519, revid=0x01
        bus=1, slot=10, func=0
        class=03-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0083, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=20
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port
0x8100-0x811f mem
0x80100000-0x801fffff,0x90800000-0x90800fff irq 12 at device 8.0 on pci1
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             = 0xfffffc00003b4480
    ra             = 0xfffffc00003b443c
    sp             = 0xfffffc00008399a0
    usp            = 0x0
    curthread      = 0xfffffc000073b238
        pid = 0, comm = swapper

panic: trap
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort
------------------------------------------------------------------------------

--
Fred Clift - fclift@verio.net -- Remember: If brute
force doesn't work, you're just not using enough.



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