If I configure kgdboc to use ttyS0 while writing to the console on ttyS0, I sometimes get a deadlock. This using 3.11.5 on x86_64. The way to most easily reproduce the deadlock is to set "console=ttyS0" on the kernel command line, run a shell on ttyS0, and also run the following script. #!/bin/sh sh -c 'i=0; while true; do echo $i; i=$((i+1)); done' & sh -c 'while true; do echo "ttyS0,38400" > /sys/module/kgdboc/parameters/kgdboc; done' It should deadlock fairly quickly. The following email is a potential patch that seems to prevent the deadlock, but my knowledge of the inner workings of tty is limited. Please let me know if you need more information to reproduce the deadlock. -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html