From: Will N. <wil...@gm...> - 2006-08-21 08:36:10
|
On 8/21/06, Mike Frysinger <va...@ge...> wrote: > On Tuesday 27 June 2006 09:55, Will Newton wrote: > > The proc01 test is left hanging when reading /proc/kmsg on an embedded > > Linux 2.4.32 box I am working with. The cause seems to be that there > > is nothing in the kernel log buffer to read so the read blocks. I'm > > not sure if this is an LTP or kernel bug, perhaps opening kmsg > > O_NOBLOCK should be disallowed? > > huh ? if kmsg is empty, then opening with O_NOBLOCK works just fine as the > first read() will fail with no data: Not on 2.4. I've since patched this in my local kernel tree as it is a kernel bug. Sorry for the noise. |