linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems with 2_4_devel & MVME2600 serial interrupts
@ 2002-10-17 14:52 Anders Blomdell
  2002-10-18 14:59 ` Anders Blomdell
  0 siblings, 1 reply; 9+ messages in thread
From: Anders Blomdell @ 2002-10-17 14:52 UTC (permalink / raw)
  To: linuxppc-embedded


When trying 2_4_devel on a MVME2600 box, the system hangs on the first
access to stdout (printk works OK).

The problem occurs when my /bin/sh gets invoked as the init task, so all
kernel initialization seems to work OK (lots of reasonable output at least)
. What seems to happen is:

1. A write to stdout eventually reach rs_write (drivers/char/serial/serial.
c),
    where the following gets executed:

		info->IER |= UART_IER_THRI;
		serial_out(info, UART_IER, info->IER);

2. When the interrupts gets enabled, the system gets an interrupt and
eventually
    calls i8259_irq, which reads 0xff from pci_intack, which it will
continue to
    do	forever in this loop (do_IRQ, arch/kernel/irq.c):

      while ((irq = ppc_md.get_irq(regs)) >= 0) {
		ppc_irq_dispatch_handler(regs, irq);
		first = 0;
      }

Does anybody has a clue what might be wrong (linuxppc_2_4 works OK, but not
the linuxppc_2_4_devel)?

Regards

Anders Blomdell

------------------------------------------------------------------------------
  Anders Blomdell
  Department of Automatic Control        Email: anders.blomdell@control.lth.
se
  Lund Institute of Technology           Phone: +46 46 222 4625
  Box 118, S-221 00 Lund, Sweden         Fax:   +46 46 138118


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

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

end of thread, other threads:[~2002-10-19 19:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17 14:52 Problems with 2_4_devel & MVME2600 serial interrupts Anders Blomdell
2002-10-18 14:59 ` Anders Blomdell
2002-10-18 15:15   ` Hollis Blanchard
2002-10-18 15:47     ` Anders Blomdell
2002-10-18 16:04       ` Hollis Blanchard
2002-10-18 19:33         ` Hollis Blanchard
2002-10-18 20:03       ` Tom Rini
2002-10-19 18:35         ` Anders Blomdell
2002-10-19 19:14           ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).