atom feed15 messages in org.freebsd.freebsd-scsiRe: sa(4) jamming
FromSent OnAttachments
J WunschApr 27, 2001 12:18 am 
J WunschApr 27, 2001 2:02 am 
J WunschApr 27, 2001 8:53 am 
Justin T. GibbsApr 27, 2001 9:48 am 
Justin T. GibbsApr 27, 2001 9:59 am 
J WunschApr 28, 2001 12:03 pm 
Matthew JacobApr 28, 2001 12:13 pm 
Kenneth D. MerryApr 28, 2001 10:32 pm.Other
J WunschApr 29, 2001 9:49 am 
Matthew JacobApr 29, 2001 10:03 am 
Kenneth D. MerryApr 29, 2001 4:20 pm 
J WunschApr 30, 2001 11:35 am 
Kenneth D. MerryApr 30, 2001 1:57 pm 
J WunschApr 30, 2001 3:00 pm 
Kenneth D. MerryApr 30, 2001 4:08 pm 
Subject:Re: sa(4) jamming
From:Kenneth D. Merry (ke@kdm.org)
Date:Apr 30, 2001 1:57:53 pm
List:org.freebsd.freebsd-scsi

On Mon, Apr 30, 2001 at 20:36:04 +0200, J Wunsch wrote:

As Kenneth D. Merry wrote:

Hopefully that's true. :) I think another part of it may be that not as many people are brave enough to run -current. :) (I go quite a long time before updating some of my machines.)

I usually, too. My reason for upgrading recently was the acquisition of new hardware (i finally got rid of my old P133 box as the main workstation).

What else would trigger a NO SENSE situation?

It's possible you could do it with a CDROM drive. There are a couple of audio-related sense codes that return SS_NOP:

/* R */{SST(0x00, 0x12, SS_NOP, "Audio play operation paused") },

[etc]

Hmm, i can't seem to trigger them, patched or unpatched system. After looking into the SCSI-2 documents, it seems they are not returned as sense codes but in the Audio Status field of an READ SUB-CHANNEL command.

Hmm, yeah, maybe those sense codes are from an older spec or something.

You could always just disable the sa(4) driver patch and do it that way. That would probably be the easiest way to test it.

Well, i did this, on my test machine. Since i already did that previously (without setting action_string), i knew it fixes the ILI problem, but exposes the filemark -> EIO problem. That still happens, also with the addition of setting action_string (of course). Also, hitting the filemark yields a NO SENSE situation:

(sa0:sym0:0:1:0): READ(06). CDB: 8 0 0 80 0 0 (sa0:sym0:0:1:0): CAM Status: SCSI Status Error (sa0:sym0:0:1:0): SCSI Status: Check Condition (sa0:sym0:0:1:0): NO SENSE info:8000 asc:0,1 (sa0:sym0:0:1:0): Filemark detected (sa0:sym0:0:1:0): Retries Exhausted (sa0:sym0:0:1:0): error 5 (sa0:sym0:0:1:0): Unretryable Error

I can't seem to trigger printing the action_string ("No Recovery Action Needed") in either situation (ILI or filemark), however.

Hmm. At least in the above case we aren't getting an error action of SS_NOP, but rather SS_RETRY. With ILI, we would probably get back SS_NOP.

Are you getting any error messages prior to the ones printed above? Do you get any printfs when the ILI problem happens?

Ken

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