lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 04 Apr 2007 08:57:57 -0700
From:	Daniel Walker <dwalker@...sta.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: real time hang w/ latency tracing

On Wed, 2007-04-04 at 17:42 +0200, Ingo Molnar wrote:

> i mean non-printk related breakages to the normal serial driver - which 
> is now surprised by this raw lock in an -rt kernel.
> 
> this is a hard issue and there's no easy solution i can see. neither 
> having it as a raw lock is a good solution, nor having it as a 
> preemptible lock is a good solution.

The machine that I'm using is relatively fast, but on slower machine
it's possible to reproduce this same hang just by running,

echo 0 > /proc/sys/kernel/preempt_max_latency

then pressing enter a few times .. Which would be a fairly common
happening with people using latency tracing an a serial port I would
imagine..

The other fix I test was using the hack for sysrq,

        if (up->port.sysrq || oops_in_progress)

in serial8250_console_write to then also check "irqs_disabled()" , but
I'm sure mass usage of the serial port would cause some issues with
that.. Although both fixes I tested resulted in the serial port becoming
garbled after about 10 min. with the preempt_thresh at 1 .

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