Messages in this thread | | | Date | Thu, 11 Nov 1999 15:51:20 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: Possible race in printk? |
| |
On Thu, 11 Nov 1999, Rogier Wolff wrote:
> __save_flags(flags); > __cli(); > count = len; > if (count > LOG_BUF_LEN) > count = LOG_BUF_LEN; > if (count > logged_chars) > count = logged_chars; > j = log_start + log_size - count; > __restore_flags(flags);
This race is fixed in latest 2.2.x and 2.3.x kernels.
>Does anybody know how I can get printk to print stuff to the console >again? I'm trying to track down a "system hang" and my "cat >/proc/kmsg" works great, as long as the system doesn't hang....
Apply the IKD patch and press SYSRQ+g.
ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/ikd/
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |