Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 21:30:03 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: Does anyone use a FDDI card on 5.0?
Message-ID:  <20030331213003.4e67d88f.lehmann@ans-netz.de>
In-Reply-To: <16008.28257.658768.820352@grasshopper.cs.duke.edu>
References:  <003901c2f6e2$3f1c0d40$0a04a8c0@PLANETEORANGE.CA> <20030331181836.0c9b67d0.lehmann@ans-netz.de> <16008.28257.658768.820352@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiho,

here we go:

*** keyboard not plugged in...
ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.f3.f2.f1.f0.
ef.ee.ed.probing hose 0, PCI
probing PCI-to-ISA bridge, bus 1
bus 0, slot 5 -- pka -- NCR 53C895
bus 0, slot 9 -- fwa -- DEC PCI FDDI
bus 0, slot 11 -- dqa -- CMD PCI0646 IDE
bus 0, slot 11 -- dqb -- CMD PCI0646 IDE
ec.f4.eb.ea.e9.e8.e7.

Digital AlphaPC 164LX 599 MHz Console V5.8-1, Jun 21 2000 11:28:32

CPU 0 booting

(boot dka0.0.0.5.0)
block 0 of dka0.0.0.5.0 is a valid boot block
reading 15 blocks from dka0.0.0.5.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1e00
initializing HWRPB at 2000
initializing page table at 1ffee000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code                                                                                                                                      Loading /boot/loader
*** no timer interrupts on CPU 0 ***
Console: SRM firmware console
VMS PAL rev: 0x1000200010115
OSF PAL rev: 0x1000200020117
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM disk boot, Revision 1.2
(olivleh1@dill.salatschuessel.net, Sun Mar 23 19:14:47 CET 2003)
Memory: 262144 k
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel data=0x2ebbe0+0x56af0 syms=[0x8+0x48c00+0x8+0x38573]

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

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
Entering /boot/kernel/kernel at 0xfffffc0000336520...
sio1: gdb debugging port
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-RELEASE-p6 #3: Mon Mar 31 20:02:01 CEST 2003
    olivleh1@dill.salatschuessel.net:/usr/obj/usr/src/sys/DILL
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00006c6000.
EB164
Digital AlphaPC 164LX 599 MHz, 598MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=2 extensions=0x1<BWX>
OSF PAL rev: 0x1000200020117
real memory  = 266256384 (253 MB)
Physical memory chunk(s):
0x006e8000 - 0x0ffe3fff, 261079040 bytes (31870 pages)
avail memory = 252870656 (241 MB)
Initializing GEOMetry subsystem
random: <entropy source>
null: <null device, zero device>
mem: <memory & I/O>
cia0: <2117x Core Logic chipset>
cia0: Pyxis, pass 1
cia0: extended capabilities: 1<BWEN>
pcib0: <2117x PCI host bus adapter> on cia0
pci0: <PCI bus> on pcib0
pci0: physical bus=0
        map[10]: type 4, range 32, base 00010000, size  8, enabled
        map[14]: type 1, range 32, base 82041000, size  8, enabled
        map[18]: type 1, range 32, base 82040000, size 12, enabled
found-> vendor=0x1000, dev=0x000c, revid=0x01
        bus=0, slot=5, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x1e (7500 ns), maxlat=0x40 (16000 ns)
        intpin=a, irq=2
        map[10]: type 4, range 32, base 00010100, size  7, enabled
        map[14]: type 1, range 32, base 82041100, size  7, enabled
found-> vendor=0x10b7, dev=0x9200, revid=0x74
        bus=0, slot=6, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x0a (2500 ns)
        intpin=a, irq=0
        powerspec 2  supports D0 D1 D2 D3  current D0
found-> vendor=0x8086, dev=0x0484, revid=0x43
        bus=0, slot=8, 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)
        map[10]: type 1, range 32, base 82041180, size  7, enabled
        map[14]: type 4, range 32, base 00010180, size  7, enabled
        map[18]: type 1, range 32, base 82030000, size 16, enabled
found-> vendor=0x1011, dev=0x000f, revid=0x00
        bus=0, slot=9, func=0
        class=02-02-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=3
        map[20]: type 4, range 32, base 00010210, size  4, enabled
found-> vendor=0x1095, dev=0x0646, revid=0x01
        bus=0, slot=11, func=0
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
        intpin=a, irq=5
sym0: <895> port 0x10000-0x100ff mem 0x82040000-0x82040fff,0x82041000-0x820410ff irq 2 at device 5.0 on pci0
sym0: Delay (GEN=11): 240 msec, 37034 KHz
sym0: Delay (GEN=11): 231 msec, 38477 KHz
sym0: Delay (GEN=11): 230 msec, 38644 KHz
sym0: chip clock is 38477KHz
sym0: clock multiplier assumed
sym0: Tekram NVRAM, ID 7, Fast-40, SE, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 00/00/00/00/00/00
sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/80/01/08/24
sym0: Delay (GEN=11): 289 msec, 30755 KHz
sym0: Delay (GEN=11): 286 msec, 31078 KHz
sym0: Delay (GEN=11): 285 msec, 31187 KHz
sym0: interrupting at CIA irq 2
sym0: enabling clock multiplier
sym0: Downloading SCSI SCRIPTS.
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x10100-0x1017f mem 0x82041100-0x8204117f irq 0 at device 6.0 on pci0
xl0: interrupting at CIA irq 0
xl0: Ethernet address: 00:01:02:b4:75:9e
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: bpf attached
PCI-ISA bridge with incorrect subclass 0x0
PCI-ISA bridge with incorrect subclass 0x0
isab0: <PCI-ISA bridge> at device 8.0 on pci0
isa0: <ISA bus> on isab0
fpa0: <Digital DEFPA PCI FDDI Controller> port 0x10180-0x101ff mem 0x82030000-0x8203ffff,0x82041180-0x820411ff irq 3 at device 9.0 on pci0

unexpected machine check:

    mces    = 0x1
    vector  = 0x660
    param   = 0xfffffc0000006068
    pc      = 0xfffffc0000530d84
    ra      = 0xfffffc000039b51c
    curproc = 0xfffffc00005fdaf8
        pid = 0, comm = swapper

Stopped at      DELAY+0x30:     rpcc    t0      <t0=0x1>
db> show reg
v0           0x20411ac
t0               0x257  intr_n+0x216
t1                   0
t2                0xfb  intr_n+0xba
t3                   0
t4          0x3b627560
t5          0x3b627552
t6          0x100000000
t7          0xfffffc00006ce000
s0                   0
s1                 0x3
s2          0xfffffc000075fab8
s3          0xfffffc000075f000
s4          0xfffffc000075f000
s5                   0
s6          0xffffffff82041180
a0               0x3e8  intr_n+0x3a7
a1           0x20411ac
a2                 0x1
a3                 0x1
a4                 0x1
a5          0xfffffc00006cd940
t8          0xfffffc00005ed170  cycles_per_usec
t9          0xfffffc0000522028  uma_dbg_alloc+0x68
t10                  0
t11             0x2000  intr_n+0x1fbf
ra          0xfffffc000039b51c  pdq_stop+0x52c
t12         0xfffffc0000530d30  DELAY
at          0x20001ff8
gp          0xfffffc00005eebe0  db_lhistory+0x460
sp          0xfffffc00006cdac0
pc          0xfffffc0000530d84  DELAY+0x54
ps                 0x6
ai              0x2000  intr_n+0x1fbf
pv          0xfffffc0000530d30  DELAY
DELAY+0x54:     cmpule  t2,t0,t0        <t2=0xfb,t0=0x257>
db> ps
  pid   proc     addr    uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   20 fffffc000f81bb00 fffffe000a424000    0     0     0 0000204 new [IWAIT] intr: xl0
   19 fffffc000f87c000 fffffe000b7e6000    0     0     0 0000204 new [IWAIT] intr: sym0
   18 fffffc000f87c300 fffffe000b7e8000    0     0     0 0000204 new [IWAIT] swi5: task queue
   17 fffffc000f87c600 fffffe000b7ea000    0     0     0 0000204 new [IWAIT] swi3: cambio
   16 fffffc000f7cc000 fffffe000a2de000    0     0     0 0000204 new [IWAIT] swi2: camnet
   15 fffffc000f7cc300 fffffe000a3a0000    0     0     0 0000204 new [RUNQ] random
