* Problem booting to IDE w/ BT958 installed
@ 1997-08-11 10:47 SubGenius
0 siblings, 0 replies; 8+ messages in thread
From: SubGenius @ 1997-08-11 10:47 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
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.
The system in question is a PC164 running 2.0.27, with (as far as I
can tell) all the appropriate options compiled in (i.e., support
for BusLogic SCSI cards). The only SCSI device I've had connected
to the BT958 is an Exabyte 8200, and it exhibits the same behaviour
when no devices are connected to the SCSI card.
There's an active terminator at the end of the SCSI chain (when anything
is connected to the card, that is), and the card, cabling and drive
work fine when hooked up to a linux/intel machine.
Although I couldn't locate anything in the archives, I'll still ask:
Known Problem?
Also, the card has a built-in menu-driven BIOS configuration widget
that comes up at boot on an intel-based system. Is it possible
that something or other needs to be diddled in there? And if so,
are there any utilities to do that sort of thing on an alpha?
Yours etc.,
SubGenius
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM++ITkOoGXQKy1gNAQHk6QP/UIhqhn/9pmipU0qXcEvNow1YAlwums/9
HNgH1Y4xz3LKlRKuw6T0qnXWwnrao4bl7l0Y3qCHj36Cjy7UES5TNC/4TjDMerGg
lVVowW77o+x1N7P4+iGunvira1YV/La6PLEu2Q+FekFmsMwt+Or97prOb+dA6psU
tEUM/nooypE=
=9hwd
-----END PGP SIGNATURE-----
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
[not found] <m0wyGHT-0002x0C@stoneboro.uucp.cirr.com>
@ 1997-08-12 4:45 ` jestabro
0 siblings, 0 replies; 8+ messages in thread
From: jestabro @ 1997-08-12 4:45 UTC (permalink / raw)
>>> csmith@stoneboro.uucp.cirr.com said:
>
> 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.
Sigh; completely correct.
I just found this when debugging a problem with the ITI NCR875-based
boards on the LX164.
The latest jays-milo-2.0.30-06aug.tar.gz on gatekeeper in the Kernels/
directory has the appropriate code, as do the MILO binaries for pc164
and lx164 that I put there last week.
The next full set of MILO binaries will include this fix.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
@ 1997-08-12 8:59 SubGenius
0 siblings, 0 replies; 8+ messages in thread
From: SubGenius @ 1997-08-12 8:59 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
In linux.redhat.axp csmith@stoneboro.uucp.cirr.com wrote:
: (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.)
+---------------------------------SubG------------------------------------+
Well, the card I've been having trouble with has been in and used
successfully by an linux/intel box, for whatever that's worth.
Anyway, I got jays-milo-2.0.30-06aug.tar.gz from gatekeeper[1]. After
compiling and installing it, MILO ran without any complaints, but the
machine still got wedged at the same place. Interestingly, it now
appears to be variable whether it reports initialising the BusLogic
driver before going into vapour lock. That is, it appears to hang
either immediately after reporting `FDC 0 is a post-1991 82077' or
immediately after the BusLogic driver message which (sometimes)
follows it.
Yours etc.,
SubGenius
- -----
1 I had initially been using the MILO from the Red Hat 4.1 distribution,
and subsequently tried the one from the 4.2 distribution, and then
the various PC164 images from gatekeeper.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBs/CWPEOoGXQKy1gNAQH6pgP/TU2CNcoBCcUed2+YvOf6RtpOr5wmVYCt
iiVQizLqNrJwdTHIf/ugYmzMz0ST+VIj6qkH3INBflIqUepr+SxSDZvw6jptBoZV
R4klItqAp+BYNV6vcxnzPzsoRk6VMZr3ZZL2EWB08ROF1Acj+EGVfGsujKPAmerE
be64PD+OeTI=
=qFfQ
-----END PGP SIGNATURE-----
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
@ 1997-08-12 12:42 csmith
0 siblings, 0 replies; 8+ messages in thread
From: csmith @ 1997-08-12 12:42 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Problem booting to IDE w/ BT958 installed
@ 1997-08-12 13:37 Kevin Mocklin
0 siblings, 0 replies; 8+ messages in thread
From: Kevin Mocklin @ 1997-08-12 13:37 UTC (permalink / raw)
The timing code is the area that was modified in the latest milo release that
Jay++ posted last week. It should now properly calculate these values for all
machines, so rather than hard coding, give the latest milo a try.
cheers,
Kevin
IntraServer Technology, Inc.
508.429.0425 x 241
mocklin@intraserver.com
http://www.intraserver.com/
On Tuesday, August 12, 1997 8:42 AM, csmith@stoneboro.uucp.cirr.com
[SMTP:csmith@stoneboro.uucp.cirr.com] wrote:
> 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.
>
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
@ 1997-08-12 20:55 Jonathan Bostwick
0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Bostwick @ 1997-08-12 20:55 UTC (permalink / raw)
UNSUBSCRIBE
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
@ 1997-08-18 2:29 csmith
0 siblings, 0 replies; 8+ messages in thread
From: csmith @ 1997-08-18 2:29 UTC (permalink / raw)
In linux.redhat.axp you write:
| Well, the card I've been having trouble with has been in and used
| successfully by an linux/intel box, for whatever that's worth.
| Anyway, I got jays-milo-2.0.30-06aug.tar.gz from gatekeeper[1]. After
| compiling and installing it, MILO ran without any complaints, but the
| machine still got wedged at the same place. Interestingly, it now
| appears to be variable whether it reports initialising the BusLogic
| driver before going into vapour lock. That is, it appears to hang
| either immediately after reporting `FDC 0 is a post-1991 82077' or
| immediately after the BusLogic driver message which (sometimes)
| follows it.
Well, it's not a problem I had, then. I can describe what I did, for
what it's worth:
- remove the offending card so the system can boot
- configure a kernel with no extra drivers, just the hardware you
actually have
- build a milo with that kernel
- replace the offending card
- see if that works, if not put printk("Got here\n") all over the place
until you find out where it hangs, then figure out why (more printk's),
then fix it.
It is a pain, to be sure, but you can get there from here.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem booting to IDE w/ BT958 installed
@ 1997-08-18 5:13 SubGenius
0 siblings, 0 replies; 8+ messages in thread
From: SubGenius @ 1997-08-18 5:13 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
>In linux.redhat.axp csmith@stoneboro.uucp.cirr.com writes:
>Well, it's not a problem I had, then. I can describe what I did, for
>what it's worth:
> - remove the offending card so the system can boot
> - configure a kernel with no extra drivers, just the hardware you
> actually have
> - build a milo with that kernel
> - replace the offending card
> - see if that works, if not put printk("Got here\n") all over the place
> until you find out where it hangs, then figure out why (more printk's),
> then fix it.
>It is a pain, to be sure, but you can get there from here.
+---------------------------------SubG------------------------------------+
After talking some with Jay Estabrook I got the machine booting with
the card installed. I hadn't posted a fix yet because I don't properly
have one yet. What I did was something like you suggest above:
-Removed the card
-Rebooted the system
-Built a kernel with SCSI support but without support for the BusLogic
card. Included the driver for a card I didn't have, because the
subsequent MILO compile with fail with no SCSI drivers enabled
-Made MILO
-Rebuilt the kernel with both SCSI support and support for the
BusLogic card
-Installed both MILO and the new kernel
-Rebooted
Interestingly, although both the kernel and MILO should be using the
same drivers, whenever I attempt to build MILO with the same BusLogic
driver that works in the kernel, MILO will get wedged upon booting
as I described. Booting with a BusLogicless MILO to a BusLogic-savvy
kernel works without any hiccups.
Since I'm currently booting the machine from an IDE drive and so
can initialise the SCSI devices post-MILO in the kernel, this works
for Your Humble Narrator for the time being. Seeing as I've got
a SCSI hard drive coming in in roughly (three days + [UPS strike constant]),
I'm rather interested in getting MILO talking to the BusLogic card.
Yours etc.,
SubGenius
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM/h0gkOoGXQKy1gNAQFAsAQAla3pjqNo/ZBz57n2NqoD3ezRTwAYWzhI
+woznoNz5NqpsZtbyqsA67RsDGC5IJ+LrZLupqBDpM4Mj+0ytBvnMymLiukPySTl
H/fWbkcz3uXIHq49UMNvHruL0TMxrxxW/vURpc73HBT7AC2l+bVXEnD8Wv0XdE5F
nlnmynvI/WI=
=mx/1
-----END PGP SIGNATURE-----
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1997-08-18 5:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m0wyGHT-0002x0C@stoneboro.uucp.cirr.com>
1997-08-12 4:45 ` Problem booting to IDE w/ BT958 installed jestabro
1997-08-18 5:13 SubGenius
-- strict thread matches above, loose matches on Subject: below --
1997-08-18 2:29 csmith
1997-08-12 20:55 Jonathan Bostwick
1997-08-12 13:37 Kevin Mocklin
1997-08-12 12:42 csmith
1997-08-12 8:59 SubGenius
1997-08-11 10:47 SubGenius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox