9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio de Re lucio@proxima.alt.za
Subject: SCSI woes.
Date: Mon, 14 Jul 1997 08:43:44 +0200	[thread overview]
Message-ID: <19970714064344.5rfrOteFKf8zRz2BKuyNoe62UKEmj8_oIDR5q0C3-fA@z> (raw)

Geoff (does anyone at Bell Labs have names? I'm still racking my brain
as to who jmk is, I'm sure I *ought* to know :-)

I'm using your mail as a checklist, please feel free to give me hell if
this is annoying:

> I have used the AHA1542CP in several machines; I think I've used it
> with the Seagate ST12400N and on another occasion with bigger disks
> and 9pcfs.  I don't think I've ever seen your symptoms.  You've got
> the 1542 i/o port base set to 0x330, the drive's SCSI id set to 0, and
> the bus is terminated correctly (if you've only a single SCSI device,
> it should have termination enabled internally or have a SCSI
> terminator attached)?

I'm not sure about the termination.  The drive seems to operate
correctly under (shudder) WinNT, and I've set the termination jumper(s)
so that the drive provides termination power, has termination on and
parity enabled.  I find the controller can be very forgiving, but not
reliably so, alternative jumper configurations will be gratefully
accepted.

> ... b.com will only look at 0x330 for a SCSI host
> adapter.  Have you configured the adapter with Adaptec's `SCSISelect'
> program, accessible at boot time with control-a?  SCSISelect should
> also be able to probe the disk a little, as a sanity check.
>
The disk, as I mentioned, behaves fine.  PnP sets the adapter's IRQ to
10 because of a PCI ethernet card (I'll hopefully get to the ethernet
too, eventually), which is why I disable PnP.  This results in the
default AHA configuration applying, although naturally I have reason to
be concerned about PnP doing evil things with IRQ 11 itself.  I removed
the Ether card to no noticeable improvement, perhaps reserving IRQ 11
for an ISA legacy card will make a difference, I had not considered
that possibility.  Nopes, still get "adaptec0: invdcmd #01, len 5", etc.

> Disabling plug-and-play also disables the 1542CP's BIOS (because it
> then effectively becomes a 1542CF but the BIOS is for the 1542CP and
> the versions don't match), which I don't believe is needed if you only
> run Plan 9.
>
Ouch!  How, then, do I convince PnP to leave the AHA's default settings
unchanged (I see it returns IRQ 10 and DMA 7, then again, b.com does
ask the controller, whose I/O address certainly doesn't change :-(

> An unrelated potential problem is that the 1542 has a built-in floppy
> controller that may need to be disabled (switch 5) if your system
> already has one.
>
Nopes, taken care of that.

> The SEE ALSO section of scuzz(8) is a good place to find out where to
> learn more about SCSI; there's also a newer book called something like
> `The SCSI and IDE Standards' that's quite good.  A quick introduction,
> geared to FreeBSD, can be found through
> `http://www.freebsd.org/handbook/handbook.html' (it's
> `http://www.freebsd.org/handbook/handbook127.html' today, but they
> keep renumbering it).

Seems to have lingered in the same spot long enough for me to catch it
:-)
I'll now read through it and see if I can discover where I'm going
wrong.

I can certainly not find any explanation for the invalid command
report.  As I read it, what's happening is that the POLL command issuer
is feeding dud data to the controller, or somesuch.  I'll make sure I
have the most recent version of b.com on the boot floppy (I'm sure it
currently has the CD-ROM version) and, additionally or alternatively,
will hack at the sources to produce a copy that will help me diagnose
the problem.

Thanks for your encouragement.
--
Lucio de Re (lucio@proxima.alt.za)
Disclaimer: I'm working at getting my opinions to agree with me.






             reply	other threads:[~1997-07-14  6:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-14  6:43 Lucio [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-07-14 17:16 geoff
1997-07-14 17:04 Berry
1997-07-14 16:49 presotto
1997-07-14 13:17 jmk
1997-07-13 21:12 geoff
1997-07-13 14:55 Lucio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19970714064344.5rfrOteFKf8zRz2BKuyNoe62UKEmj8_oIDR5q0C3-fA@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).