[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081009194033.GJ28224@vanheusden.com>
Date: Thu, 9 Oct 2008 21:40:34 +0200
From: Folkert van Heusden <folkert@...heusden.com>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [2.6.25 on Power5 64bit] badness in fs/sysfs/dir.c:424
> > While running my modprobe-killerscript I got the following in dmesg:
>
> Where are your scripts, please?
I've got two versions. The one one intel is:
----------------------------------------------------------------------
#! /usr/bin/perl -w
use POSIX;
@mods = <>;
for(;;)
{
$n = floor(rand(@mods));
print $mods[$n]."\n";
if (rand(2) < 1.0)
{
system('rmmod ' . $mods[$n]);
}
else
{
system('modprobe ' . $mods[$n]);
}
}
----------------------------------------------------------------------
invoked as:
lsmod | awk '{ print $1; }' | ./pyk-perl.mod
The script I used on the power5-platform is:
----------------------------------------------------------------------
#! /usr/bin/perl -w
use POSIX;
@mods = <>;
fork();
fork();
srand(time() ^ getpid() ^ getppid());
for(;;)
{
$n = floor(rand(@mods));
print $mods[$n]."\n";
if (rand(2) < 1.0)
{
system('rmmod ' . $mods[$n]);
}
else
{
system('modprobe ' . $mods[$n]);
}
}
----------------------------------------------------------------------
invoked as:
lsmod | grep -v -e ibmveth -v -e windfarm_cpufreq_clamp | awk '{ print $1; }' | ./pyk-perl.mod
I'm removing ibmveth from the list or else I would loose connection
during tests and windfarm_cpufreq_clamp because the script would hang
during a modprobe on that. Maybe something to investigate later.
Folkert van Heusden
--
To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin
eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi,
diaforetikes provoles. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
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