ffc000f7ccc00 fffffe000a3a6000    0     0     0 0000204 new [RUNQ] g_event
   14 fffffc000f7ccf00 fffffe000a3a8000    0     0     0 0000204 new [IWAIT] swi1: net
   13 fffffc000f7cd200 fffffe000a3aa000    0     0     0 0000204 new [IWAIT] swi4: vm
   12 fffffc000f7cd500 fffffe000a3ac000    0     0     0 000020c new [IWAIT] swi6: clock
   11 fffffc000f7cd800 fffffe000a3ae000    0     0     0 000020c norm[Can run] idle
    1 fffffc000f7cdb00 fffffe000a3b0000    0     0     0 0000200 newpanic: unknown thread state
panic
 Stopped at Debugger+0x34:  zapnot  v0,#0xf,v0      <v0=0x7>
db> continue
Uptime: 1s
panic: Assertion mtx_unowned(m) failed at /usr/src/sys/kern/kern_mutex.c:956
panic
Stopped at      Debugger+0x34:  zapnot  v0,#0xf,v0      <v0=0x7>
db> call boot(0)
Uptime: 1s
panic: _sx_xlock (shutdown_final): xlock already held @ /usr/src/sys/kern/kern_shutdown.c:367
panic
Stopped at      Debugger+0x34:  zapnot  v0,#0xf,v0      <v0=0x7>
db> call cpu_reset()


but why i got no crash-dump?
After the shutdown, i removed the fddi card, and booted again:

[...]
Checking for core dump...
savecore: no dumps found
[...]

hrm... what did i wrong in db?



root@dill /root> gdb -k /boot/kernel/kernel.debug
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-undermydesk-freebsd"...
(kgdb) l *0xfffffc0000530d84
0xfffffc0000530d84 is in DELAY (/usr/src/sys/alpha/alpha/machdep.c:1123).
1118                     * last checked. Add the current cycle count to the
1119                     * running total. If it's over cycles_per_usec, increment
1120                     * the usec counter.
1121                     */
1122                    cycles += curcycle;
1123                    while (cycles > cycles_per_usec) {
1124                            usec++;
1125                            cycles -= cycles_per_usec;
1126                    }
1127                    pcc0 = pcc1;
(kgdb) l *0xfffffc000039b51c
0xfffffc000039b51c is in pdq_stop (/usr/src/sys/dev/pdq/pdq.c:1327).
1322            for (cnt = 0; cnt < 1000; cnt++) {
1323                PDQ_OS_CONSUMER_POSTSYNC(pdq);
1324                pdq_process_command_responses(pdq);
1325                if (pdq->pdq_command_info.ci_response_producer == pdq->pdq_command_info.ci_response_completion)
1326                    break;
1327                PDQ_OS_USEC_DELAY(1000);
1328            }
1329            state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
1330        }
1331    
(kgdb) 


   Greetings, Oliver

PS: yes, i disabled the 74-chars warp for this mail...Andrew Gallatin wrote:



-- 
 Oliver Lehmann
        @home: lehmann@ans-netz.de
      @office: oliver.lehmann@mgi.de
         @www: http://www.pofo.de/  |  http://wishlist.ans-netz.de/



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