* deleted /dev/zero
@ 2002-05-14 1:01 Jun Sun
2002-05-14 1:19 ` Liam Davies
0 siblings, 1 reply; 4+ messages in thread
From: Jun Sun @ 2002-05-14 1:01 UTC (permalink / raw)
To: linux-mips
I am running some stress tests (such as ltp, netperf, lmbench, etc) on the SMP
swarm board. Once in a while I notice /dev/zero will get deleted. This
causes all kinds of weired problems (such as internal gcc error. Why?)
I don't know how to re-produce this problem yet. It seems a little
non-deterministic. I would appreciate any insight into this problem.
Jun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deleted /dev/zero
2002-05-14 1:01 deleted /dev/zero Jun Sun
@ 2002-05-14 1:19 ` Liam Davies
2002-05-14 1:28 ` Jun Sun
2002-05-14 13:02 ` Maciej W. Rozycki
0 siblings, 2 replies; 4+ messages in thread
From: Liam Davies @ 2002-05-14 1:19 UTC (permalink / raw)
To: Jun Sun; +Cc: linux-mips
Jun Sun wrote:
>
> I don't know how to re-produce this problem yet. It seems a little
> non-deterministic. I would appreciate any insight into this problem.
The ltp mtest05 test had a bug in which it would remove /dev/zero when
it cleaned up. Have you got an updated ltp suite?
This is the fix that they did in late March to the mtest05 test.
/ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
- if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
+ if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))
I suppose that there may be other LTP tests that could have similar
bugs...
Cheers
Liam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deleted /dev/zero
2002-05-14 1:19 ` Liam Davies
@ 2002-05-14 1:28 ` Jun Sun
2002-05-14 13:02 ` Maciej W. Rozycki
1 sibling, 0 replies; 4+ messages in thread
From: Jun Sun @ 2002-05-14 1:28 UTC (permalink / raw)
To: ldavies; +Cc: linux-mips
Thanks. I am using an old version of ltp, and I still see the bug there.
Jun
Liam Davies wrote:
> Jun Sun wrote:
>
>>
>> I don't know how to re-produce this problem yet. It seems a little
>> non-deterministic. I would appreciate any insight into this problem.
>
>
>
> The ltp mtest05 test had a bug in which it would remove /dev/zero when
> it cleaned up. Have you got an updated ltp suite?
>
> This is the fix that they did in late March to the mtest05 test.
>
> /ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
> - if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
> + if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))
>
> I suppose that there may be other LTP tests that could have similar
> bugs...
>
>
> Cheers
> Liam
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deleted /dev/zero
2002-05-14 1:19 ` Liam Davies
2002-05-14 1:28 ` Jun Sun
@ 2002-05-14 13:02 ` Maciej W. Rozycki
1 sibling, 0 replies; 4+ messages in thread
From: Maciej W. Rozycki @ 2002-05-14 13:02 UTC (permalink / raw)
To: ldavies; +Cc: Jun Sun, linux-mips
On Tue, 14 May 2002, Liam Davies wrote:
> The ltp mtest05 test had a bug in which it would remove /dev/zero when
> it cleaned up. Have you got an updated ltp suite?
>
> This is the fix that they did in late March to the mtest05 test.
>
> /ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
> - if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
> + if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))
>
> I suppose that there may be other LTP tests that could have similar
> bugs...
Which only proves again one shouldn't run software as root unless
absolutely needed...
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-14 13:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-14 1:01 deleted /dev/zero Jun Sun
2002-05-14 1:19 ` Liam Davies
2002-05-14 1:28 ` Jun Sun
2002-05-14 13:02 ` Maciej W. Rozycki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.