[6157] in linux-scsi channel archive

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

Help with generic scsi

daemon@ATHENA.MIT.EDU (Susan E. Wiig)
Tue Mar 23 18:42:21 1999

Date: 	Tue, 23 Mar 1999 15:54:09 -0700
From: "Susan E. Wiig" <susan@dit.com>
To: linux-scsi@vger.rutgers.edu

Hi,

I am new at linux and I have never reconfigured a kernel before so I
need simple answers I guess.

I gather from reading the HOWTO for programming scsi that I need 
Generic scsi support configured into the kernel.  What I have is the
latest RedHat Linux 5.2 OS.  The kernel that came with it is
2.0.36-0.7.  The steps that I have done are

   make mrproper
   make dep
   make xconfig
     Here the only thing I changed was adding a y to Scsi generic
support.  (CONFIG_CHR_DEV_SG) and (CONFIG_SCSI).  The last one was
already yes.
    make dep
    make clean

    Then I did the make zdisk.

    When I tried to boot from the floppy I made it would only go so
far.  So I decided to try it on the system.


    This time I did the 
         make modules
         mv /lib/modules/2.0.36-0.7 /lib/modules/2.0.36-0.7-old
         make modules_install

         mv /boot/vmlinuz-2.0.36-0.7 /boot/vmlinuz-2.0.36-0.7-old
         cp /usr/src/linux/arch/i386/boot/zImage /boot/vmlinuz

    I edited my /etc/lilo.conf file so it would boot the new kernel or
the old

     /sbin/lilo


   If I type in scsi_info /dev/sga,,,,etc it tells me I don't have
permission.  I have a Zip drive at id 5 on my aic7870 scsi drive.  Has
anyone done this before?   I really need to talk to the zip drive using
ioctl calls.  I tried using the sd drivers but they won't let me get any
information back from them.  The ioctl calls work fine if I am just
sending them a command but if I try to do an inquiry and get info back
they fail.

Desparate
--


-
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