Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2001 20:28:53 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Andrew Heybey <ath@niksun.com>
Cc:        freebsd-scsi@freebsd.org, iedowse@maths.tcd.ie
Subject:   Re: Corruption on ahc reads - seems PCI latency related 
Message-ID:   <200102012028.aa75208@salmon.maths.tcd.ie>
In-Reply-To: Your message of "31 Jan 2001 19:21:07 EST." <85r91jqmmj.fsf@stiegl.niksun.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <85r91jqmmj.fsf@stiegl.niksun.com>, Andrew Heybey writes:

>Maybe AHC_AUTOFLUSH_BUG does not get set for all the chips that
>actually have the bug?  That is a WAG, since I am by no means an ahc
>expert.

Thanks for the suggestion - this definitely sounds like the kind
of think that could trigger such corruption. Unfortunately it seems
that AHC_AUTOFLUSH_BUG is already set on both controllers. Here is
the ahc_softc from ahc0 in case this information is of use to anyone.

Ian

(kgdb) p *(struct ahc_softc *)0xc17ccc00
$9 = {tag = 1, bsh = 3428909056, buffer_dmat = 0xc17cedc0, 
  scb_data = 0xc17c9000, next_queued_scb = 0xc17cf1d4, pending_scbs = {
    lh_first = 0x0}, untagged_queue_lock = 0, untagged_queues = {{
      tqh_first = 0x0, tqh_last = 0xc17ccc1c}, {tqh_first = 0x0, 
      tqh_last = 0xc17ccc24}, {tqh_first = 0x0, tqh_last = 0xc17ccc2c}, {
      tqh_first = 0x0, tqh_last = 0xc17ccc34}, {tqh_first = 0x0, 
      tqh_last = 0xc17ccc3c}, {tqh_first = 0x0, tqh_last = 0xc17ccc44}, {
      tqh_first = 0x0, tqh_last = 0xc17ccc4c}, {tqh_first = 0x0, 
      tqh_last = 0xc17ccc54}, {tqh_first = 0x0, tqh_last = 0xc17ccc5c}, {
      tqh_first = 0x0, tqh_last = 0xc17ccc64}, {tqh_first = 0x0, 
      tqh_last = 0xc17ccc6c}, {tqh_first = 0x0, tqh_last = 0xc17ccc74}, {
      tqh_first = 0x0, tqh_last = 0xc17ccc7c}, {tqh_first = 0x0, 
      tqh_last = 0xc17ccc84}, {tqh_first = 0x0, tqh_last = 0xc17ccc8c}, {
      tqh_first = 0x0, tqh_last = 0xc17ccc94}}, platform_data = 0xc17cef40, 
  dev_softc = 0xc17cdc80, enabled_targets = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xc17c5400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 
  black_hole = 0x0, pending_device = 0x0, chip = 1034, features = 22262, 
  bugs = 6, flags = 21825, unpause = 2 '\002', pause = 6 '\006', 
  qoutfifonext = 9 '\t', qinfifonext = 24 '\030', 
  qoutfifo = 0xc17cca00 "ÿÿÿÿÿÿÿÿO", 'ÿ' <repeats 191 times>..., 
  qinfifo = 0xc17ccb00 "K\016K\016K\016K\016O\016K\016K\016OMKOKOKOKOK\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016K\016"..., critical_sections = 0xc0a39820, 
  num_critical_sections = 7, links = {tqe_next = 0xc17e5e00, 
    tqe_prev = 0xc02bafe0}, channel = 65 'A', channel_b = 0 '\000', 
  our_id = 7 '\a', our_id_b = 0 '\000', targ_msg_req = 0, 
  unsolicited_ints = 0, targetcmds = 0x0, tqinfifonext = 0 '\000', 
  send_msg_perror = 0 '\000', msg_type = MSG_TYPE_NONE, 
  msgout_buf = "\001\003\001\n\177\000\000\000\000\000\000", 
  msgin_buf = "\001\003\001\n\037\000\000\000\000\000\000", msgout_len = 0, 
  msgout_index = 5, msgin_index = 0, parent_dmat = 0xc17cef00, 
  shared_data_dmat = 0xc17ced80, shared_data_dmamap = 0x0, 
  shared_data_busaddr = 265292288, dma_bug_buf = 0, suspend_state = {
    channel = {{scsiseq = 0 '\000', sxfrctl0 = 0 '\000', sxfrctl1 = 0 '\000', 
        simode0 = 0 '\000', simode1 = 0 '\000', seltimer = 0 '\000', 
        seqctl = 0 '\000'}, {scsiseq = 0 '\000', sxfrctl0 = 0 '\000', 
        sxfrctl1 = 0 '\000', simode0 = 0 '\000', simode1 = 0 '\000', 
        seltimer = 0 '\000', seqctl = 0 '\000'}}, optionmode = 0 '\000', 
    dscommand0 = 0 '\000', dspcistatus = 0 '\000', crccontrol1 = 0 '\000', 
    scbbaddr = 0 '\000', dff_thrsh = 0 '\000', scratch_ram = 0x0, btt = 0x0}, 
  enabled_luns = 0, init_level = 5, pci_cachesize = 32, 
  description = 0xc0289ac0 "Adaptec 2940 Ultra2 SCSI adapter", 
  name = 0xc0a3e260 "ahc0", unit = 0, seltime = 0, seltime_b = 0, 
  user_discenable = 65535, user_tagenable = 65535}



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




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