All of lore.kernel.org
 help / color / mirror / Atom feed
* lost interrupt
@ 2002-05-07 22:04 mikeH
  2002-05-08  2:36 ` Tomasz Rola
  2002-05-08 11:45 ` Padraig Brady
  0 siblings, 2 replies; 12+ messages in thread
From: mikeH @ 2002-05-07 22:04 UTC (permalink / raw)
  To: linux-kernel

Sorry if this is a repeat, I didn't see my last post come through...

I'm being plauged with "hdX: lost interrupt" messages and resultant 
system hangs in kernel 2.4.18 on a via 82XXXX chipset.

Who should I direct my questions to?

Thanks in advance,

MikeH


^ permalink raw reply	[flat|nested] 12+ messages in thread
* lost interrupt
@ 2003-05-27  3:41 Trevor Woerner
  2003-05-29  3:22 ` Trevor Woerner
  0 siblings, 1 reply; 12+ messages in thread
From: Trevor Woerner @ 2003-05-27  3:41 UTC (permalink / raw)
  To: linuxppc-dev


I'm getting the dreaded "lost interrupt" whenever the kernel tries to
access my onboard CF card. I put an 'IDE_DEBUG' at the start of
'ide_intr()' so I could watch to see if/how many times my interrupt
occurs or gets called. As an example, after I run 'cardmgr' I'll get
7 'lost interrupt' messages. After the last one, I'll get 7
'IDE_DEBUG' messages indicating that there were 7 interrupts queued
and waiting on the correct interrupt line.

So if 7 interrupts are sitting there waiting on the correct line, why
can't they get into the kernel so it can know the CF card is ready,
instead of having to wait for each IDE operation to timeout? From
googling around the usual cause of 'lost interrupt' is setting the irq
incorrectly, but the fact that all 7 get delivered (eventually) to the
ide's 'ide_intr()' would seem to indicate that at least that part is
configured correctly, no?

[relevant info]
kernel: 2.4.20-rc1
interrupt: external #6 (known as 31 internally), shared
cpu: PPC405gp

in 'ide-cs.c' i call 'ide_setup_ports()' to configure the device and I
define an 'ack_intr()' in order to acknowledge and turn off the
shared interrupt. The interrupt is shared, but not with other IDE
hwif's. I'm not using DMA, chipset is 'ide_generic'. This is not a
PCI device.

How do 'ide_ack_intr()' and 'hwif->intrproc()' differ? I've only setup
'ide_ack_intr()', it appears to return a 1 if it determines the
shared interrupt source was the IDE, or 0 if it wasn't. I also use
this place to put the code to reset (or turn off) the interrupt. What
would 'intrproc()' do?

	Trevor

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Lost Interrupt
@ 2002-07-16 14:58 David Gironella Casademont
  2002-07-17  1:27 ` Samuel Flory
  0 siblings, 1 reply; 12+ messages in thread
From: David Gironella Casademont @ 2002-07-16 14:58 UTC (permalink / raw)
  To: linux-kernel


I compile 2.4.18 kernel with promise raid support, and when kernel is
checking my partitions say: Lost interrupt

any idea.

thk
Giro


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Lost Interrupt
@ 2001-05-20 17:38 SoloCDM
  0 siblings, 0 replies; 12+ messages in thread
From: SoloCDM @ 2001-05-20 17:38 UTC (permalink / raw)
  To: Linux-Kernel

The present system has operated without any changes to the hardware
with Win9.x, RH5.2, and LM7.0.  This problem only started when I
upgraded to LM8.0 and still no hardware changes have been made.

I use the 420Mb drive as a swap disk, connected along with the
CD-ROM to the secondary port.  I can't bring myself to throw the
420Mb drive out.

The following errors occur during boot-up:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: VIA vt82c586a (rev 27) IDE UDMA33 controller on pci00:07.1
    ide0: BM-DMA at 0x6000-0x6007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x6008-0x600f, BIOS settings: hdc:pio, hdd:pio
ide6: Creative SB32 PnP IDE interface
hdb: WDC AC33100H, ATA DISK drive
hdc: Conner Peripherals 420MB - CFS420A, ATA DISK drive
hdc: IRQ probe failed (0xfffffff8)
hdd: CD-ROM 32X/AKU, ATAPI CD/DVD-ROM drive
hdd: IRQ probe failed (0xfffffff8)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide1 at 0x170-0x177,0x376 on irq 15
hda: 16408224 sectors (8401 MB) w/256KiB Cache, CHS=1021/255/63,
UDMA(33)
hdb: 6185088 sectors (3167 MB) w/128KiB Cache, CHS=767/128/63, DMA
hdc: 832608 sectors (426 MB) w/64KiB Cache, CHS=826/16/63, DMA
hdd: lost interrupt
hdd: lost interrupt
hdd: lost interrupt
hdd: lost interrupt
hdd: lost interrupt
hdd: ATAPI 32X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 >
hdb: hdb1 hdb2
hdc:hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt
hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: irq timeout: status=0x50 { DriveReady SeekComplete }
hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: irq timeout: status=0x50 { DriveReady SeekComplete }
hdc: lost interrupt
hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: irq timeout: status=0x50 { DriveReady SeekComplete }
hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: irq timeout: status=0x50 { DriveReady SeekComplete }
hdc: DMA disabled
hdd: DMA disabled
ide1: reset: success
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt
hdc1 hdc2 <hdc: lost interrupt
hdc: lost interrupt
hdc5 >
hdc: lost interrupt
hdc: lost interrupt

Why does this happen and how can it be resolved?

Note: When you reply to this message, please include the mailing
      list/newsgroup address and my email address in To:.

*********************************************************************
Signed,
SoloCDM

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

end of thread, other threads:[~2003-05-29  3:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 22:04 lost interrupt mikeH
2002-05-08  2:36 ` Tomasz Rola
2002-05-08  8:13   ` mikeH
2002-05-08 13:02   ` Padraig Brady
2002-05-08 18:28     ` Tomasz Rola
2002-05-08 11:45 ` Padraig Brady
2002-05-08 12:02   ` Mike
  -- strict thread matches above, loose matches on Subject: below --
2003-05-27  3:41 Trevor Woerner
2003-05-29  3:22 ` Trevor Woerner
2002-07-16 14:58 Lost Interrupt David Gironella Casademont
2002-07-17  1:27 ` Samuel Flory
2001-05-20 17:38 SoloCDM

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.