Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 13:41:13 -0700
From:      "William R. Dickson" <billd@forest.net>
To:        freebsd-questions@freebsd.org
Subject:   camcontrol question
Message-ID:  <v04210105b591349fdbdb@[216.168.32.9]>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm having a problem with a FreeBSD 4.0 machine.  It crashed three times
in the last couple of months, and then twice in the last twenty-four
hours, all with the same errors.  Nothing gets logged, but the messages
on the console look like this:

(da0:ahc0:0:0:0): invalidating pack
(da0:ahc0:0:0:0): SCB 0x1F - timed out while idle, SEQADDR -- 0xC
(da0:ahc0:0:0:0): Queueing aBDR SCB
(da0:ahc0:0:0:0): no longer in timeout, status = 34a

...repeat ad infinitum.

I found this problem report on the FreeBSD site:

     http://www.freebsd.org/cgi/query-pr.cgi?pr=19579

The workarounds proposed were:

     - disabling tagged queuing
     - disabling processor caching or changing it to writethru in BIOS
       (really to slow down the processor)

Disabling the processor caches didn't work for me, so I'm trying to try
turning off the tagged queuing.  It looks like I need to do this to 
switch off tagged queuing on da0:

      camcontrol negotiate -n da -u 0 -T disable -a

When I do this, I get apparent success:

Current Parameters:
(pass0:ahc0:0:2:0): sync parameter: 12
(pass0:ahc0:0:2:0): frequencey: 20.000MHz
(pass0:ahc0:0:2:0): offset: 8
(pass0:ahc0:0:2:0): bus width: 16 bits
(pass0:ahc0:0:2:0): disconnection is enabled
(pass0:ahc0:0:2:0): tagged queueing is enabled
New Parameters:
(pass0:ahc0:0:2:0): sync parameter: 12
(pass0:ahc0:0:2:0): frequencey: 20.000MHz
(pass0:ahc0:0:2:0): offset: 8
(pass0:ahc0:0:2:0): bus width: 16 bits
(pass0:ahc0:0:2:0): disconnection is enabled
(pass0:ahc0:0:2:0): tagged queueing is disabled

However, when I double-check it with inquiry, I get:

fertilizer# camcontrol inquiry
pass0: <IBM DDRS-39130W S71D> Fixed Direct Access SCSI-2 device
pass0: Serial Number RE083315
pass0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged 
Queueing Enabled

Can anyone tell me what I'm doing wrong here?  Is my tagged queueing 
actually disabled, and I'm just doing something wrong in the inquiry?

Thanks,

-Bill

_________________________________________________________________
Bill Dickson                             Phone:   +1.425.483.0483
Client Service Representative              Fax:   +1.425.482.6871
digital.forest                      where Internet solutions grow
19515 North Creek Parkway, Suite 208      http:    www.forest.net
Bothell, WA 98115                        email:  billd@forest.net


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




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