How programs generate software interrupts?
wilfredo_lugo at hp.com
Sat Jul 28 04:33:24 EST 2001
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.
thanks in advance,
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded