Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* unexpected interrupt 0 on AS200
@ 1998-09-28  1:01 Arrigo Benedetti
  1998-09-28  5:31 ` Michal Jaegermann
  0 siblings, 1 reply; 8+ messages in thread
From: Arrigo Benedetti @ 1998-09-28  1:01 UTC (permalink / raw)
  To: axp-list

Dear all,

I've recently joined this happy crowd of folks who bought an
Alphastation 200 from Onsale, and I have a problem when installing
RedHat 5.1. I have followed the instructions given by several people
on comp.os.linux.alpha and on this list, especially
zouz@home.com. After inserting the floppy with the kernel image and
before being asked to insert the ramdisk floppy I get an infinite
sequence of error messages:

device_interrupt: unexpected interrupt 0
device_interrupt: unexpected interrupt 0
device_interrupt: unexpected interrupt 0
device_interrupt: unexpected interrupt 0
device_interrupt: unexpected interrupt 0
device_interrupt: unexpected interrupt 0

...

I have a SCSI disk which is detected by the kernel
before the system hangs. I also have a SCSI CDROM with the
terminations enabled at the end of the chain.
Any ideas?

thanks in advance

-Arrigo
--
Arrigo Benedetti          o         e-mail: arrigo@vision.caltech.edu
Caltech, MS 136-93	 < >			phone: (626) 395-3695
Pasadena, CA 91125	 / \			fax:   (626) 795-8649


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-28  1:01 unexpected interrupt 0 on AS200 Arrigo Benedetti
@ 1998-09-28  5:31 ` Michal Jaegermann
  1998-09-28 23:19   ` Jay.Estabrook
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Jaegermann @ 1998-09-28  5:31 UTC (permalink / raw)
  To: arrigo; +Cc: axp-list

Arrigo Benedetti wrote:
> 
> After inserting the floppy with the kernel image and
> before being asked to insert the ramdisk floppy I get an infinite
> sequence of error messages:
> 
> device_interrupt: unexpected interrupt 0
> device_interrupt: unexpected interrupt 0
.....
> Any ideas?

Use a boot disk from an older distribution.

For some reasons somebody (Jay?) uncommented in 2.0.34 printk which
produces the message above.  I have no idea why.  This practically
prevents using such kernels on assorted boards.  Not necessarily
'interrupt 0'.  For example I would be flooded with such messages
from SCSI controller on EB64+.  Once commented out a kernel
recompiled things behave fine once again.

  Michal


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-28  5:31 ` Michal Jaegermann
@ 1998-09-28 23:19   ` Jay.Estabrook
  1998-09-29  0:24     ` Michal Jaegermann
  1998-09-29 18:22     ` wade
  0 siblings, 2 replies; 8+ messages in thread
From: Jay.Estabrook @ 1998-09-28 23:19 UTC (permalink / raw)
  To: axp-list


>>> Michal Jaegermann said:
> Arrigo Benedetti wrote:
> > 
> > After inserting the floppy with the kernel image and
> > before being asked to insert the ramdisk floppy I get an infinite
> > sequence of error messages:
> > 
> > device_interrupt: unexpected interrupt 0
> > device_interrupt: unexpected interrupt 0
> .....
> > Any ideas?
> 
> Use a boot disk from an older distribution.
> 
> For some reasons somebody (Jay?) uncommented in 2.0.34 printk which
> produces the message above.  I have no idea why.

I forgot to remove the printk when I made the patches. Sue me... ;-}

At the time I released those patches, I was working on interrupt-related
issues on some platforms/controllers/bridges/whatever, and needed the extra
info in case something went wrong.

> This practically
> prevents using such kernels on assorted boards.  Not necessarily
> 'interrupt 0'.  For example I would be flooded with such messages
> from SCSI controller on EB64+.  Once commented out a kernel
> recompiled things behave fine once again.

Interrupt 0 is not good; normally, the system takes a few unexpected
interrupts as a normal course in determining exactly *which* interrupts are
hooked up to (for example) IDE and floppy controllers, and serial
ports. That's why most folk have been seein these messages for IRQs 3, 4, 6,
14, and 15, as those are the IRQs normally assigned to those devices.

However, there really is something wrong if you get a *lot* of these during
normal operation. Commenting out the printout does *NOT* get rid of the
interrupt, it just stops telling you about it.

Now, back to the original problem (on an AS200):

If you are booting from SRM console directly, you should have used the
"avanti-s.img" file for creating the kernel floppy.

If you are booting from ARC console into MILO and then the kernel, you
should have used the "avanti.img" file for creating the kernel floppy.

If you were booting a kernel built to run under the *other* console, you
might end up with these messages, as interrupt delivery is expected/handled
differently by the two kernels.

--Jay++

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

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-28 23:19   ` Jay.Estabrook
@ 1998-09-29  0:24     ` Michal Jaegermann
  1998-09-29  3:12       ` Jay.Estabrook
  1998-09-29 19:54       ` wade
  1998-09-29 18:22     ` wade
  1 sibling, 2 replies; 8+ messages in thread
From: Michal Jaegermann @ 1998-09-29  0:24 UTC (permalink / raw)
  To: axp-list

Jay A Estabrook wrote:
> 
> I forgot to remove the printk when I made the patches. Sue me... ;-}

Can you recommend some suitable lawyer. :-)

> That's why most folk have been seein these messages for IRQs 3, 4, 6,
> 14, and 15, as those are the IRQs normally assigned to those devices.
> 
> However, there really is something wrong if you get a *lot* of these during
> normal operation.

I do not know about "normal operations".  When I first tried that I
collected a few thousands entries (something between three and four
thousands - not counting "repeated xxx times") in my log files before
I even finished to boot.  This was IRQ 14, if I remember correctly, and
my system was working - in a fashion, as I managed an orderly shutdown.
If I would be patient enough maybe I would even manage to finish that
boot sequence.  Who knows?  Jay, if you remember, I even wrote you about
this at that time.  Checking older sources I found that this particular
printk was before turned off so I did the same and now everything seems
to be happy through 2.0.34, 2.0.35 and quite a few different prereleases
of 2.0.36.

The system which displays this "interesting" behaviour is EB64+ using ARC
console 4.49-4.

  Michal


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-29  0:24     ` Michal Jaegermann
@ 1998-09-29  3:12       ` Jay.Estabrook
  1998-09-29 19:54       ` wade
  1 sibling, 0 replies; 8+ messages in thread
From: Jay.Estabrook @ 1998-09-29  3:12 UTC (permalink / raw)
  To: axp-list


>>> Michal Jaegermann said:
> > 
> > However, there really is something wrong if you get a *lot* of these during
> > normal operation.
> 
> I do not know about "normal operations".  When I first tried that I
> collected a few thousands entries (something between three and four
> thousands - not counting "repeated xxx times") in my log files before
> I even finished to boot.  This was IRQ 14, if I remember correctly, and
> my system was working - in a fashion, as I managed an orderly shutdown.

What device(s) want or use IRQ 14?

EB64+ had stock 16 PIC IRQs for ISA interrupts, and 16 (used only 11)
additional IRQs for the PCI devices and cascade.

As with all the Alphas with additional PCI interrupts, their IRQs are numbered
from 16 up; and ISA 14 is usually IDE 0 and 1.

Did you have any IDE disks/CDROMs in that EB64+? If so, did they work?

> Jay, if you remember, I even wrote you about this at that time.

Hmmm; yes, I seem to remember something, but I think you didn't complain
loud or long enough... ;-}

> Checking older sources I found that this particular
> printk was before turned off so I did the same and now everything seems
> to be happy through 2.0.34, 2.0.35 and quite a few different prereleases
> of 2.0.36.

I'd be interested to know if it is still happening, though, and what kind of
count you get of "ignored" IRQ 14 interrupts. Something is not right, as the
very first one of those should cause the interrupt to be masked off and, unless
masking is broken on the EB64+, that should prevent *any* more from occurring,
until/if a driver is assigned and the interrupt is unmasked by that driver.

> The system which displays this "interesting" behaviour is EB64+ using ARC
> console 4.49-4.

Probably the latest (last) for that board, right?

--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
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-28 23:19   ` Jay.Estabrook
  1998-09-29  0:24     ` Michal Jaegermann
@ 1998-09-29 18:22     ` wade
  1 sibling, 0 replies; 8+ messages in thread
From: wade @ 1998-09-29 18:22 UTC (permalink / raw)
  To: axp-list



On Mon, 28 Sep 1998 Jay.Estabrook@digital.com wrote:

> 
> >>> Michal Jaegermann said:
> > Arrigo Benedetti wrote:
> > > 
> > > After inserting the floppy with the kernel image and
> > > before being asked to insert the ramdisk floppy I get an infinite
> > > sequence of error messages:
> > > 
> > > device_interrupt: unexpected interrupt 0
> > > device_interrupt: unexpected interrupt 0

I got this when I used the wrong kernel with my AS200, silly me used an
avanti kernel with the avanti machine, I am using the latest available
arc/alphabios flash upgrade. 

> 
> Now, back to the original problem (on an AS200):
> 
> If you are booting from SRM console directly, you should have used the
> "avanti-s.img" file for creating the kernel floppy.
>
correct, here using avanti-s works properly, the -s meaning srm I suppose.
 
> If you are booting from ARC console into MILO and then the kernel, you
> should have used the "avanti.img" file for creating the kernel floppy.
> 
Bzzzt, incorrect, that one does not work, use the xl.img instead, and the
avanti milo, if you use avanti.img with my AS200 4/233 you get strange 
interrupt errors and crap, which kills the performance.  What avanti.img
is actually there for is beyond me...confusion maybe.

An excerpt from the infamous table . . . I thought it was wrong at first
too, but it indeed was not...the xl image makes it all work great. 

  
Family/Model            Aliases         MILO image       Kernel
image
=============           =======         ==========      ============


AVANTI                                   avanti         xl,avanti-s
  AS 200 4/*            MUSTANG
  AS 205 4/*            LX3
  AS 250 4/*            M3 
  AS 255 4/*            LX3+  
  AS 300 4/*            MELMAC
  AS 400 4/*            AVANTI


> If you were booting a kernel built to run under the *other* console, you
> might end up with these messages, as interrupt delivery is expected/handled
> differently by the two kernels.
> 
> --Jay++
> 
> -----------------------------------------------------------------------------
>   American Non Sequitur Society: we don't make sense, but we do like pizza...
> 
> Jay A Estabrook                            Alpha Motherboards - LINUX Project
> Compaq Computer Corp.                      (508) 841-3241 or (DTN) 237-3241
> 334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.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] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-29  0:24     ` Michal Jaegermann
  1998-09-29  3:12       ` Jay.Estabrook
@ 1998-09-29 19:54       ` wade
  1998-09-29 23:28         ` Michal Jaegermann
  1 sibling, 1 reply; 8+ messages in thread
From: wade @ 1998-09-29 19:54 UTC (permalink / raw)
  To: Michal Jaegermann; +Cc: axp-list



On Mon, 28 Sep 1998, Michal Jaegermann wrote:

> Jay A Estabrook wrote:
> > 
> > I forgot to remove the printk when I made the patches. Sue me... ;-}
> 
> Can you recommend some suitable lawyer. :-)
> 
I would be glad to assist you in your suit.  I require a small
$10,000.00US fee, email me back for todays ermmm... MY address.  My name
is Cash, from the Cash firm, putting the name Cash on the To: line is
sufficient.  

(well how else am I gonna get that new alpha processor, LOL)

later






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: unexpected interrupt 0 on AS200
  1998-09-29 19:54       ` wade
@ 1998-09-29 23:28         ` Michal Jaegermann
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 1998-09-29 23:28 UTC (permalink / raw)
  To: axp-list

wade wrote:
> 
> On Mon, 28 Sep 1998, Michal Jaegermann wrote:
> 
> > Jay A Estabrook wrote:
> > > 
> > > I forgot to remove the printk when I made the patches. Sue me... ;-}
> > 
> > Can you recommend some suitable lawyer. :-)
> > 
> I would be glad to assist you in your suit.

Hm, I asked Jay.

> (well how else am I gonna get that new alpha processor, LOL)

I better go back to a hacking mode.

  Michal


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-09-29 23:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-28  1:01 unexpected interrupt 0 on AS200 Arrigo Benedetti
1998-09-28  5:31 ` Michal Jaegermann
1998-09-28 23:19   ` Jay.Estabrook
1998-09-29  0:24     ` Michal Jaegermann
1998-09-29  3:12       ` Jay.Estabrook
1998-09-29 19:54       ` wade
1998-09-29 23:28         ` Michal Jaegermann
1998-09-29 18:22     ` wade

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