home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10736 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.2 KB  |  49 lines

  1. Path: sparky!uunet!mcsun!sunic!dkuug!diku!dingbat
  2. From: dingbat@diku.dk (Niels Skov Olsen)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: .97pl5 won't boot (it's a SCSI problem)
  5. Message-ID: <1992Sep15.134447.12185@odin.diku.dk>
  6. Date: 15 Sep 92 13:44:47 GMT
  7. References: <1992Sep14.134849.2716@odin.diku.dk>
  8. Sender: dingbat@rimfaxe.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 37
  11.  
  12. I wrote:
  13.  
  14. >My .97pl5 won't boot. My configuration:
  15.  
  16. >    i386dx/33mhz
  17. >    8mb ram
  18. >    adaptec 1542b with 3 disks on the scsi bus
  19. [ ... ]
  20.  
  21. Now I have found out that the problem is in sd_init. The system
  22. is trying to do READ_CAPACITY on sd2, and is waiting for the_result
  23. to become non-negative:
  24.  
  25. excerpt from kernel/blkdrv/scsi/sd.c:
  26.  
  27.         do {
  28.          the_result = -1;
  29. #ifdef DEBUG
  30.     printk("sd%d : READ CAPACITY\n ", i); 
  31. #endif
  32.         scsi_do_cmd (rscsi_disks[i].device->host_no , 
  33.                 rscsi_disks[i].device->id, 
  34.                 (void *) cmd, (void *) buffer,
  35.                  512, sd_init_done,  SD_TIMEOUT, sense_buffer,
  36.                  MAX_RETRIES);
  37.  
  38.         while(the_result < 0);
  39.         ^^^^^^^^^^^^^^^^^^^^^^ it never comes out of this loop...
  40.  
  41.         } while (try_again  && the_result);
  42.  
  43. I don't understand the details of this, because this code has not
  44. changed since .97pl4 where it works!
  45.  
  46. What's going on?
  47.  
  48. Niels
  49.