From: "Serge Noiraud" <serge.noiraud@bull.net>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: RT question : softirq and minimal user RT priority
Date: Fri, 20 Jan 2006 09:24:24 +0100 [thread overview]
Message-ID: <200601200924.25135.Serge.Noiraud@bull.net> (raw)
In-Reply-To: <200601170858.14059.Serge.Noiraud@bull.net>
Hi,
I reproduce the problem without the script command too. I use the tee /dev/ttyS0.
It seems the problem is related to a TIMEOUT value somewhere in the buffer management or the scsi driver.
The test is 34 minutes ( 2040 sec ) long on my machine. ( HP workstation xw8200 ).
I found 1800 sec Time out in the kernel, but not for my drivers.
What kind of test or debug could I use to find out the problem ?
mardi 17 Janvier 2006 08:58, Serge Noiraud wrote/a écrit :
> Hi,
> I continue my tests and found something new. I tested -rt6 : same problem
>
> vendredi 13 Janvier 2006 16:53, Steven Rostedt wrote/a écrit :
> > On Fri, 2006-01-13 at 15:27 +0100, Serge Noiraud wrote:
> > > Hi,
> > >
> > > I was testing 2.6.15-rt3. During my tests, I tried to run a program which made a loop at
> > > RT priority 10 and 30.
> >
> > So you have two programs running, one at priority 10 and 30 right?
> I can reproduce the problem easily after each reboot at any priority with only one program.
> The problem occurs if all the IRQ's are affected to CPU 0 ( smp_affinity ) and the test run on CPU 0.
> Only one program which makes 60000000000ULL loops.
> Before I run this program, I type the command script to keep the results.
> When the test stop, I quit the script command <ctrl>d.
> I am in the standard shell.
> The result file from the script command is empty. This is how I find the problem.
>
> I tried with 2.6.15-rt6 : same problem.
>
> >
> > > I was very happy to see that after the tests, I can't use any command except those already in memory.
> >
> > So, are these programs still running? Are they in busy loops?
> No they are finished.
> >
> > > My filesystems were in read-only after the test. I was unable to shutdown the machine :
> >
> > How did the filesystems go into read-only? Did the tests do that?
> No, it's a simple loop in which I get tsc to evaluate system perturbations.
> after quiting the script command, I can't type any command. That's what I mean below.
> >
> > > top => command not found
> > > <CTRL><ALT><DEL> => INIT: cannot execute "/sbin/shutdown"
> > > /sbin/reboot => Input/Output error
> > > I had to push the reset button.
> >
> > I'll need more info to understand these.
> I have no more access to the file system. I can only do less and some other command.
> I get Input/Output error for all new command not in memory.
> If I try to ssh from another machine, I obtain the following messages :
> [root@dist2 root]# ssh dist1
> root@dist1's password:
> Last login: Mon Jan 16 11:13:49 2006 from dist2.btsn.xxxxxxxxxx
> /usr/X11R6/bin/xauth: error in locking authority file /root/.Xauthority
> I can't access .Xauthority file which exists. I could access it before the test.
>
> At this point, If I try to reboot, I get the following messages.
> <CTRL><ALT><DEL> => INIT: cannot execute "/sbin/shutdown"
> /sbin/reboot => Input/Output error
>
> Before launching the script and the test, the system works correctly.
>
> If I reboot the system and I launch the test again, I get the same problem => easily reproductible
>
> I send you my CONFIG file and the program to reproduce the problem.
> >
> > >
> > > My questions are :
> > > Did I find a bug ?
> >
> > Don't know yet.
> >
> > > Is the smallest usable real-time priority greater than the highest real-time softirq ?
> >
> > Nope, you can use any rt priority you want. It's up to you whether you
> > want to preempt the softirqs or not. Be careful, timers may be preempted
> > from delivering signals to high priority processes. I have a patch to
> > fix this, but I'm waiting on input from either Thomas Gleixner or Ingo.
> Effectively, the problem occurs whatever the priority is : 10, 30, 60 or 99.
>
> >
> > > In this case could we forbid priority lesser than the highest softirq priority ?
> >
> > No need.
> >
> > -- Steve
>
> Serge Noiraud
next prev parent reply other threads:[~2006-01-20 8:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 14:27 Serge Noiraud
2006-01-13 15:53 ` Steven Rostedt
2006-01-17 7:58 ` Serge Noiraud
2006-01-20 8:24 ` Serge Noiraud [this message]
2006-04-17 13:21 ` Mark Hounschell
2006-04-17 15:05 ` Lee Revell
2006-04-18 8:10 ` Mark Hounschell
2006-04-18 10:03 ` Mark Hounschell
2006-04-18 13:31 ` Steven Rostedt
2006-04-18 16:47 ` Mark Hounschell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601200924.25135.Serge.Noiraud@bull.net \
--to=serge.noiraud@bull.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®