From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <092e1306c0554532d3f7d93ab67db40d.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199612010107.UAA02895@nic-21-3.resnet.upenn.edu> Date: Sun, 1 Dec 1996 20:07:11 +0000 (GMT) From: Gerard Roudier Subject: Re: SCSI booting problem ++ In-Reply-To: Frederic, On Fri, 29 Nov 1996 Frederic.Tschannen@unifr.ch wrote: > Hi there, > > I have a AS255 which worked correctly with Dec OSF. > Last week I decided to install the Linux redhat 4.0 CDROM distribution. > > Booting the avanti kernel from the CDROM caused following problem > while SCSI initalisation. Since my system worked correctly with > OSF Ultrix, I think it's neither a termination, nor a SCSI cable problem. Your problem seems strange to me. The scsi pid of the command that timed out is 1. The scsi initialization loop has sent a TEST_UNIT_READY command (scsi pid 0) to target 0 (the hard disk), and the response has probably been ok. Then, it sent an INQUIRY command to target 0 (scsi pid 1) in order to get information about the device. This command timed out. The timeout for this command is 2*HZ=2 seconds, retries=3. The scsi code does a scsi reset for the the second half of retries (3/2=1). Prior to queuing a new command it waits MIN_RESET_DELAY=2*Hz (2 seconds). (wait scsi devices to settle after scsi reset). Some parts of the scsi code can be executed under interrupt. The loop that waits scsi devices to settle may ... So, I am not sure that, if an INQUIRY command times out, retries have always chance to succeed. It is just a speculation ... But it not the subject. TEST_UNIT_READY succeeds and INQUIRY times out for the first target. I donnot have any explanations of that, apart cable and/or termination problems, but it seems that they are ok, since OSF works. At the step of the boot procedure where your system got the timeout, nothing aggressive (like sync. negotiation) has been performed. Perhaps, the INQUIRY command timeout delay is too short. But its value is statically compiled and so there is no way to tune it. Let me know which version of Linux is used by RedHat 4.0 Alpha installation. My box is weakly powered by an Intel/Pentium, and for the moment, Alpha is only a dream for me. Gerard. PS: You can use French if you decide to reply to me directly. > boot procedure loops : > ... > scsi: aborting command due timeout: pid 1,scsi 0,channel 0,id 0, > lun 0 Inquiry 00 00 00 ff 00 > ncr53c8xx_abort : abort call > ncr53c810-0: abort ccb=fffffc0003f70f30 (skip) > SCSI host 0 abort (pid 1) timed out - resetting > SCSI bus is being reset for host 0 channel 0 > ncr53c810-0: restart (scsi bus reset). > scsi: aborting command due timeout: pid 1,scsi 0,channel 0,id 0, > lun 0 Inquiry 00 00 00 ff 00 > ncr53c8xx_abort : abort call > ncr53c810-0: abort ccb=fffffc0003f70f30 (skip) > SCSI host 0 abort (pid 1) timed out - resetting > SCSI bus is being reset for host 0 channel 0 > ncr53c810-0: restart (scsi bus reset). -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com