home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!dkuug!diku!dingbat
- From: dingbat@diku.dk (Niels Skov Olsen)
- Newsgroups: comp.os.linux
- Subject: Re: .97pl5 won't boot (it's a SCSI problem)
- Message-ID: <1992Sep15.134447.12185@odin.diku.dk>
- Date: 15 Sep 92 13:44:47 GMT
- References: <1992Sep14.134849.2716@odin.diku.dk>
- Sender: dingbat@rimfaxe.diku.dk
- Organization: Department of Computer Science, U of Copenhagen
- Lines: 37
-
- I wrote:
-
- >My .97pl5 won't boot. My configuration:
-
- > i386dx/33mhz
- > 8mb ram
- > adaptec 1542b with 3 disks on the scsi bus
- [ ... ]
-
- Now I have found out that the problem is in sd_init. The system
- is trying to do READ_CAPACITY on sd2, and is waiting for the_result
- to become non-negative:
-
- excerpt from kernel/blkdrv/scsi/sd.c:
-
- do {
- the_result = -1;
- #ifdef DEBUG
- printk("sd%d : READ CAPACITY\n ", i);
- #endif
- scsi_do_cmd (rscsi_disks[i].device->host_no ,
- rscsi_disks[i].device->id,
- (void *) cmd, (void *) buffer,
- 512, sd_init_done, SD_TIMEOUT, sense_buffer,
- MAX_RETRIES);
-
- while(the_result < 0);
- ^^^^^^^^^^^^^^^^^^^^^^ it never comes out of this loop...
-
- } while (try_again && the_result);
-
- I don't understand the details of this, because this code has not
- changed since .97pl4 where it works!
-
- What's going on?
-
- Niels
-