[912] in RedHat Linux List

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

Re: Buggy 4.0 && unhappy user

daemon@ATHENA.MIT.EDU (Michael K. Johnson)
Fri Oct 25 12:13:49 1996

To: redhat-list@redhat.com
From: "Michael K. Johnson" <johnsonm@redhat.com>
In-reply-to: Your message of "Fri, 25 Oct 1996 11:33:17 EDT."
             <1.5.4.16.19961025153317.3f9f3098@watfac.org> 
Date: Fri, 25 Oct 1996 11:39:11 -0400
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Joseph Yang writes:
>I'll have a look at it, but its not a real big problem for me, since my
>main SCSI card and the one my CDROM is attached to is a AIC7880 controller
>on my motherboard. The problem is with loading the module after installation.
>I've recompiled the kernel such that the Advansys is not modularized.. but
>I would prefer to run a fully modularized kernel :)

OK, try applying the following patch to your kernel sources.  It should
make modularized drivers work.  Unfortunately, due to current technical
restrictions in our install (yeah, we're working on them, don't worry...)
we currently have to fix it by posting boot images with linked-in
support.

With this patch, it *should* be possible to use both the AIC7880 and
the Advansys as modules, if you like.

Good luck!

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"

diff -uNr linux.c/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
--- linux.c/drivers/scsi/scsi.c	Sat Oct  5 02:17:45 1996
+++ linux/drivers/scsi/scsi.c	Tue Oct 22 03:38:09 1996
@@ -17,8 +17,8 @@
  *  add scatter-gather, multiple outstanding request, and other
  *  enhancements.
  *
- *  Native multichannel and wide scsi support added 
- *  by Michael Neuffer neuffer@goofy.zdv.uni-mainz.de
+ *  Native multichannel, wide scsi, /proc/scsi and hot plugging 
+ *  support added by Michael Neuffer <mike@i-connect.net>
  *
  *  Added request_module("scsi_hostadapter") for kerneld:
  *  (Put an "alias scsi_hostadapter your_hostadapter" in /etc/conf.modules)
@@ -3062,8 +3062,12 @@
 	 */
 	
 	for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
-	    if(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0);
-	
+            if(shpnt->hostt == tpnt) {
+                scan_scsis(shpnt,0,0,0,0);
+                if (shpnt->select_queue_depths != NULL)
+                   (shpnt->select_queue_depths)(shpnt, scsi_devices);
+            }
+
 	for(sdtpnt = scsi_devicelist; sdtpnt; sdtpnt = sdtpnt->next)
 	    if(sdtpnt->init && sdtpnt->dev_noticed) (*sdtpnt->init)();
 	




--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


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