Subject: esp Disconnect Problems
To: None <port-sparc@NetBSD.ORG>
From: Curt Sampson <curt@portal.ca>
List: port-sparc
Date: 10/08/1996 18:23:12
I've just upgraded my venerable Sparcstation 1 to NetBSD 1.2, from
a moderately recent 1.2_BETA:

    NetBSD 1.2_BETA (DIDACTIC) #3: Tue Sep 10 11:43:26 PDT 1996

I was using my Jaz drive on SCSI ID 4. I was getting an error message
on startup that still seems to be appearing. It looks like this:

sd1(esp0:4:0): illegal request, data = 3b bb 01 3d 54 00 00 00 00 10 00 74 00 4e 20 00 00
sd1: could not mode sense (4); using fictitious geometry
sd1(esp0:4:0): illegal request, data = 00 06 01 3d ef 00 00 00 00 10 00 74 00 4e 20 00 00
sd1: could not mode sense (4); using fictitious geometry

This seems to happen whenever I do something that seems to access the
disk label. It's an inconvenience, but nothing more.

However, between the beta kernel dated above (which may have been
from slightly earlier sources) and the 1.2 release, I think something
changed in the esp disconnect code for the worse, because under a 1.2
kernel my drive now gives messages like this when I access certain parts
of it after mounting it:

Oct  7 22:44:14 didactic /netbsd: esp0: RESELECT: 7 bytes in FIFO!
Oct  7 22:44:14 didactic /netbsd: sd1(esp0:4:0): unit attention, data = 15 d0 01 39 db 00 00 f8 00 00 f4 00 00 00 00 00 00

Oct  7 22:59:48 didactic /netbsd: esp0: RESELECT: 7 bytes in FIFO!
Oct  7 22:59:48 didactic /netbsd: sd1(esp0:4:0): unit attention, data = 28 8f 01 3d 88 00 00 f8 00 00 f4 00 00 00 00 00 00

Oct  7 23:01:48 didactic /netbsd: esp0: RESELECT: 7 bytes in FIFO!
Oct  7 23:01:49 didactic /netbsd: sd1(esp0:4:0): unit attention, data = 34 5a 01 2f 2f 00 00 00 00 00 00 00 00 00 00 00 00

I moved the drive from ID 4 to ID 3 (which moved it to an ID with
disconnect disabled) and the problem went away.

cjs

Curt Sampson    curt@portal.ca		Info at http://www.portal.ca/
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.