Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 20:12:31 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, alpha@FreeBSD.ORG
Subject:   Re: FW: cvs commit: src/sys/alpha/alpha swtch.s
Message-ID:  <20001115201231.A10411@cicely8.cicely.de>
In-Reply-To: <Pine.BSF.4.21.0011151035400.96506-100000@beppo.feral.com>; from mjacob@feral.com on Wed, Nov 15, 2000 at 10:35:56AM -0800
References:  <20001115190736.A10345@cicely8.cicely.de> <Pine.BSF.4.21.0011151035400.96506-100000@beppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 15, 2000 at 10:35:56AM -0800, Matthew Jacob wrote:
> 
> > needs to disable the source. It seems to come further without KTR which may
> > be a timing thing because the console output is seriel and limited to 9600.
> > The masking of the irq itself works.
> > And I'm still getting clock ints and the swi clock thread is still scheduled.
> 
> really? that doesn't happen for me.


For explaining - I have changed some points:
I removed the trace in the clock int.
I exchanged the texts for the swi clock thread (pid 12).
That was neccessary because the thread run longer than it take to
get the next schedule with big texts.
, means scheduling pid 12
. means running pid 12 (for loop in sithd_loop)
.d means pid 12 sithd_loop done
.l means pid 12 sithd_loop (while loop in sithd_loop)
.r means pid 12 sithd_loop resumed

Sometimes I'm getting the irq of sym0 and sometimes I get an int from
sym0 and sym1 but after that neither the swi clock nor one of the sym
ithreads is running...
The fact that the clock swi is still scheduled means that the clock int
must be still working.
The disabling of the sym ints work because if I remove them it gets
refired at once like it should.
Without ktr I usually see errors from some scsi drives that don't understand
some probing commands. The errors itselfes are OK because cam falls back
to a traditional mode but it tells me that it hangs later.

I wonder if it may have something to do with the keyboard driver which was
noticed as problematic on i386 recently.
I have no keyboard plugged in but still compiled the driver into the kernel.
As you can see the probing fails.

I also wonder how the mutexes like Giant and sched_lock can work from
int mode. AFAIK the int itself doesn't have a context of it's own.

Copyright (c) 1992-2000 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.
Setting atkbd 0 at to atkbdc (string)
Setting atkbd 0 irq to 1 (int)
Setting atkbdc 0 at to isa (string)
Setting atkbdc 0 port to 96 (int)
Setting fd 0 at to fdc0 (string)
Setting fd 0 drive to 0 (int)
Setting fdc 0 at to isa (string)
Setting fdc 0 drq to 2 (int)
Setting fdc 0 irq to 6 (int)
Setting fdc 0 port to 1008 (int)
Setting mcclock 0 at to isa (string)
Setting mcclock 0 port to 112 (int)
Setting ppc 0 at to isa (string)
Setting ppc 0 irq to 7 (int)
Setting psm 0 at to atkbdc (string)
Setting psm 0 irq to 12 (int)
Setting sc 0 at to isa (string)
Setting sio 0 at to isa (string)
Setting sio 0 irq to 4 (int)
Setting sio 0 port to 1016 (int)
Setting sio 1 at to isa (string)
Setting sio 1 flags to 80 (int)
Setting sio 1 irq to 3 (int)
Setting sio 1 port to 760 (int)
Setting vga 0 at to isa (string)
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
malloc'ing mtx_debug while cold for lockmgr interlock
FreeBSD 5.0-CURRENT #11: Tue Nov 14 00:21:58 CET 2000
    ticso@cicely9.cicely.de:/var/d8/src-2000-11-10/src/sys/compile/CICELY9
EB164
Digital AlphaPC 164 500 MHz, 500MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=2 extensions=0x1<BWX>
OSF PAL rev: 0x1000800020117
real memory  = 265904128 (259672K bytes)
Physical memory chunk(s):
0x006b8000 - 0x0ff0dfff, 260399104 bytes (31787 pages)
avail memory = 252960768 (247032K bytes)
malloc'ing mtx_debug while cold for buftime lock
malloc'ing mtx_debug while cold for eventhandler
malloc'ing mtx_debug while cold for shutdown_final
malloc'ing mtx_debug while cold for shutdown_post_sync
Preloaded elf kernel "kernel.ko" at 0xfffffc0000698000.
malloc'ing mtx_debug while cold for mbuf free list lock
malloc'ing mtx_debug while cold for mcluster free list lock
malloc'ing mtx_debug while cold for m_ext counter free list lock
malloc'ing mtx_debug while cold for sf_bufs list lock
null: <null device, zero device>
malloc'ing mtx_debug while cold for random reseed
malloc'ing mtx_debug while cold for random harvest
random: <entropy source>
mem: <memory & I/O>
malloc'ing mtx_debug while cold for dev_clone
cia0: <2117x Core Logic chipset>
cia0: ALCOR/ALCOR2, pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
pcib0: <2117x PCI host bus adapter> on cia0
pci0: physical bus=0
found->	vendor=0x1000, dev=0x000c, revid=0x01
	bus=0, slot=5, func=0
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=2
	map[10]: type 4, range 32, base 00010200, size  8, enabled
	map[14]: type 1, range 32, base 82031200, size  8, enabled
	map[18]: type 1, range 32, base 82030000, size 12, enabled
found->	vendor=0x1000, dev=0x0001, revid=0x23
	bus=0, slot=6, func=0
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
	map[10]: type 4, range 32, base 00010100, size  8, enabled
	map[14]: type 1, range 32, base 82031100, size  8, enabled
found->	vendor=0x1000, dev=0x0001, revid=0x12
	bus=0, slot=7, func=0
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=1
	map[10]: type 4, range 32, base 00010000, size  8, enabled
	map[14]: type 1, range 32, base 82031000, size  8, enabled
found->	vendor=0x8086, dev=0x0484, revid=0x43
	bus=0, slot=8, func=0
	class=00-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x10b7, dev=0x9055, revid=0x30
	bus=0, slot=9, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=3
	map[10]: type 4, range 32, base 00010300, size  7, enabled
	map[14]: type 1, range 32, base 82031300, size  7, enabled
found->	vendor=0x1095, dev=0x0646, revid=0x01
	bus=0, slot=11, func=0
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[20]: type 4, range 32, base 00010380, size  4, enabled
pci0: <PCI bus> on pcib0
sym0: <895> port 0x10200-0x102ff mem 0x82030000-0x82030fff,0x82031200-0x820312ff irq 2 at device 5.0 on pci0
sym0: Delay (GEN=11): 242 msec, 36728 KHz
sym0: Delay (GEN=11): 230 msec, 38644 KHz
sym0: Delay (GEN=11): 231 msec, 38477 KHz
sym0: chip clock is 38477KHz
sym0: clock multiplier assumed
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, 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): 285 msec, 31187 KHz
sym0: Delay (GEN=11): 285 msec, 31187 KHz
sym0: Delay (GEN=11): 285 msec, 31187 KHz
sym0: interrupting at CIA irq 2
sym0: enabling clock multiplier
sym0: Downloading SCSI SCRIPTS.
sym1: <810a> port 0x10100-0x101ff mem 0x82031100-0x820311ff irq 0 at device 6.0 on pci0
sym1: No NVRAM, ID 7, Fast-10, SE, parity checking
sym1: open drain IRQ line driver
sym1: using LOAD/STORE-based firmware.
sym1: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/01/00/00
sym1: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/01/08/00
sym1: Delay (GEN=11): 284 msec, 31296 KHz
sym1: Delay (GEN=11): 286 msec, 31078 KHz
sym1: Delay (GEN=11): 285 msec, 31187 KHz
sym1: interrupting at CIA irq 0
sym2: <810a> port 0x10000-0x100ff mem 0x82031000-0x820310ff irq 1 at device 7.0 on pci0
sym2: No NVRAM, ID 7, Fast-10, SE, parity checking
sym2: open drain IRQ line driver
sym2: using LOAD/STORE-based firmware.
sym2: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 00/00/00/00/00/00
sym2: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/01/08/00
sym2: Delay (GEN=11): 284 msec, 31296 KHz
sym2: Delay (GEN=11): 286 msec, 31078 KHz
sym2: Delay (GEN=11): 285 msec, 31187 KHz
sym2: interrupting at CIA irq 1
isab0: <Intel 82378IB PCI to ISA bridge> at device 8.0 on pci0
	Bus Modes: Bus Park, Resource Lock,
	Configuration RAM: 0C00h,0800h-08FFh
	Port 92: enabled
isa0: <ISA bus> on isab0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x10300-0x1037f mem 0x82031300-0x8203137f irq 3 at device 9.0 on pci0
xl0: interrupting at CIA irq 3
malloc'ing mtx_debug while cold for xl0
xl0: Ethernet address: 00:10:5a:30:1c:1a
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
atapci0: <CMD 646 ATA controller> port 0x10380-0x1038f irq 5 at device 11.0 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x10380
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x10388
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
atkbdc0 failed to probe at port 0x60 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: interrupting at ISA irq 6
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
Calibrating clock(s) ... PCC clock: 500005456 Hz (firmware 500000000 Hz)
i8254 clock: 1191970 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
ppc0 failed to probe at irq 7 on isa0
sc0 failed to probe on isa0
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A, console
sio0: interrupting at ISA irq 4
sio1: reserved for low-level i/o
sio1 failed to probe at port 0x2f8-0x2ff irq 3 flags 0x50 on isa0
vga0 failed to probe on isa0
isa_probe_children: probing PnP devices
sched_ithd pid 23(intr: fdc0) need=0
alpha_dispatch_intr: setrunqueue 23
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "alpha"  frequency 500005456 Hz
bpf,
sched_ithd: setrunqueue 12
: lo0 attached
,
,
ithd_loop pid 23(insched_ithd pid,
,
 22(intr: ata0) need=0
alpha_dispatch_intr: setrunqueue 22
tr: fdc0) need=1
ithd_loop pid 23,
,
 ih=0xfffffe00008f56c0: 0xfffffc000056b020(0xfffffe0000566740) flg=2
ithd_loop pid 23: done
ithd_loop pid 22(intr: ata0) need=1
ithd_loop pid 22 ih=0xfffffe00008f5dc0: 0xfffffc000056b020(0xfffffe0000566980) flg=2
ithd_loop pid 22: done
.l
.
.d
sch,
sched_ithd: setrunqueue 12
ed_ithd pid 22(intr: ata,
,
0) need=0
alpha_dispatch_intr: setrunqueue 22
ithd_loop pid 22: resumed
ithd_loop pid 22(intr: ata0) need=1
ithd_loop pid,
,
 22 ih=0xfffffe00008f5dc0: 0xfffffc000056b020(0xfffffe0000566980) flg=2
ithd_loop pid 22: done
.r
.l
.
.d
sche,
sched_ithd: setrunqueue 12
d_ithd,
,
 pid 22(intr: ata0) need=0
alpha_dispatch_intr: setrunqueue 22
ithd_loop pid 22: resumed
ithd_loop pid 22(intr: ata0) need=1
ithd_loop pid 2,
,
2 ih=0xfffffe00008f5dc0: 0xfffffc000056b020(0xfffffe0000566980) flg=2
ithd_loop pid 22: done
.r
.l
.
.d
sch,
sched_ithd: setrunqueue 12
ed_ithd pid 22(intr: ata0) need=0
alpha_dispatch_intr: setrunqueue 22
ata0-master: success setting WDMA2 on CMD chip
Cre,
,
ating DISK ad0
ad0: <Con,
,
ner Peripherals 1275MB - CFS1275A/0.28> ATA-0 disk at ata0-master
,
,
ad0: 1219MB (2496816 sectors), 2477 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 1 secs/int, 1 depth queue, W,
,
DM,
,
A2
ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0
ad0: 1219MB <Conner Peripherals 1275MB - CFS1275A> [2477/16/63] at ata0-master WDMA2
Waiting 15 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
sym0: enabling clock multiplier
sym0: Downloading SCSI,
,
 SCRIPTS.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym2:0:-1:-1): SCSI BUS reset delivered.
ithd_loop pid 22: resumed
ithd_loop pid 22(intr: ata0) need=1
ithd_loop pid 22 ih=0xfffffe00008f5dc0: 0xfffffc000056b020(0xfffffe0000566980) flg=2
ithd_loop pid 22: done
.r
.l
.
.d
,
sched_ithd: setrunqueue 12
.r
.l
.
.d
,
sched_ithd: setrunqueue 12
.r
.l
.
.d
,
sched_ithd: setrunqueue 12
.r
.l
.
.d
,
sched_ithd: setrunqueue 12

[...]

sched_ithd: setrunqueue 12
,
,
,
,
.r
.l
.
.d
sche,
sched_ithd: setrunqueue 12
d,
,
_ithd pid 18(intr: sym0) need=0
alpha_dispatch_intr: setrunqueue 18
alpha_dispatch_intr: disabling vector 0x920
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
[... and so on ...]

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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