Subject: asc SCSI weirdness in -current
To: None <port-alpha@netbsd.org>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 01/17/2001 11:33:56
I just built a kernel from a very recent SUP of -current and when I boot
it, it no longer probes my Yamaha CD-RW drive correctly.  Besides that,
it comes up with strange sync values for the other drives, such as
20.83MB/s for my fast/narrow IBM drive.  All my SCSI devices are driven
from the DEC 3000/300 built-in SCSI controller.  Has anyone else
experienced this?  I like using my CD-RW drive, so I hope this isn't a
permanent "fixture..." :-)

Here is the dmesg output from the recent kernel:

>>>>>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5Q (HAWKWIND) #0: Tue Jan 16 22:25:57 EST 2001
    paul@hawkwind:/usr/src/sys/arch/alpha/compile/HAWKWIND
DEC 3000 - M300, 150MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2048 KB reserved for PROM, 254 MB used by NetBSD)
avail memory = 181 MB
using 8125 buffers containing 65000 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064-1
tcasic0 at mainbus0
tc0 at tcasic0: 12.5 MHz clock
sfb0 at tc0 slot 6 offset 0x2000000: 1280 x 1024, 8bpp
wsdisplay0 at sfb0
ioasic0 at tc0 slot 5 offset 0x0: slow mode
le0 at ioasic0 offset 0xc0000: address 08:00:2b:95:61:12
le0: 32 receive buffers, 8 transmit buffers
zsc0 at ioasic0 offset 0x100000
vsms0 at zsc0 channel 0
wsmouse0 at vsms0
zstty0 at zsc0 channel 1 (console i/o)
zsc1 at ioasic0 offset 0x180000
lkkbd0 at zsc1 channel 0
wskbd0 at lkkbd0
zsc1: channel 1 not configured
mcclock0 at ioasic0 offset 0x200000: mc146818 or compatible
bba0 at ioasic0 offset 0x240000
audio0 at bba0: full duplex, mmap
tcds0 at tc0 slot 4 offset 0x0: TurboChannel Dual SCSI (baseboard)
tcds0: fast mode set for chip 0
asc0 at tcds0 chip 0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
le (LANCE Ethernet) at tc0 slot 0 offset 0x0 not configured
scsibus0: waiting 2 seconds for devices to settle...
probe(asc0:0:0): max sync rate 20.83MB/s
asc0: target 0: sync negotiation
sd0 at scsibus0 target 0 lun 0: <IBM OEM, DCHS04Z, 6161> SCSI2 0/direct fixed
sd0(asc0:0:0): max sync rate 5.00MB/s
sd0: 4340 MB, 6077 cyl, 9 head, 162 sec, 512 bytes/sect x 8888543 sectors
probe(asc0:4:0): unrecognized MESSAGE EXTENDED; sending REJECT
probe(asc0:4:0): max sync rate 10.00MB/s
asc0: target 4: sync negotiation
sd1 at scsibus0 target 4 lun 0: <IBMRISC, DFHSS4W, 4242> SCSI2 0/direct fixed
sd1(asc0:4:0): max sync rate 5.00MB/s
sd1: 4303 MB, 4392 cyl, 16 head, 125 sec, 512 bytes/sect x 8813870 sectors
asc0: target 5: sync negotiation
sd2 at scsibus0 target 5 lun 0: <DEC, RX26     (C) DEC, 0070> SCSI1 0/direct removable
sd2: drive offline
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 100, p 3), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 100, p 3), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 0, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x1, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) >
probe(asc0:6:0): asc0: timed out [ecb 0xfffffc0004b6a000 (flags 0x41, dleft 4a, stat 0)], <state 2, nexus 0xfffffc0004b6a000, phase(l 6, c 0, p 101), resid 26, msg(q 0,o 100) > AGAIN
root on sd0a dumps on sd0b
sd0(asc0:0:0): max sync rate 20.83MB/s
root file system type: ffs
<<<<<

Here is the dmesg output from my previous kernel that successfully
probes my SCSI devices (the kernel I'm using now):

>>>>>
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5.1_ALPHA (HAWKWIND) #2: Mon Jan  1 12:32:29 EST 2001
    paul@hawkwind:/usr/src/sys/arch/alpha/compile/HAWKWIND
DEC 3000 - M300, 150MHz
8192 byte page size, 1 processor.
total memory = 256 MB
(2048 KB reserved for PROM, 254 MB used by NetBSD)
avail memory = 180 MB
using 8125 buffers containing 65000 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064-1 (pass 3)
tcasic0 at mainbus0
tc0 at tcasic0: 12.5 MHz clock
sfb0 at tc0 slot 6 offset 0x2000000: 1280 x 1024, 8bpp
wsdisplay0 at sfb0
ioasic0 at tc0 slot 5 offset 0x0: slow mode
le0 at ioasic0 offset 0xc0000: address 08:00:2b:95:61:12
le0: 32 receive buffers, 8 transmit buffers
zsc0 at ioasic0 offset 0x100000
vsms0 at zsc0 channel 0
wsmouse0 at vsms0
zstty0 at zsc0 channel 1 (console i/o)
zsc1 at ioasic0 offset 0x180000
lkkbd0 at zsc1 channel 0
wskbd0 at lkkbd0
zstty1 at zsc1 channel 1
mcclock0 at ioasic0 offset 0x200000: mc146818 or compatible
bba0 at ioasic0 offset 0x240000
audio0 at bba0: full duplex, mmap
tcds0 at tc0 slot 4 offset 0x0: TurboChannel Dual SCSI (baseboard)
tcds0: fast mode set for chip 0
asc0 at tcds0 chip 0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
le (LANCE Ethernet) at tc0 slot 0 offset 0x0 not configured
scsibus0: waiting 2 seconds for devices to settle...
probe(asc0:0:0): max sync rate 5.00MB/s
sd0 at scsibus0 target 0 lun 0: <IBM OEM, DCHS04Z, 6161> SCSI2 0/direct fixed
sd0: 4340 MB, 6077 cyl, 9 head, 162 sec, 512 bytes/sect x 8888543 sectors
probe(asc0:4:0): max sync rate 5.00MB/s
sd1 at scsibus0 target 4 lun 0: <IBMRISC, DFHSS4W, 4242> SCSI2 0/direct fixed
sd1: 4303 MB, 4392 cyl, 16 head, 125 sec, 512 bytes/sect x 8813870 sectors
sd2 at scsibus0 target 5 lun 0: <DEC, RX26     (C) DEC, 0070> SCSI1 0/direct removable
sd2: drive offline
probe(asc0:6:0): max sync rate 5.00MB/s
cd0 at scsibus0 target 6 lun 0: <YAMAHA, CRW8824S, 1.00> SCSI2 5/cdrom removable
root on sd0a dumps on sd0b
root file system type: ffs
<<<<<

Also, why did it go from 1.5.1 to 1.5Q?

Cheers,

Paul.

e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa