home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!paladin.american.edu!darwin.sura.net!ra!tantalus.nrl.navy.mil!eric
- From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
- Subject: Re: SCSI problem booting .99
- Message-ID: <C0JLrw.Hsn@ra.nrl.navy.mil>
- Sender: usenet@ra.nrl.navy.mil
- Organization: Naval Research Laboratory
- References: <rsvagera.1@tuwien.ac.at> <1ijff2INN8hf@sven.uni-paderborn.de>
- Date: Fri, 8 Jan 1993 15:59:56 GMT
- Lines: 54
-
- In article <1ijff2INN8hf@sven.uni-paderborn.de> lars@sven.uni-paderborn.de (Lars Heinemann) writes:
- >In <rsvagera.1@tuwien.ac.at> rsvagera@tuwien.ac.at (Robert Svagera) writes:
- >
- >->I am using an Adaptec 1542b with 2 harddisks (ID 0,1) and a CD-ROM
- >->drive (ID 3, SCSI I device). Installing Linux SLS .99 on /dev/sdb3
- >->works perfectly. Booting with the new built Bootdisk hangs after
- >->recognizing the SCSI-drives. (HD-controller led still on)
- >->.98pl5 is working with the same setup!
- >->Any Adaptec owner using .99 successfully?
- >->Robert
- >
- >I have the same problem with my streamer (TEAC3600) (and 2 harddisks, A1542b)
- >Could someone help?
-
- I found a bug in the scsi code that may be responsible for these
- problems. The patch is pretty simple, and I have enclosed it.
-
- -Eric
-
- *** scsi.c.~3~ Tue Jan 5 14:54:46 1993
- --- scsi.c Thu Jan 7 20:53:49 1993
- ***************
- *** 427,434 ****
- if (req) {
- memcpy(&SCpnt->request, req, sizeof(struct request));
- req->dev = -1;
- ! } else
- SCpnt->request.dev = 0xffff; /* Busy, but no request */
-
- SCpnt->use_sg = 0; /* Reset the scatter-gather flag */
- return SCpnt;
- --- 427,436 ----
- if (req) {
- memcpy(&SCpnt->request, req, sizeof(struct request));
- req->dev = -1;
- ! } else {
- SCpnt->request.dev = 0xffff; /* Busy, but no request */
- + SCpnt->request.waiting = NULL; /* And no one is waiting for the device either */
- + };
-
- SCpnt->use_sg = 0; /* Reset the scatter-gather flag */
- return SCpnt;
- ***************
- *** 491,496 ****
- --- 493,499 ----
- *reqp = req->next;
- } else {
- SCpnt->request.dev = 0xffff; /* Busy */
- + SCpnt->request.waiting = NULL; /* And no one is waiting for this to complete */
- };
- sti();
- break;
- --
- Eric Youngdale
-