linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How programs generate software interrupts?
@ 2001-07-27 18:33 Freddy Lugo
  0 siblings, 0 replies; only message in thread
From: Freddy Lugo @ 2001-07-27 18:33 UTC (permalink / raw)
  To: linuxppc-embedded


	Hi All,

	Some time ago I posted a question about not getting any program output to
the serial port when the kernel reach user space.  After a lot of troubleshooting I am still
unable to get any program output to the serial port.

	I am using a 16C550 serial port, I checked the UART's  configuration one
by one and everything is ok.  My serial port driver has a IRQ assigned to it and when
a key is pressed on the keyboard console everything work as expected.  (Interrupts are
generated and the data is read from the UART register and printed to the console).
But I am unable to see any output from the program(s).  I tried different programs
(sash, yes, printf) and nothing.

	Right now I don't know what else to check.  How a program is supposed
to send output messages to the serial port?  AFAIK the program should generate an interrupt,
who is then handled by the scheduler, and then passed to the do_softirq routine who then is
supposed to call the driver bottom half to schedule the event on the task queue.  Am I correct?
If I am, that is not happening.

Any hints?

thanks in advance,

Freddy


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-27 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-27 18:33 How programs generate software interrupts? Freddy Lugo

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