SCSI Adaptec AHA-1540, not in default configuration

SCSI Adaptec AHA-1540, not in default configuration

Post by moett.. » Sun, 05 Dec 1999 04:00:00



Hi

I have a SCSI card (Adaptec AHA-1540, ISA) which has not the default
configuration (Adresses 1F0-1F7 & 3F6-3F6, IRQ 14), due to an address
conflict with my soundcard. I think it's because of this, that the
installation procedure of RH doesn't find it.
I would like to ask, if it is poosible to configure RH Linux the way,
that I can use that card?

Thanks for any hint!
Phil

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

SCSI Adaptec AHA-1540, not in default configuration

Post by Saah » Sun, 05 Dec 1999 04:00:00


You should be able to just do modprobe aha1542.


>Hi

>I have a SCSI card (Adaptec AHA-1540, ISA) which has not the default
>configuration (Adresses 1F0-1F7 & 3F6-3F6, IRQ 14), due to an address
>conflict with my soundcard. I think it's because of this, that the
>installation procedure of RH doesn't find it.
>I would like to ask, if it is poosible to configure RH Linux the way,
>that I can use that card?

>Thanks for any hint!
>Phil

>Sent via Deja.com http://www.deja.com/
>Before you buy.

--
Michal Sabala aka Saahbs
 Linux'er since 0.97 :)
 UIUC Class of 2002; ECE
Linux, hardware, C, Java,
aviation, rc-air models

 
 
 

SCSI Adaptec AHA-1540, not in default configuration

Post by mirce » Sun, 05 Dec 1999 04:00:00



> You should be able to just do modprobe aha1542.

Yes, but if the configuration isn't standard, the autoprobing will fail;
the addresses probed by default are 0x330 and 0x334 _only_.
To yhe original poster: you need to pass the parameters to the driver,
either in lilo.conf if the driver is compiled in the kernel, or when you
do modprobe aha1542. Quote from /usr/src/linux/drivers/scsi/aha1542.c:

/*
 * LILO/Module params:
aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
 *
 * Where:  <PORTBASE> is any of the valid AHA addresses:
 *                      0x130, 0x134, 0x230, 0x234, 0x330, 0x334
 *         <BUSON>  is the time (in microsecs) that AHA spends on the AT-bus
 *                  when transferring data.  1542A power-on default is 11us,
 *                  valid values are in range: 2..15 (decimal)
 *         <BUSOFF> is the time that AHA spends OFF THE BUS after while
 *                  it is transferring data (not to monopolize the bus).
 *                  Power-on default is 4us, valid range: 1..64 microseconds.
 *         <DMASPEED> Default is jumper selected (1542A: on the J1),
 *                  but experimenter can alter it with this.
 *                  Valid values: 5, 6, 7, 8, 10 (MB/s)
 *                  Factory default is 5 MB/s.
 */

MST

 
 
 

SCSI Adaptec AHA-1540, not in default configuration

Post by moett.. » Mon, 06 Dec 1999 04:00:00



Quote:> you need to pass the parameters to the driver,
> either in lilo.conf if the driver is compiled in the kernel,

Yes, I compiled it into the kernel. It would help me a lot, if you could
tell me, how I have to declare it in "lilo.conf".

Quote:>  * LILO/Module params:
> aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
>  *
>  * Where:  <PORTBASE> is any of the valid AHA addresses:
>  *                 0x130, 0x134, 0x230, 0x234, 0x330, 0x334

I have 1F0-1F7 and 3F6. This works in NeXTstep and WinNT. WinNT even
detects it itself.

Phil

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

SCSI Adaptec AHA-1540, not in default configuration

Post by mirce » Mon, 06 Dec 1999 04:00:00




> > you need to pass the parameters to the driver,
> > either in lilo.conf if the driver is compiled in the kernel,

> Yes, I compiled it into the kernel. It would help me a lot, if you could
> tell me, how I have to declare it in "lilo.conf".

> >  * LILO/Module params:
> > aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
> >  *
> >  * Where:  <PORTBASE> is any of the valid AHA addresses:
> >  *                    0x130, 0x134, 0x230, 0x234, 0x330, 0x334

> I have 1F0-1F7 and 3F6. This works in NeXTstep and WinNT. WinNT even
> detects it itself.

Well, add a line to the general part of /etc/lilo.conf, reading:
append="aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]"
then rerun lilo.

Here's what I used to have for a aha1542cf with the driver compiled in:
append="aha1542=0x134"

....since the card was at address 0x134; don't know about 0x1f0, it
doesn't look like a regular address for the 154x series. Is it by any
chance Plug'n'Pray? If so, you might have to configure the hardware
resources of the card with pnpdump and isapnp. My card wasn't, it had a
block of dip-switches for the selection of the i/o address. AFAIK, the
"cp" models are PnP. These utilities come with the isapnptools package;
see the man pages, as well as the page for isapnp.conf.

MST

 
 
 

1. Adaptec AHA-1540 Problems.

Hello,
  I'm not a completely new Linux user, but I'm more use to HP-UNIX.  I
have an AMD K6-3 450 256M RAM Box with an adaptec AHA-1540.  In my old
computer, the SUSE 5.3 install would see the scsi card.  When I moved it
to the new box, the install no longer sees the card but both NT and
WIN95 see it.  I have a feeling that I need to change the PNP settings
on the AHA card.  Is there anyway that I can force Linux to use certain
addresses for the card instead of changing the address?

Thanks
Bill


2. General Information Questions

3. Strange termination problem with Adaptec AHA 1540/1542C

4. xmixer has no effect

5. AHA-1540/42 and Mitsumi CD Conflict

6. No Ports Directory

7. SUMO scsi controller ?= AHA 1540/1542?

8. Old EISA Buslogic controller & Wangtek QIC drive?

9. Adaptec 1540 SCSI problem

10. Adaptec 1540/42CF SCSI controler

11. Problem with an Adaptec 1540 SCSI controler

12. New "xad" driver for Adaptec 1540/1542CP SCSI controller

13. two adaptec SCSI cards 2940/1540 on one 3.2v4.2 system