Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2002 17:25:39 +0000 (GMT)
From:      attila! <attila@hun.org>
To:        Scott Long <Scott_Long@adaptec.com>
Cc:        Justin T.Gibbs <gibbs@scsiguy.com>, <marius@alchemy.franken.de>, Poul-Henning Kamp <phk@critter.freebsd.dk>, FreeBSD 5.0-CURRENT <current@freebsd.org>
Subject:   Report on aic7890/91 controller --hints, or lack thereof...
Message-ID:  <20021004172539.1pCz7046@hun.org>
References:  <20021003165514.9dv685621@hun.org> <AD1F046251DCD311BA6F00204840376704A21124@aimexc02.corp.adaptec.com> <20021003023404.uesI9921@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  Objective:

    1.  Dual IBM 160MB/sec drives on one channel of aic7899 controller
    2.  DVD-RAM, ZIP, etc on other channel of aic7899

  Bottom line:

    failure

  Operating System

    FreeBSD 5.0-CURRENT

    buildkernel slice 03 Oct 1200 GMT (no GEOM)
    buildworld  slice 27 Sep 1200 GMT (too many errors since then)

  Hardware

    Tyan 2642 SMP Thunder K7
    2 X 1.2GHz Athlon
    512M DDR266 memory
    dual channel aic7899 SCSI controller
    dual 3com 'xl' NIC

    Matrox Millenium II with 8 MB
    2 x 9G 10,000 RPM 160 MB/sec ~4ms access drives
    Creative 5.2G DVDRAM
    Iomega ZIP 100

  modus operandi:

      installed da0/1 on channel A of aic3899
      channel A and B report in run-up (dmesg)

	ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1400-0x14ff mem 0xf4002000-
	aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
	ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1800-0x18ff mem 0xf4003000-
	ahc1: bus_alloc_resource() failed to allocate IRQ
	device_probe_and_attach: ahc1 attach returned 12

      prior to 27 Sep, dmesg did not report ahc1; both were
      reported as ahc0 and which ever channel was in use
      reported the "SCSI Id=7, 32/253 SCBs". I don't know what
      the controller reported on 31 Dec 01 except that it worked
      correctly with 5.0-CURRENT at that time. I have another
      machine I can bring on line as soon as I can get a KVM and
      display card shipped out here to the boonies and I intend
      to find out.

      This message was printed when da0/1 were attached to
      Channel A and the DVDRAM and ZIP were attached via a 68-50
      adaptor to Channel B --if Channel B was recognzed, it
      would also have printed "SCSI Id=7, 32/253 SCBs".  If the
      installation was reversed (da0/1 on Channel B), although
      the loader would boot from da0, at the pass off to the
      kernel it would try to load from da2 (ZIP) which, of
      course, failed and panic'd.

      installing da0/1 on Channel B, although recognized in the
      BIOS display, and the loader, the loader would and bring
      up the prompt:

	mountroute>

      All of these modes were done both with and without
      hints. Hints had no effect on the results. I tried at
      least 15 permutations of cabling and hints to the same
      bottom line.

    Net result:

      installed da0/1 on Channel A of aic7899
      installed cd0 (DVDRAM) and da2 (ZIP) on Tekram DC395U

      see hints file following, although hints were not required.

  it works, but it is a bit absurd, given that there is a
  [supposedly] perfectly good Channel B lying around and the
  Tekram DC395U/W is unsupported, therfore requiring me to patch
  it back in every twelve hours at cvsup time.

  patches and suggestions welcome --and reasonable ones will be
  tested. After I shakedown the 04 Oct 1200Z kernel, I will
  enable GEOS and shake it down. Then PHK has a patch for the
  SCSI cd code which I will implement and shake --if I get that
  far!

  ----- appendix -----

  N.B. I have copies of way too many variations of loading and
  their hints if you wish to peruse the permutations.

  # device.hints
  #
  # 2910 attila	add scbus wire downs
  # 2a04 attila	final revision
  #
  ##########################################################################
  #
  #	ahc0 bus=0 	BOOT from AIC789 A channel for 160 MB/sec IBMs
  #	trm0 bus=0	DC395U: CDROM (4), ZIP (5), DVDRAM (6) reported
  #
  #  full hints
  #  boots from A channel 7899
  #  B channel is useless
  #
  # ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1000-0x10ff mem 0xf4001000-0xf4001fff irq 10 at device 13.0 on pci0
  # aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
  # ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1400-0x14ff mem 0xf4002000-0xf4002fff irq 11 at device 13.1 on pci0
  # ahc1: bus_alloc_resource() failed to allocate IRQ
  # device_probe_and_attach: ahc1 attach returned 12
  #

  hint.scbus.0.at="ahc0"
  hint.scbus.0.bus="0"
  hint.scbus.1.at="trm0"
  hint.scbus.1.bus="0"

  hint.da.0.at="scbus0"
  hint.da.0.target="0"
  hint.da.0.unit="0"
  hint.da.1.at="scbus0"
  hint.da.1.target="1"
  hint.da.1.unit="0"

  hint.cd.0.at="scbus1"
  hint.cd.0.target="6"
  hint.cd.0.unit="0"
  hint.da.2.at="scbus1"
  hint.da.2.target="5"
  hint.da.2.unit="0"


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




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