Subject: Re: Just Checking
To: Shuichiro URATA <ur@a-r.org>
From: Chuck Silvers <chuq@chuq.com>
List: port-arc
Date: 03/29/2001 21:11:40
the new one still hangs:

NetBSD 1.5T (FLOPPY) #1: Thu Mar 29 18:07:46 PST 2001
    root@mimori:/usr/src/sys/arch/arc/compile/FLOPPY
NEC-R96
total memory = 65536 KB
avail memory = 56924 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R4400 CPU (0x450) Rev. 5.0 with MIPS R4010 FPC Rev. 0.0
cpu0: L1 cache: 16KB/32B instruction, 16KB/32B data, direct mapped
cpu0: L2 cache: 2048KB/64B mixed, no snooping
jazzio0 at mainbus0
aclock0 at jazzio0 addr 0xe0004000 intr 0: mc146818 or compatible
lpt0 at jazzio0 addr 0xe0008000 intr 1
fdc0 at jazzio0 addr 0xe000c000 intr 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
sn0 at jazzio0 addr 0xe0001000 intr 4: bufsize 28480 address 00:00:4c:75:24:c8
oosiop0 at jazzio0 addr 0xe0002000 intr 5: SCSI ID 7
scsibus0 at oosiop0: 8 targets, 8 luns per target
oosiop1 at jazzio0 addr 0xe0003000 intr 6: SCSI ID 7
scsibus1 at oosiop1: 8 targets, 8 luns per target
pckbc0 at jazzio0 addr 0xe0005000 intr 7
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0
pms at jazzio0 addr 0xe0005000 intr 8 not configured
com0 at jazzio0 addr 0xe0006000 intr 9: ns16550a, working fifo
com0: console
com1 at jazzio0 addr 0xe0007000 intr 10: ns16550a, working fifo
isabr0 at mainbus0
isa0 at isabr0 isa_io_base 0xe2000000 isa_mem_base 0xe3000000
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST31200N, 8630> SCSI2 0/direct fixed
sd0: 1006 MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
cd0 at scsibus0 target 1 lun 0: <NEC, CD-ROM DRIVE:500, 2.5> SCSI1 5/cdrom removable
scsibus1: waiting 2 seconds for devices to settle...

telnet> send bre
Stopped at      0x802e85e0:     jr      ra
                bdslot: nop
db> t
802e85dc+4 (0,4,0,800) ra 8020987c sz 0
80209798+e4 (0,4,0,800) ra 802fac90 sz 72
802fac3c+54 (0,4,0,800) ra 802f37c8 sz 32
802f3760+68 (0,4,802001e4,800) ra 802f39a4 sz 56
802f3930+74 (0,4,802001e4,800) ra 802013bc sz 40
mips3_KernIntr+84 (80365000,80363640,15fb7,6) ra 80200278 sz 120
cpu_switch+64 (80365000,80363640,15fb7,6) ra 8022c818 sz 24
8022c648+1d0 (80365000,80363640,15fb7,6) ra 8022bf78 sz 48
8022bd90+1e8 (80365000,80363640,15fb7,6) ra 802ffa50 sz 48
802ff968+e8 (80365000,80363640,15fb7,6) ra 80300e2c sz 40
80300cec+140 (80365000,80363640,15fb7,6) ra 802fe9ec sz 56
802fe940+ac (80365000,80363640,15fb7,6) ra 802ff59c sz 64
802ff528+74 (80365000,80363640,15fb7,6) ra 8030190c sz 64
8030181c+f0 (80365000,80363640,15fb7,6) ra 80301604 sz 200
803014bc+148 (80365000,80363640,15fb7,6) ra 8030117c sz 64
80301120+5c (80365000,80363640,15fb7,6) ra 80231c88 sz 32
80231c1c+6c (80365000,80363640,15fb7,6) ra 80230fec sz 40
80230f80+6c (80365000,80363640,15fb7,6) ra 80219a40 sz 24
main+430 (80365000,80363640,15fb7,6) ra 80200098 sz 72
User-level: curproc NULL

-Chuck



On Fri, Mar 30, 2001 at 11:33:58AM +0900, Shuichiro URATA wrote:
> At Thu, 29 Mar 2001 14:00:15 +0900,
> Shuichiro URATA wrote:
> > > 
> > > this image gets past probing the first scsi bus, but hangs on the second:
> > 
> > Thanks, problem might be in SCSI driver or Jazzio interrupt handling.
> 
> I found wrong interrupt mask handling on jazzio_intr_establish().
> It may fix your and Matt's R96 problem.
> Could you try this kernel?
> 
> http://www.a-r.org/~ur/netbsd.ecoff.scsi2
> 
> ---
> Shuichiro URATA
> ur@a-r.org