Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 21:33:03 CST
From:      reptco@chicagonet.net
To:        Doug White <dwhite@resnet.uoregon.edu>, scsi@freebsd.org, Wayne Berryman <reptco@chicagonet.net>
Subject:   Re: BSD 2.2.5 - ahco board is not responding
Message-ID:  <199712180227.4791400@Chicago>

next in thread | raw e-mail | index | archive | help
Addressed to: Doug White <dwhite@resnet.uoregon.edu>
              scsi@freebsd.org
              Wayne Berryman <reptco@chicagonet.net>

** Reply to note from Doug White <dwhite@gdi.uoregon.edu> Mon, 15 Dec 1997 09:39:56 -0800 (PST)

Hello Doug - and the folks at scsi@freebsd.org.  I have once again tried to install FreeBSD
2.2.5 from CD-ROM and I am still getting errors on ahc0.  I apologize in advance, I am very
very frustrated.  I have spent three weeks trying to install this product.  It was easier
installing version 1.0 than it is 2.2.5.  I would really like to get this working.  I don't
want to have to send it back because it won't install on my system.

I have included many of the notes Doug and myself have written back and forth for the
scsi@freebsd people's info.  The notes are separated by a line of =========='s.

This is what I have been using from the menu (from memory):

I have tried keeping the Seagate ST01, ST02 SCSI Devices and the Wangtec QIC tape drive, and I
have tried it with deleting them both.  No success either way.

In the configuration menu - 
I am now deleting:
        All of the Sony / Panasonic / Creative Labs IDE CD-ROM drivers.
        The Adaptec 1xxx drivers.
        All of the bus logic stuff (SCSI adapter and mouse).
        All of the Network cards - since mine is not listed.
        LPT 2.

I am now keeping:
        The two on board IDE drivers.
        The floppy driver.
        The Seagate drivers ST1,ST2 drivers.
        LPT1
        Mouse	
        The PCI stuff can't be configured - at all. (The adaptec 2940 driver is there).

This is what it comes up with on the screen when I say Quit and save from the user
configuration menu:

Avail Memory = 61054976 (59624K bytes)
Probing for devices on PCI Bus 0:
Chip0 <Intel 82437VX PCI cache memory controller> Rev2 on PCI0:0
Chip1 <Intel 82371SB PCI-ISA Bridge> Rev1 on PCI0:7:0
Chip2 <Intel 82371SB IDE Interface> Rev0 on PCI0:7:1
ed2<ne2000 PCI Ethernet (Realtek 8029)> Rev0 int a irq 9 on pci0:9
ed2 address00:a0:76:a0:4e:f4, type NE2000 (16 bit)
ahc0 <Adaptec 2940 Ultra SCSI host adapter> Rev0 inta irq 12 on pci0:10
ahc0 aic 7880 wide channel, scsi id=7, 16 SCBs
ahc0 waiting for SCSI devices to settle
(ahc0:0:0): "Quantum XP39100W LXY4" type 0 fixed SCSI 2
sd0(ahco:0:0): Direct Access 8682MB
ahco board is not responding
*(ahc0:2:0): SCB 0x0 - timed out in datain phase, SCSISGI==0x44
*Seq Addr=0x128 SCSISEQ=0x12 SStat0=0x0 SStat1=0x3
*ahc0:2:0): abort message in message buffer
*ahco board is not responding
cmd fail
(ahc0:2:0): SCB 0x1 time out while recovery in progress
(ahc0:2:0): "unknown unknown ????" type 13 fixed SCSI 0


Then it just keeps testing - ahc0:2:1,, ahc0:2:2, ahc0:2:3 - etc (and it repeats the four
lines above with the asterisk in them).

As I mentioned to Doug somewhere in the notes below - the installation program correctly
detects the network card & it's irq, the adaptec card & its irq, and the type of hard drive.

After that I can't tell what it is dying on.  The hard drive (on the 68 pin bus), the tape
drive (on the 50 pin bus), or the CD-ROM drive (on the 50 pin bus).

Any more suggestions?  What can I do to get the installation program to recognize my SCSI
stuff, and begin to actually install?

Wayne
reptco@chicagonet.net


==========================================================================
On Mon, 15 Dec 1997 reptco@chicagonet.net wrote:
  
> >From the time I have gotten the CD-ROM (about three weeks ago) until
> now, I have just booted up straight to the menu where you delete the
> devices you do not have on your system, and configure the ones you do
> have. 
> 
> Is there anything I can type there at the boot prompt (which skips if
> you don't hit the keyboard in 5 or ten seconds)to try this differently?
> Again - just to refresh everyone's memory, there are no ide devices
> (Hard drive or CD-ROM drive).  I just want to install BSD on the last
> 1.6 Gig of my 9.1Gig drive. 

Does FreeBSD detect all the SCSI devices okay, or is it still ignoring
your hard disk?  If it's detecting okay then just proceed on. Make sure
that the 1.6GB slice you're referring to is completely unallocated in your
partition table; use FDISK to remove any partition that may be present.

You can't control the SCSI devices from UserConfig other than the settings
of the SCSI controller. 

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


============================================================================


>   
> On Sun, 14 Dec 1997 reptco@chicagonet.net wrote:
>   
> > I have tried a number of things this weekend, and still no luck.  I am
> > still getting the same messages of my ach0 board not responding. 
>   
> ach0: board not responding
>   
> Try removing devices from the chain until stuff starts working.  You may
> have an evil device.
>   
> > The first question I have is this - My adaptec card has both a UW port
> > which the hard drive is connected to, and then a 50 pin port which the
> > CD-ROM and tape drive are connected to.  I have the CD-ROM drive
> > terminated, and the Hard drive terminated.  This is how the chain looks: 
> > 
> >   [Hard drive (T)] ==========[ 68 pin controller port] ======
> >   [50 pin controller port]=====[tape drive]=====[CD ROM drive (T)]
>   
> Hm, even if the wide and narrow chains are separate, the termination would
> still be correct.  
>   
> > I have tried leaving the Adaptec BIOS "Plug & Play SCAM support"
> > enabled, with the termination set to Automatic, and I have tried
> > DISABLING the SCAM support with the termination set to
> > Low Off High On like the adaptec manual says I should have for someone
> > using both ports. 
>   
> Did you try this combo with auto termination?
>   
> > My other question - I have had trouble with other operating systems
> > recognizing the last 1.6G of my drive.  If somehow BSD can get far
> > enough to install, will it have any problems installing on this part of
> > the 9.1G drive? 
>   
> That is a BIOS limitation, FreeBSD won't have any problems.  Make sure
> that the root partition is below the 8gb mark though or the BIOS won't be
> able to see it to boot it.
>   
> > 
> > Is there anything else I can try?
>   
> I'm forwarding this on to scsi@freebsd.org, the SCSI experts.  I suspect
> we need to enable some debugging options and really figure out what's
> going on.
>   
> I'm leaving this stuff on here for their reference:
>   
> > > > Hi Doug.  I have set no termination on any of the devices - they are as they
> > came out of the box.  On the > > 2940 - in its bios I have it set to autotermination.  
> > >   
> > > OK, that is your problem.  You must have both ends of the SCSI chain
> > > terminated.  Leaving autodetect on the Adaptec is OK, this way if you
> > > attach external devices through the port it'll switch it off.  Make sure
> > > that any external devices you attach have termination enabled though.
> > >   
> > > For instance, let's say your SCSI chain is set up as follows:
> > >   
> > > [ controller ] ==== [ disk ] ===== [ tape ] ==== [ CDROM ]
> > >   
> > > You must enable termination on the controller and the CDROM.  Termination
> > > should be disabled on the disk and the tape.  If a device allows you to
> > > set termination power source, make sure termination power comes from the
> > > bus.  My Seagate disk has this but it's jumpered to bus by default.
> > >   
> > > > Does BSD not work well with the autotermination of the adaptec card?
> > >   
> > > It's a hardware thing, actually.  FreeBSD could care less.  It may be that
> > > the DOS software is less picky, but in fact your setup is incorrect.
> > >   
> > > > Are you telling me I need to turn that termination off in the bios, and
> > > > manually terminate the 2940 and the last device on the chain?  Is that
> > > > the only way I will be able to install BSD?? 
> > >   
> > > In order, no and yes.  Otherwise you are violating SCSI spec.  See
> > > your Adaptec's manual. 
> > >   
> > > At the same time, check your SCSI cable; if it's beat up or way too long
> > > for your needs, try replacing it. 
> > >   
> > > Doug White                              | University of Oregon  
> > > Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
> > > http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
> > >   
> > 
> > 
> > Wayne
> > reptco@chicagonet.net
> > 
>   
> Doug White                              | University of Oregon  
> Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
> http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
>   
>   
======================================================================================
To: us me and wayne <reptco@chicagonet.net>
Date: Fri, 12 Dec 1997 22:03:16 
From: reptco@chicagonet.net
Subject: Re: BSD 2.2.5 - ahco board is not responding
  
  
Addressed to: Distribution list (see below)
  
Hi.  My name is Wayne, and I just purchased FreeBSD 2.2.5 from Walnut Creek.  I am now trying
to install it in my Pentium 200 - with 64M of RAM, and having a few problems with it.  I hope I don't
overload you with the info below, but I figured better to much than too little.
  
Let me tell you about the hardware I have first.
I have an Intel Pentium 200 (in an Asus motherboard) with 64M of RAM.  I have no IDE/EIDE
hard drives or CD-Rom drives attached to this motherboard.  I have an Adaptec 2940 UW
controller card (BIOS 1.23), with a Quantum Atlas II 9.1G UW SCSI Drive (SCSI Device 0), IRQ 12. I
also have a Plextor 12 plex SCSI Cd-Rom drive (SCSI Device 3).  I use a Seagate / Conner
Tapestor SCSI 4G/8G tape drive for backups (SCSI Device 2).  I am using a Matrox Millinnium
4 MB video card - IRQ 11, and a CardWare Labs Inc (CWLI) network board -IRQ 9 (BSD & NT recognize it as a
Realtek card - not sure why).

The Hard drive is a UW drive, cabled to the UW port on the card.  The tape drive and CD-Rom drive are 50
pin SCSI, and cabled to the 50 pin SCSI port.  The card is set in the bios at ID #7, and multiple
LUNs/boot devices are enabled.

Let me explain my drive partitioning setup, where I would like to install BSD, and what has NOT worked so
far.

>From the OS/2 Boot Manager Menu - I am redoing my drive, so the FS Type on all are
Unformatted:

Name		Status        Access		FS Type		MBytes
------------------------------------------------------------------------
        	Startable	Primary		Boot Manager	7
DOS 6.22	Bootable	C:Primary			2000
Warp 4.0	Bootable	D:Logical			2000
NT 4.0		Bootable	E:Logical			2000
Misc Stuff	Bootable	F:Logical			1500
BSD 2.2.5	None		G:Logical or :Primary		1161

I have booted via 3.5" Diskette, and CD-Rom.  Since the CD-Rom works fine, I'm sticking with booting via my
Plextor.

I put in the BSD CD, and reboot.  It comes up with the first boot menu, and I let it go.  I then use the
menu that says something like "Boot in Visual Mode", and I use that to configure my system.  I take the bus
mastering stuff out, the Adaptec 15X stuff out, Most of the NIC cards out, and get the settings down to
what I have in my system with the correct IRQ's (my motherboard shows them after the BIOS info) and no
conflicts. When I Save it and continue, it recognizes the IDE ports on my board correctly at 14 & 15.  It
recognizes the CardWare Labs NIC card as a RealTek card correctly at IRQ 9.  It recognizes my Adaptec 2940
UW card corretly at IRQ 12, and then says waiting for SCSI Devices to settle.  It then says the 2940 is not
responding. It makes no sense to me that the card isn't working.  The card is working fine.  The Plextor
is booting off the 2940. This system has worked correctly under DOS, NT, and OS/2 for months now.  FreeBSD
recognizes the EXACT Adaptec card, so I am sure it has drivers for it. 

What is happening here? HELP - PLEASE!!

Here is what I see on the screen (relating to the 2940), as close as I have written down:

ahc0: Adapter 2940 Ultra SCSI Host Adapter rev0 inta irq12 on PCI0:10
ahc0: Aic0 (I think the AIC0 is correct) 7880 Wide Channel SCSI Id=7 16SCBS
ahc0: Waiting for SCSI devices to settle
(ahc0:0:0) Quantum XP39100W LXY4 Type 0 Fixed SCSI 2
sd0(ahc0:0:0): Direct Access 8682MB
ahc0: Board is not responding
ahco:2:0 SCB 0x0 - timed out in datain phase sCSI SIGI=0x44

It then tries ahco:2:1, ahc0:2:2 - and on and on.  It fails on them all.  I don't understand why.  Can you
explain what is going on here to me?  What do I need to do differently?

Also - From the Boot manager menu above, I want to install BSD on the last part of the drive.  Is there any
problem with this that you can forsee?  Should I make it a logical or primary partition?  The other OS's
won't recognize that part of the drive, but I am guessing that UNIX will, since it was built on/for SCSI
devices.  Can you also give me advice on the best way to configure the drive partitioning for BSD?

Will I be able to use Boot Manager to boot to BSD?

Sorry for the multiple questions, but I would like to get this all straight ASAP.  While I have all of my
system information here I wanted to ask the experts.

Thanks in advance for your help, I am lost here.

Wayne.


Distribution list: support@cdrom.com
                   questions@freebsd.org
                   reptco@chicagonet.net
                   wberryman@fcr.follett.com

=================================================================================
To: us me and wayne <reptco@chicagonet.net>
Date: Fri, 12 Dec 1997 22:03:15 
From: reptco@chicagonet.net
Subject: BSD 2.2.5 - ahco board is not responding
  
  
On Mon, 8 Dec 1997 reptco@chicagonet.net wrote:
  
> Hi Doug.  I have set no termination on any of the devices - they are as they came out of the box.  On the
> 2940 - in its bios I have it set to autotermination.  
  
OK, that is your problem.  You must have both ends of the SCSI chain
terminated.  Leaving autodetect on the Adaptec is OK, this way if you
attach external devices through the port it'll switch it off.  Make sure
that any external devices you attach have termination enabled though.

For instance, let's say your SCSI chain is set up as follows:

[ controller ] ==== [ disk ] ===== [ tape ] ==== [ CDROM ]

You must enable termination on the controller and the CDROM.  Termination
should be disabled on the disk and the tape.  If a device allows you to
set termination power source, make sure termination power comes from the
bus.  My Seagate disk has this but it's jumpered to bus by default.

> Does BSD not work well with the autotermination of the adaptec card?

It's a hardware thing, actually.  FreeBSD could care less.  It may be that
the DOS software is less picky, but in fact your setup is incorrect.

> Are you telling me I need to turn that termination off in the bios, and
> manually terminate the 2940 and the last device on the chain?  Is that
> the only way I will be able to install BSD?? 

In order, no and yes.  Otherwise you are violating SCSI spec.  See
your Adaptec's manual. 

At the same time, check your SCSI cable; if it's beat up or way too long
for your needs, try replacing it. 

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major








 

Wayne
reptco@chicagonet.net



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