* Re: Can't get my PC164 to boot
[not found] <19961126011324.1344.qmail@brouhaha.com>
@ 1996-11-25 17:25 ` jestabro
1996-11-27 18:00 ` Jim Paradis
1 sibling, 0 replies; 9+ messages in thread
From: jestabro @ 1996-11-25 17:25 UTC (permalink / raw)
>>> Eric Smith said:
> Jay Estabrook <jestabro@amt.tay1.dec.com> wrote:
> > You can't run a kernel expecting MILO PALcode under SRM PALcode,
> > for example, which is what the "no floppy controllers found" message
> > indicates (actually, what causes that message is that interrupts are being
> > delivered to the kernel in a way the kernel doesn't expect).
>
> Is it really the PALcode that is at fault, or is it that Milo and SRM
> initialize the interrupt controller differently? I was under the impression
> that Milo actually contains and uses the SRM PALcode, but perhaps I'm
> mistaken.
No, MILO does not use SRM PALcode. Only the Evaluation Board PALcode sets
are available as source, which is what the MILOs are built with. And yes,
those boxes that aren't EB's are run with modified EB PALcode, like AVANTI
and MIKASA.
The EB PALcodes are pretty simple, as they don't worry much about
interrupts, expecting the kernel to take care of finding the interrupt
summary registers and dispatching to the appropriate handler. See all the
grotty details in arch/alpha/kernel/irq.c.
When configured for running under SRM console and PALcode, the interrupt
handling of the kernel expects to be told *which* interrupt has occurred.
One can't, unfortunately, use the non-SRM interrupt handling routines, like
alcor_and_xlt_device_interrupt(), when running under SRM, as the interrupt
summary registers have been changed by the SRM PALcode when *it* decodes the
interrupt, and so will no longer indicate the appropriate state. However,
the update_hw() routine needs to know all the grotty details about where the
interrupt registers are, under SRM as well as MILO, to properly manage the
interrupt mask.
Note that the AXPpci33 (NONAME) PALcode built into that MILO, actually
delivers interrupts the same way as SRM PALcode, so the same kernel will
run under MILO and SRM PALcodes.
Someday, get Dave Rusling to explain why its beneficial to have the kernel
know all the interrupt details, as under the EB PALcode.
--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] 9+ messages in thread
* Can't get my PC164 to boot
@ 1996-11-25 22:02 Dave Golden
1996-11-25 23:04 ` jestabro
0 siblings, 1 reply; 9+ messages in thread
From: Dave Golden @ 1996-11-25 22:02 UTC (permalink / raw)
I hate to post this, I know it's supposed to work, but it doesn't for me.
I have read the redhat docs, the milo docs, the aboot docs, and the FAQ,
but I can't get get to the point of loading the ramdisk into my pc164
system.
Here's the config:
PC164
SRM firmware (4.5)
64 MB RAM
NCR 810 card (DEC KZPAA) ( I have done the same test with the SCSI removed)
Sony CDU76S CDROM
Seagate SCSI hard drive
Mach 64 ISA video
keyboard, mouse
floppy drive (known good)
Latest milo from gatekeeper
pc164 image from the redhat 4.0 directory on ftp.redhat.com
When I boot using milo,
(boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1)
the kernel is read from the floppy and
the last messages that appear on the screen are a bunch of BIOS32
errors saying that each slot wants too much memory space.
(bios32 WARNING: Slot 0, function 0, requests -2147483520B of contiguous
address space -- don't use sparse memory accesses on this device!!)
then it prints:
Console: 16 point font, 400 scans
Console: Colour VGA+ 80x25 1 virtual console (max 63)
Then nothing.
When I boot from the boot floppy (aboot), amongst the normal messages
I get:
floppy0: no floppy controllers found
and the system hangs after printing:
SCSI : 1 host.
I have also tried removing the SCSI card. This allows the aboot method
to get to the point of asking for the ramdisk, but nothing happens when
I insert the disk and press return.
Any ideas? Is it a bad idea to boot this board from the SRM firmware?
Thanks,
Dave
---
Dave Golden
Invincible Technologies Corporation
golden@invincible.com
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
1996-11-25 22:02 Dave Golden
@ 1996-11-25 23:04 ` jestabro
0 siblings, 0 replies; 9+ messages in thread
From: jestabro @ 1996-11-25 23:04 UTC (permalink / raw)
>>> "Dave Golden" said:
>
> Any ideas? Is it a bad idea to boot this board from the SRM firmware?
I say no, but you have to be consistent. I, personally, don't like to
boot SRM->aboot->MILO->LINUX, there seems too many places for things to
go awry. You can't run a kernel expecting MILO PALcode under SRM PALcode,
for example, which is what the "no floppy controllers found" message
indicates (actually, what causes that message is that interrupts are being
delivered to the kernel in a way the kernel doesn't expect).
If you have SRM and plan to dual-boot Digital UNIX, I'd say it'd be better
to simply boot SRM->aboot->LINUX, leaving out MILO, but that requires a
kernel built to be run using SRM PALcode, rather than the PALcode supplied
by MILO. I could build one for you if you really need one.
If you're *not* booting (or plan to boot) Digital UNIX, why not install the
ARC console (you'll need to get this from your vendor) and then boot
ARC->MILO->LINUX?
--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] 9+ messages in thread
* Re: Can't get my PC164 to boot
@ 1996-11-26 1:13 Eric Smith
0 siblings, 0 replies; 9+ messages in thread
From: Eric Smith @ 1996-11-26 1:13 UTC (permalink / raw)
Jay Estabrook <jestabro@amt.tay1.dec.com> wrote:
> You can't run a kernel expecting MILO PALcode under SRM PALcode,
> for example, which is what the "no floppy controllers found" message
> indicates (actually, what causes that message is that interrupts are being
> delivered to the kernel in a way the kernel doesn't expect).
Is it really the PALcode that is at fault, or is it that Milo and SRM
initialize the interrupt controller differently? I was under the impression
that Milo actually contains and uses the SRM PALcode, but perhaps I'm
mistaken.
Cheers,
Eric
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
@ 1996-11-26 10:06 David A Rusling
0 siblings, 0 replies; 9+ messages in thread
From: David A Rusling @ 1996-11-26 10:06 UTC (permalink / raw)
Dave,
you should be able to boot this using MILO; that's the way that
I boot my own PC164. The PCI error messages worry me as they should not
occur with that configuration. Basically, they're worry messages that the
PCI device is asking for too much PCI Memory. Can you connect something
to COM1 and tell me what that says?
Dave
----------------------------------------------------------------------
David A Rusling Principal Engineer
European Semiconductor Applications Digital Equipment Co Ltd.,
Engineering PO Box 121,
Imperial Way,
Worton Grange
Reading RG2 0TU
Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380
Fax: UK-(0)1734-203133
----------------------------------------------------------------------
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
@ 1996-11-26 10:14 David A Rusling
0 siblings, 0 replies; 9+ messages in thread
From: David A Rusling @ 1996-11-26 10:14 UTC (permalink / raw)
Eric (et al),
no MILO does not contain the SRM PALcode, it contains the freely
distributable evaluation board PALcode which infringes no licenses. However,
that PALcode is subtly different particularly around the interrupt handling.
Basically it puts the support/control of interrupts into the kernel, where it
should be...
Dave
----------------------------------------------------------------------
David A Rusling Principal Engineer
European Semiconductor Applications Digital Equipment Co Ltd.,
Engineering PO Box 121,
Imperial Way,
Worton Grange
Reading RG2 0TU
Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380
Fax: UK-(0)1734-203133
----------------------------------------------------------------------
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
@ 1996-11-26 10:34 David A Rusling
0 siblings, 0 replies; 9+ messages in thread
From: David A Rusling @ 1996-11-26 10:34 UTC (permalink / raw)
Jay Estabrook said:
> No, MILO does not use SRM PALcode. Only the Evaluation Board PALcode sets
> are available as source, which is what the MILOs are built with. And yes,
> those boxes that aren't EB's are run with modified EB PALcode, like AVANTI
> and MIKASA.
>
> The EB PALcodes are pretty simple, as they don't worry much about
> interrupts, expecting the kernel to take care of finding the interrupt
> summary registers and dispatching to the appropriate handler. See all the
> grotty details in arch/alpha/kernel/irq.c.
>
> When configured for running under SRM console and PALcode, the interrupt
> handling of the kernel expects to be told *which* interrupt has occurred.
> One can't, unfortunately, use the non-SRM interrupt handling routines, like
> alcor_and_xlt_device_interrupt(), when running under SRM, as the interrupt
> summary registers have been changed by the SRM PALcode when *it* decodes the
> interrupt, and so will no longer indicate the appropriate state. However,
> the update_hw() routine needs to know all the grotty details about where the
> interrupt registers are, under SRM as well as MILO, to properly manage the
> interrupt mask.
>
> Note that the AXPpci33 (NONAME) PALcode built into that MILO, actually
> delivers interrupts the same way as SRM PALcode, so the same kernel will
> run under MILO and SRM PALcodes.
>
> Someday, get Dave Rusling to explain why its beneficial to have the kernel
> know all the interrupt details, as under the EB PALcode.
>
> --Jay++
OK, I'll rise to the bait. Jay says it himself when he makes the point that even
in the SRM case the kernel has to know an awful lot about the configuration of the
interrupt handling/routing.
Almost every AXP system produced so far has different interrupt handling and routing.
Personally I think that several hardware designers should be taken out and shot for
randomly reinventing interrupt handling. There are a lot of grotty things about the
general PC architecture but at least you can pretty much rely on a consistant aproach
from one Intel box to another. Take a look at /arch/i386/kernel/irq.c and compare that
with /arch/alpha/kernel/irq.c and you'll see that the Alpha case is a lot more confusing.
I would, in a better world, favour a bank of interrupt masks and registers at known I/O
locations but even that does not help you with routing the PCI interrupts to those
registers. Again that differs from board to board, see /arch/alpha/kernel/bios32.c for
details.
So, for each AXP based system, there has to be software somewhere which understands how
to set interrupts and how to figure out what caused interrupts. This interrupt handling
code cannot all live in the PALcode as it is 'architected' - you may note that Digital
Unix running on the same boxes as Linux also has different kernels for the different
boxes. It has them for exactly the same reasons as Linux does - to route and handle
interrupts. This is despite having SRM PALcode which only helps with the interrupt
delivery and is not freely redistributable. In other words, we couldn't use the SRM
PALcode with Linux and not use the SRM.
I believe that the interrupt handling software should be in the kernel. That way,
it's all in one place and it's easier to write/debug/port/understand. However, in
the early days of AXP Linux we used to have multi-platform kernels by including
all of the interrupt handling for each {CPU, support chipset} combination in a single
kernel and using the HWRPB information set up by MILO to call the correct interrupt
handler. Maybe we should re-invent this mechanism.
Dave
----------------------------------------------------------------------
David A Rusling Principal Engineer
European Semiconductor Applications Digital Equipment Co Ltd.,
Engineering PO Box 121,
Imperial Way,
Worton Grange
Reading RG2 0TU
Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380
Fax: UK-(0)1734-203133
----------------------------------------------------------------------
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
@ 1996-11-26 21:27 Dave Golden
0 siblings, 0 replies; 9+ messages in thread
From: Dave Golden @ 1996-11-26 21:27 UTC (permalink / raw)
Thanks to Jay Estabrook and Dave Rusling for the key info.
I swapped my PC164 over to the ARC firmware and was able to boot
MILO and the linux kernel with no problems at all. I guess that
the SRM firmware must be setting up (or not setting up) something
that is ticking off milo and aboot. Booting MILO from ARC did not
display any of the nasty Bios32 messages that were present when
booting it from the SRM console.
If I persue it any further, I'll post my results in case any future
list archeologists come down this path.
Dave
---
Dave Golden
Invincible Technologies Corporation
golden@invincible.com
--
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] 9+ messages in thread
* Re: Can't get my PC164 to boot
[not found] <19961126011324.1344.qmail@brouhaha.com>
1996-11-25 17:25 ` jestabro
@ 1996-11-27 18:00 ` Jim Paradis
1 sibling, 0 replies; 9+ messages in thread
From: Jim Paradis @ 1996-11-27 18:00 UTC (permalink / raw)
> Is it really the PALcode that is at fault, or is it that Milo and SRM
> initialize the interrupt controller differently? I was under the impression
> that Milo actually contains and uses the SRM PALcode, but perhaps I'm
> mistaken.
No, it is the PALcode that's different. MILO does *not* contain the SRM
PALcode; it contains a modified version of the evaluation board PALcode
which is not the same at all. The MILO PAL may be more "SRM-like" in
that it implements the same CALL_PAL entry points and the same memory
management scheme, but it implements interrupts differently and it is
quite different internally.
That is one of the reasons why one of the config options is
"Use SRM as bootloader?"...
--
Jim Paradis (paradis@amt.tay1.dec.com) "It's not procrastination,
Digital Equipment Corporation it's my new Just-In-Time
(508)952-4047 Workload Management System!"
http://www.tiac.net/users/jrp/index.html
--
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] 9+ messages in thread
end of thread, other threads:[~1996-11-27 18:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-26 10:06 Can't get my PC164 to boot David A Rusling
-- strict thread matches above, loose matches on Subject: below --
1996-11-26 21:27 Dave Golden
1996-11-26 10:34 David A Rusling
1996-11-26 10:14 David A Rusling
1996-11-26 1:13 Eric Smith
1996-11-25 22:02 Dave Golden
1996-11-25 23:04 ` jestabro
[not found] <19961126011324.1344.qmail@brouhaha.com>
1996-11-25 17:25 ` jestabro
1996-11-27 18:00 ` Jim Paradis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox