* MPC8270 with preemptible kernel stucks in early console write
@ 2005-10-20 13:52 claus
0 siblings, 0 replies; only message in thread
From: claus @ 2005-10-20 13:52 UTC (permalink / raw)
To: linuxppc-embedded
Hi there,
I'm porting the 2.6.13.2 kernel to a custom board with a MPC8270.
If I compile the kernel preemptible then it gets stuck at the following
line in the cpm_uart_console_write function:
while ((bdp->cbd_sc & BD_SC_READY) != 0)
;
The early_console output works fine in the beginning of the boot but then
it gets stuck after the line "checking if image is initramfs...it isn't
(no cpio magic); looks like an initrd" is printed. The problem doesn't
seem to have anything to do with the initramfs detection though.
I can see with the debugger that the descriptors are OK and the buffers
are filled with correct data but it seems that the SCC is not sending the
characters and the main core is stuck waiting for a descriptor to be
ready for use.
Everything works fine if the kernel is not configured preemptible.
Has anyone else had similar behavior?
Any ideas?
-Claus-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-20 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 13:52 MPC8270 with preemptible kernel stucks in early console write claus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox