From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3b63297ab049c5acbc93c06516b84b69.axp-list@archive.invalid> X-Archive-Original-Message-ID: Date: Tue, 12 Aug 97 07:42 CDT From: csmith@stoneboro.uucp.cirr.com Subject: Re: Problem booting to IDE w/ BT958 installed In linux.redhat.axp you write: | After installing a BusLogic BT958 SCSI controller, linux seems to be | unwilling to boot from an IDE disk. When I try to boot the machine: | | -MILO reports that it is unable to determine the SCSI host ID. | It reports this when MILO is first loaded, and subsequently if | any attempt is made to set SCSI0_HOSTID manually. | -MILO will load the kernel from /dev/hda2 | -Everything will progress normally until the kernel messages report | that the BusLogic driver has been initialised (immediately after | reporting `FDC 0 is a post-1991 82077', when it should in | theory be reporting the number of SCSI hosts detected), at which | point it gets wedged. I had this problem with a brand new PC164 and a brand new BT958. It turned out to be, I think, because MILO does not do the BogoMips calibration, so all delays in the drivers are 0. I fixed it, well not fixed but this diff -rc2N milo-2.0.30/timer.c cks-2.0.30/timer.c *** milo-2.0.30/timer.c Tue May 6 11:32:01 1997 --- cks-2.0.30/timer.c Wed Jul 30 11:26:35 1997 *************** *** 56,60 **** DECLARE_TASK_QUEUE(tq_scheduler); ! int loops_per_sec = 1; unsigned long volatile jiffies = 0; --- 56,60 ---- DECLARE_TASK_QUEUE(tq_scheduler); ! int loops_per_sec = 250000000; unsigned long volatile jiffies = 0; changes the hardwired constant to the right value for a 500MHz processor. I was having other problems too, and this may not have been significant after all, but it's all running fine now. (MILO reporting that it's unable to determine the SCSI host ID means it detected a SCSI controller in the PCI configuration magic and did not recognize it -- NCR's need to be set up, Buslogics do not -- and I don't remember seeing this recently, though I did look over that code for some reason. (I halfway suspect that once the card was initialized by running its BIOS once -- I put it into my Intel box for that -- the bogomips thing is not really needed. Since people have been using Buslogics for a long time, and since in the many permutations involved in getting my PC164 all smoothed out I definitely booted with the redhat milo successfully. More than once. More than twice.) -- Chris -- 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