Stanislav Brabec wrote: > wanghui wrote: > > For this situation, i guess you use a single serial port both as a > > printk console and as a login tty. > > Yes, I did exactly that. Well, I just succeeded with experiments. Changing if (console_suspend_enabled || !uart_console(uport)) { in resume process just above the line /* Protected by port mutex for now */ to if (1) { makes resume working with no_console_suspend again. So one of lines inside does something important. Even then, the log is incomplete. dmesg shows more, but even it lacks printk output from inside of if (1). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- 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