[3789] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Adaptec 1520

daemon@ATHENA.MIT.EDU (Phil's Kernel Account)
Mon Apr 27 12:17:38 1998

Date: 	Mon, 27 Apr 1998 11:50:22 -0400 (EDT)
From: "Phil's Kernel Account" <kernel@eiterra.nls.net>
Reply-To: kernel@nls.net
To: PiLoT <canpilot@mx3.redestb.es>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <3.0.2.32.19980427171218.006a411c@pop3.mx3.redestb.es>

On Mon, 27 Apr 1998, PiLoT wrote:

#	I've got an Adaptec 1520 and I'm using Red Hat 5.

Maybe I should write a FAQ or HOWTO on these damned cards. They're popping
up *EVERYWHERE!* Why can't these companies include an NCR3c400 or
something?!? *sigh*
	
#	My SCSI CD-Roms are not recognized at boot time. The solution that I 
#found it's entering the command:
#		 insmod aha152x.o aha152x=0x340,11,7,1
#	I've tried to put in the lilo.conf:
#	append="aha152x=0x340,11,7,1"
#	but it doesn't work.
#	Could you tell if it's possible to recognize my SCSI drives at boot 
# time?

Okay, this one's gonna be long, you weirdos who like to fsck with this
stuff, pay attention. ;)

First off; these cards aren't true AHA-1520B's or C's or E's or whatever.
They're actually single-chippers. The cards I work with the most are made
by P.E. Logic, the "PEL-1600." It's an ISA card, with a DB25 external,
50pin internal. Jumpers are behind the internal connector. It has an 8
switch DIP on the back right corner for setting port, IRQ, Termination,
and enabling or disabling 'PORT' which I haven't figured out yet. 

First off; you've got the right driver. You DO use the AHA152x driver. 

Next; Somebody should probably add this to Documentation. Maybe I'll do
it if I can find the time. This is the hard part.

[kernel@bob scsi]# wpe Makefile
<snip of menus and stuff :>

You'll see a line like this:
AHA152X = -DDEBUG_AHA152X -DAUTOCONF
Do this:
#AHA152X = -DDEBUG_AHA152X -DAUTOCONF
AHA152X = -DDEBUG_AHA152X -DSKIP_BIOSTEST -DSETUP0="{0x140,11,7,1,1,0,120,1}"

Where the paramters inside the brackets are as follows:

IO Address, IRQ, SCSI ID, Reconnect, Parity, Synchronous, Delay, Extended
Translation

1 = Yes, 0 = No. Not that hard. :)

Next...
[kernel@bob scsi]# wpe /etc/lilo.conf

Drop this in:

image=/vmlinuz
        label=linux
        root=/dev/hdb1
        read-only
        vga=ask
        append="aha152x=0x140,11,7,1,1,0,120,1"

Modify to match the way you want yer kernel, and to match the Makefile.
You can't do one or the other; you MUST do both. This is a (bug/feature)
in the driver. 

As always, YMMV. If you ask me, you're better off getting a new SCSI card.
I just picked up a Tekram DC390F (NCR3c875 based, FYI), should be here
today, so we'll see how it works. :)

If anybody has any comments, or an easier way to do this, I'm listening. I
*HATE* having to do all that for some $5 ISA SCSI card. };P

-Phil R. Jaenke (kernel@nls.net / prj@nls.net)
TheGuyInCharge(tm), Ketyra Designs - We get paid to break stuff :)
Linux pkrea.ketyra.INT 2.0.33 #15 Sat Apr 18 00:40:21 EDT 1998 i586
Linux eiterra.nls.net 2.0.33 #15 Fri Apr 17 00:22:13 EDT 1998 i586
- Linus says for 'brave people only.' I say 'keep a backup.' - :)


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post