[3350] in linux-scsi channel archive

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

Re: HELP: RedHat 5.0 and AHA1502AE SCSI adapter for Microtek E6 scanner setup

daemon@ATHENA.MIT.EDU (C.J. Oster)
Mon Feb 16 18:53:27 1998

Date: 	Mon, 16 Feb 1998 17:08:12 -0500
To: Allen Wilkinson <aw@stratos.net>
From: cjo@pobox.com (C.J. Oster)
Cc: linux-scsi@vger.rutgers.edu, redhat-list@redhat.com

Compile the aha152x support INTO the kernel.  Then, at your 'lilo boot:'
prompt, type in "linux aha152x=0x140,9".  This is ofcourse assuming that
your linux label is 'linux'.  You don't need to specify that your card is
at id 7, that is the default.  Next, make sure that you don't have the bios
shadowing turned on for the card.  Yes, I realize that is how to make the
kernel autodetect the card, you don't want it to do that.  Even better,
turn off the plug and play support and hard set your io and your irq.  That
keeps the pnp bios from changing your settings when you install a new
graphics card or something.  Next, you must compile scsi disk support, and
not just scsi generic support into your kernel.  In /proc/devices, you
should have '8 sd' for disks, '11 sr' for cd-roms under block devices, and
'21 sg' under character devices for your generic support.  You don't really
need generic support unless you are going to try something like cd writing
and the like.  If that doesn't help you, your card's busted.

When it boots up and recognizes the card, edit your lilo.conf file and put
'append="aha152x=0x140,9"' into it to keep from having to type it.  Run
lilo.  You're all set.

-CJO-

>Please e-mail any replies to  <awr@stratos.net> as well as the linux-scsi
>list.
>
>I am working on an INTEL 200 MHz Pentium with IDE drives and CDROM.
>
>I have read SCSI-HOWTO, man sane-scsi. I have searched dejanews,
>comp.os.linux.hardware, comp.os.linux.setup, and the redhat-list archives.
>No solution is obvious to me. The last I checked Microtek offered no linux
>help.
>
>I am not succeeding in getting the SCSI host adapter recognized. My RedHat
>install is out of the box and I believe SCSI modular support is enabled in
>the kernel since I get the following from 'modprobe'
>
>aw@teq:~>modprobe -l -t scsi
>/lib/modules/2.0.31/scsi/wd7000.o
>/lib/modules/2.0.31/scsi/ultrastor.o
>/lib/modules/2.0.31/scsi/u14-34f.o
>/lib/modules/2.0.31/scsi/t128.o
>/lib/modules/2.0.31/scsi/st.o
>/lib/modules/2.0.31/scsi/sg.o
>/lib/modules/2.0.31/scsi/seagate.o
>/lib/modules/2.0.31/scsi/qlogicisp.o
>/lib/modules/2.0.31/scsi/qlogicfas.o
>/lib/modules/2.0.31/scsi/ppa.o
>/lib/modules/2.0.31/scsi/pas16.o
>/lib/modules/2.0.31/scsi/ncr53c8xx.o
>/lib/modules/2.0.31/scsi/in2000.o
>/lib/modules/2.0.31/scsi/gdth.o
>/lib/modules/2.0.31/scsi/g_NCR5380.o
>/lib/modules/2.0.31/scsi/fdomain.o
>/lib/modules/2.0.31/scsi/eata_pio.o
>/lib/modules/2.0.31/scsi/eata_dma.o
>/lib/modules/2.0.31/scsi/eata.o
>/lib/modules/2.0.31/scsi/dtc.o
>/lib/modules/2.0.31/scsi/aic7xxx.o
>/lib/modules/2.0.31/scsi/aha1740.o
>/lib/modules/2.0.31/scsi/aha1542.o
>/lib/modules/2.0.31/scsi/aha152x.o
>/lib/modules/2.0.31/scsi/advansys.o
>/lib/modules/2.0.31/scsi/NCR53c406a.o
>/lib/modules/2.0.31/scsi/BusLogic.o
>/lib/modules/2.0.31/scsi/53c7,8xx.o
>
>
>I then do
>
>root@teq:>insmod sg
>
>to enable the generic scsi module per the man page 'sane-scsi'
>
>After that
>
>aw@teq:~>lsmod
>Module         Pages    Used by
>sg                 1            0
>autofs             2            1 (autoclean)
>ipx                3            9 (autoclean)
>vfat               3            1 (autoclean)
>
>tells me the generic scsi module 'sg' is loaded.
>
>Running RedHat's 'kernelcfg' program gives errors.
>
>Hence, I manually edited  /etc/conf.modules to include a line like
>
>alias scsi_host aha152x aha152x=0x140,9,7
>
>( NOTE  ioport=140 HEX   IRQ=9  and  card scsiid=7 )
>
>ALTERNATIVELY I tried a line like
>
>alias scsi_host sg
>
>to no avail. I could not find any syntax hints to tell sg the ioport etc.
>
>Running SANE's
>
>root@teq:/dev>scanimage --list-devices
>[snapscan] add_device: failed to open scsi device "/dev/scanner".
>File open error: Operation not supported by device
>[snapscan] sane_snapscan_init: failed to add device "/dev/scanner"
>device `pnm:0' is a Noname PNM file reader virtual device
>device `pnm:1' is a Noname PNM file reader virtual device
>
>where I have tried all of the following
>
>/dev/scanner -> /dev/sga, sgb, sgc, sgd, sge, sdf, sgg, sgh
>
>I am assuming since my scanner is at scsiid=1 that /dev/sgb should be the
>correct generic scsi device.
>
>
>Any help is appreciated, Allen
>--
>Address:
>
>Allen Wilkinson                       (phone) (216) 382-7613
>1036 Pembrook Road                    (work)  (216) 433-2075
>Cleveland Heights, OH 44121  USA      (INTERNET) awr@stratos.net


C.J. Oster
cjo@pobox.com
FUllnet Communications
1-800-FULLNET
"We give you the world!"
----------------------------------------------------------------------

-Just because you're not paranoid doesn't mean they're not out to get you.
-A Smith & Wesson beats four aces.

 



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