Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com
To: MoT <Sebastien.Villemot@ens.fr>
Cc: axp-list@redhat.com
Subject: Re: ES1370 and 2.1.13[012] booting problems on Ruffian
Date: Sun, 27 Dec 1998 00:33:19 -0500	[thread overview]
Message-ID: <199812270533.AAA02569@alpha1.estabrook.org> (raw)
In-Reply-To: Your message of Sun, 27 Dec 1998 05:48:03 +0100. <Pine.LNX.4.05.9812270531230.441-100000@Noustoulight.InsomNet.fr>


>>> MoT said:
> 
> 1) since release 2.1.130, the kernels hangs just after displaying
> "Calibrating loop delay...". This small patch corrected the problem (it simply
> cancels a modification made between 2.1.129 and 2.1.130):
> 
> --- arch/alpha/kernel/sys_ruffian-old.c Thu Dec 17 02:42:59 1998
> +++ arch/alpha/kernel/sys_ruffian.c     Fri Dec 18 20:03:55 1998
> @@ -107,7 +107,7 @@
>                         if (j == 7 && !(inb(0x20) & 0x80)) {
>                                 /* It's only a passive release... */
>                         } else if (j == 0) {
> -                               handle_irq(8, -1, regs); /* fake it */
> +                               timer_interrupt(0, NULL, regs);
>                                 ruffian_ack_irq(0);
>                         } else {
>                                 handle_irq(j, j, regs);
> 
> 
> It's clearly a Ruffian specific problem since no one else reported it on
> the list.

This change will work correctly *ONLY* if you have CONFIG_RTC set; I assume
you have selected the "RTC" option during config?

I think the change needs to be (referring to arch/alpha/kernel/time.c):

#if CONFIG_RTC
	handle_irq(0, -1, regs);
#else
	handle_irq(8, -1, regs);
#endif

in order to work correctly in *both* cases.

Thanks for catching this!

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation                (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



      reply	other threads:[~1998-12-27  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-27  4:48 ES1370 and 2.1.13[012] booting problems on Ruffian MoT
1998-12-27  5:33 ` Jay.Estabrook [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox