Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2004 17:37:08 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        freebsd-alpha@freebsd.org
Subject:   fatal kernel trap in tga_init in -CURRENT
Message-ID:  <1083425827.11299.14.camel@klamath.syndrom23.de>

next in thread | raw e-mail | index | archive | help

--=-Bxr9gazh6g17e9Q9Lphn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

I updated my -CURRENT AlphaStation 200 4/100 to sources from around this
morning.

I get a fatal kernel trap in tga_init()

-----------
tga0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0x88000000

fatal kernel trap:

    trap entry     =3D 0x2 (memory management fault)
    faulting va    =3D 0x88100050
    type           =3D access violation
    cause          =3D load instructon
    pc             =3D 0xfffffc000064af10
    ra             =3D 0xfffffc000065043c
    sp             =3D 0xfffffc00007eba90
    usp            =3D 0x0
    curthread      =3D 0xfffffc00006feb58
        pid =3D 0, comm =3D swapper

Stopped at      tga_init+0x70:  ldl     t0,0x50(t3) <0x88100050>  =20
-------------

The old kernel (FreeBSD 5.2-CURRENT #1: Sat May  1 15:46:05 CEST 2004)
works fine. The new kernel only adds device pcm, and is cross-built on
an AMD Athlon machine, because building it native takes very long :)

Is there anything I can do to help? I have a serial console setup, but
didn't use a debugger over it yet. I don't need the tga device, so as
last resort I could just comment it out. The machine is basically a box
for testing, so I don't mind trying things out with it :)

Thank you!

Regards,=20
Andreas Kohn

--- boot -v ----
(boot dka0.0.0.6.0 -flags 0)
block 0 of dka0.0.0.6.0 is a valid boot block
reading 15 blocks from dka0.0.0.6.0
bootstrap code read in
base =3D 1f2000, image_start =3D 0, image_bytes =3D 1e00
initializing HWRPB at 2000
initializing page table at 1e4000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Loading /boot/loader
Console: SRM firmware console
VMS PAL rev: 0x1000000010538
OSF PAL rev: 0x100000002012e
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM disk boot, Revision 1.2
(root@alpha.lan.andreas.syndrom23.de, Thu Apr  8 13:11:27 CEST 2004)
Memory: 131072 k
Loading /boot/defaults/loader.conf=20
/boot/kernel/kernel data=3D0x3f4f50+0x466a0 syms=3D[0x8+0x5bf98+0x8+0x48c96=
]

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

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
Entering /boot/kernel/kernel at 0xfffffc00003411d0...
sio1: gdb debugging port
Unrecognized boot flag '0'.
Copyright (c) 1992-2004 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.2-CURRENT #2: Sat May  1 17:00:25 CEST 2004
  =20
root@klamath.syndrom23.de:/storage/alpha/nfs/freebsd/usr/obj/alpha/usr/src/=
s                                                              ys/ALPHA
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00007e4000.
AlphaStation 200/400 ("Avanti")
AlphaStation 200 4/100, 100MHz
8192 byte page size, 1 processor.
CPU: EV4 (21064) major=3D2 minor=3D0
OSF PAL rev: 0x100000002012e
real memory  =3D 132169728 (126 MB)
Physical memory chunk(s):
0x00806000 - 0x07de3fff, 123592704 bytes (15087 pages)
avail memory =3D 121102336 (115 MB)
random: <entropy source, Software, Yarrow>
null: <null device, zero device>
mem: <memory & I/O>
apecs0: <DECchip 21071 Core Logic chipset>
pcib0: <2107x PCI host bus adapter> on apecs0
pci0: <PCI bus> on pcib0
pci0: physical bus=3D0
        map[10]: type 4, range 32, base 00010000, size  8, enabled
        map[14]: type 1, range 32, base 82040000, size  8, enabled
found-> vendor=3D0x1000, dev=3D0x0001, revid=3D0x02
        bus=3D0, slot=3D6, func=3D0
        class=3D01-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0047, statreg=3D0x0200, cachelnsz=3D0 (dwords)
        lattimer=3D0xff (7650 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n=
s)
        intpin=3Da, irq=3D11
found-> vendor=3D0x8086, dev=3D0x0484, revid=3D0x03
        bus=3D0, slot=3D7, func=3D0
        class=3D00-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0007, statreg=3D0x0200, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        map[10]: type 4, range 32, base 00010100, size  7, enabled
        map[14]: type 1, range 32, base 82040100, size  7, enabled
found-> vendor=3D0x1011, dev=3D0x0002, revid=3D0x23
        bus=3D0, slot=3D11, func=3D0
        class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0047, statreg=3D0x0280, cachelnsz=3D0 (dwords)
        lattimer=3D0xff (7650 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n=
s)
        intpin=3Da, irq=3D5
        map[10]: type 3, range 32, base 88000000, size 27, enabled
found-> vendor=3D0x1011, dev=3D0x0004, revid=3D0x03
        bus=3D0, slot=3D13, func=3D0
        class=3D03-80-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0087, statreg=3D0x0280, cachelnsz=3D0 (dwords)
        lattimer=3D0xff (7650 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n=
s)
        intpin=3Da, irq=3D9
sym0: <810> port 0x10000-0x100ff mem 0x82040000-0x820400ff irq 11 at
device 6.0                                                             =20
on pci0
sym0: Reserved 0x100 bytes for rid 0x14 type 3 at 0x82040000
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
sym0: open drain IRQ line driver
sym0: using NCR-generic firmware.
sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 =3D (hex) 00/00/00/00/00/00
sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 =3D (hex) 03/c8/00/00/08/00
sym0: Delay (GEN=3D11): 233 msec, 38147 KHz
sym0: Delay (GEN=3D11): 277 msec, 32087 KHz
sym0: Delay (GEN=3D11): 277 msec, 32087 KHz
sym0: interrupting at ISA irq 11
sym0: [GIANT-LOCKED]
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
de0: <Digital 21040 Ethernet> port 0x10100-0x1017f mem
0x82040100-0x8204017f
irq                                                               5 at
device 11.0 on pci0
de0: Reserved 0x80 bytes for rid 0x14 type 3 at 0x82040100
de0: interrupting at ISA irq 5
de0: [GIANT-LOCKED]
de0: DEC 21040 [10Mb/s] pass 2.3
de0: bpf attached
de0: Ethernet address: 08:00:2b:e4:f5:af
tga0: <DEC TGA (21030) 2D Graphics Accelerator> mem
0x88000000-0x8fffffff irq
9                                                               at
device 13.0 on pci0
tga0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0x88000000

fatal kernel trap:

    trap entry     =3D 0x2 (memory management fault)
    faulting va    =3D 0x88100050
    type           =3D access violation
    cause          =3D load instructon
    pc             =3D 0xfffffc000064af10
    ra             =3D 0xfffffc000065043c
    sp             =3D 0xfffffc00007eba90
    usp            =3D 0x0
    curthread      =3D 0xfffffc00006feb58
        pid =3D 0, comm =3D swapper

Stopped at      tga_init+0x70:  ldl     t0,0x50(t3) <0x88100050>      =20
<t0=3D0x3,                                                            =20
t3=3D0x88100000>
db> where
tga_init() at tga_init+0x70
pcigfb_attach() at pcigfb_attach+0x37c
tga_attach() at tga_attach+0x120
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
pci_attach() at pci_attach+0xdc
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
apecs_attach() at apecs_attach+0xe0
device_probe_and_attach() at device_probe_and_attach+0xbc
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 ---
db>=20


--=-Bxr9gazh6g17e9Q9Lphn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAk8QjYucd7Ow1ygwRArHiAJ9AJs9QhUJuJY3jYRYDohcL7IuwugCghR/a
fBCkXWU7RtGiDpVTAcZxg0Q=
=Qzkt
-----END PGP SIGNATURE-----

--=-Bxr9gazh6g17e9Q9Lphn--



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