linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Willy TARREAU <willy@w.ods.org>
To: Stephan von Krawczynski <skraw@ithnet.com>
Cc: Willy Tarreau <willy@w.ods.org>,
	gibbs@scsiguy.com, marcelo@conectiva.com.br,
	linux-kernel@vger.kernel.org
Subject: Re: Undo aic7xxx changes
Date: Sun, 25 May 2003 14:35:29 +0200	[thread overview]
Message-ID: <20030525123529.GA931@pcw.home.local> (raw)
In-Reply-To: <20030525125811.68430bda.skraw@ithnet.com>

Hello !

On Sun, May 25, 2003 at 12:58:11PM +0200, Stephan von Krawczynski wrote:
> it did not take really long for rc3+aic20030520 to freeze - exactly one day.

Well, in some ways, it will be easier to debug it than when it took 14 days, if
it's the same bug, of course.

> Though I used nmi_watchdog there are no presentable outputs. As I expected the
> screen simply is black and no messages are in any logfiles.
> Again it froze while tar-ing about 80 GB of data onto an aic-driven SDLT. Data
> is coming from IDE drive connected to a 3ware 7500-8 (though no raid
> configuration). 

OK, so there's a high probability that the problem is related to either SCSI or
IDE (or both), and less likely implies any other parts.

> Ah yes, one more thing: I can ping the box, but keyboard, mouse, display is
> dead and usually working processes stopped (like snmp).

that's surprizing, mine was completely dead IIRC. It's like it doesn't schedule
anymore but still processes interrupts. I don't know if a deadlock can cause
this behaviour.

> Willy: I am willing to try a serial console setup (as it does not interfere
> with X). I have tried this before with no luck. Can you provide some hints how
> you got that working (yes, I read Documentation/serial-console.txt, but I could
> not manage any output on the serial line).

I had to try several times, because the freeze was so sudden that I often 
caught only a few chars. Justin even didn't believe me. First, you have to
check that CONFIG_SERIAL_CONSOLE is enabled. After that, you'll need a remote
console which can work at high speeds (I could get interesting results at 38400
bps). Surprizingly, above I had mangled output. Perhaps my cable wasn't good
enough (flat cisco RJ45 console cable). I also disabled hard and soft flow
control. But as I already stated, in my case it was easier because it froze
every 2-3 boots, and when it didn't I only had to start a "make -j dep" to get
it. So if I got frozen with no messages, I simply hit the reset button and tried
again. It seems more complicated in your case (although your big tar may be
helping).

When your setup seems OK, you should test it to be sure. I often use "mdir"
with nothing in the drive, or AltGr-SysRq-P to get console messages. If you
don't see anything on your serial console, then your setup is not ready yet
for a test.

Oh and by the way, if you're using modules, you may find interesting to keep
copies of lsmod output, and /proc/ksyms to get a more accurate decoding with a
further ksymoops.

If you really cannot catch anything, I suggest one of these solutions :
  - apply the netconsole patch and have a linux box on the same lan with the
    netconsole server. You can find it in -aa kernels for example.
  - apply the kmsgdump patch, only if you have a floppy drive or a parallel
    printer. It will try to reset the system after a panic, and use bios calls
    to write the kernel messages buffer on the media. This usually works, but
    there are some corner cases where it doesn't. But it's easy to try with
    AltGr-SysRq-D. Download it from http://w.ods.org/tools/kmsgdump/

Good luck !
Willy


  reply	other threads:[~2003-05-25 12:25 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 20:22 Undo aic7xxx changes Marcelo Tosatti
2003-05-09  0:45 ` Justin T. Gibbs
2003-05-09 10:06   ` Stephan von Krawczynski
2003-05-09 12:06     ` Willy Tarreau
2003-05-09 13:02       ` Stephan von Krawczynski
2003-05-09 13:27         ` Willy Tarreau
2003-05-09 13:46           ` Stephan von Krawczynski
2003-05-09 14:56             ` Willy Tarreau
2003-05-09 15:08               ` Arjan van de Ven
2003-05-09 16:27                 ` Willy Tarreau
2003-05-09 15:18               ` Andreas Schwab
2003-05-09 15:19               ` William Lee Irwin III
2003-05-09 14:11           ` Stephan von Krawczynski
2003-05-09 14:57             ` Willy Tarreau
2003-05-12  9:02               ` Stephan von Krawczynski
2003-05-12 15:43                 ` Marc-Christian Petersen
2003-05-12 17:25                 ` Willy Tarreau
2003-05-23 10:38                 ` Stephan von Krawczynski
2003-05-23 12:58                   ` Justin T. Gibbs
2003-05-23 13:11                     ` Stephan von Krawczynski
2003-05-23 19:57                     ` Willy Tarreau
2003-05-24 10:52                       ` Stephan von Krawczynski
2003-05-24 11:16                         ` Willy Tarreau
2003-05-25 10:58                           ` Stephan von Krawczynski
2003-05-25 12:35                             ` Willy TARREAU [this message]
2003-05-25 12:47                             ` Marc-Christian Petersen
2003-05-25 13:50                               ` Stephan von Krawczynski
2003-05-25 14:01                                 ` Marc-Christian Petersen
2003-05-25 14:03                                 ` Geller Sandor
2003-05-26 15:00                               ` Stephan von Krawczynski
2003-05-26 16:44                                 ` Willy Tarreau
2003-05-30  8:09                                   ` Stephan von Krawczynski
2003-05-30  8:19                                     ` Marc-Christian Petersen
2003-05-30  8:21                                     ` Arjan van de Ven
2003-05-30  8:51                                       ` Stephan von Krawczynski
2003-05-30 13:34                                     ` Jeff Garzik
2003-05-30 13:59                                       ` Stephan von Krawczynski
2003-05-30 13:35                                     ` Jeff Garzik
2003-05-25 18:30                             ` Justin T. Gibbs
2003-06-05 15:05                           ` Undo aic7xxx changes (now rc7+aic20030603) Stephan von Krawczynski
2003-06-05 18:14                             ` Willy Tarreau
2003-06-06  8:17                               ` Oleg Drokin
2003-06-06  9:04                                 ` Stephan von Krawczynski
2003-06-06  9:17                                   ` Oleg Drokin
2003-06-06 15:24                                     ` short freezing while file re-creation Stephan von Krawczynski
2003-06-06 16:02                                       ` Oleg Drokin
2003-06-06 19:00                                         ` Chris Mason
2003-06-06 19:10                                           ` Oleg Drokin
2003-06-06 19:20                                             ` Chris Mason
2003-06-08 10:15                                     ` Undo aic7xxx changes (now rc7+aic20030603) Stephan von Krawczynski
2003-06-08 11:19                               ` Stephan von Krawczynski
2003-06-08 11:49                                 ` Stephan von Krawczynski
2003-06-08 16:07                                   ` Stephan von Krawczynski
2003-06-09 15:10                                   ` Stephan von Krawczynski
2003-06-09 15:32                                     ` Justin T. Gibbs
2003-06-10 10:23                                       ` Stephan von Krawczynski
2003-06-10 15:38                                         ` Justin T. Gibbs
2003-06-10 17:11                                           ` Stephan von Krawczynski
2003-06-10 18:07                                             ` Justin T. Gibbs
2003-06-11  0:51                                               ` Stephan von Krawczynski
2003-06-11  4:39                                                 ` Justin T. Gibbs
2003-06-11 20:23                                                   ` Stephan von Krawczynski
2003-06-11 21:01                                                     ` John Stoffel
2003-06-13  9:45                                                       ` Stephan von Krawczynski
2003-06-15 12:56                                                         ` Stephan von Krawczynski
2003-06-15 13:26                                                           ` John Stoffel
2003-06-17 20:47                                                         ` Marcelo Tosatti
2003-06-18 11:05                                                           ` Stephan von Krawczynski
2003-06-18 14:21                                                             ` John Stoffel
2003-06-18 14:54                                                               ` Stephan von Krawczynski
2003-06-20 19:59                                                             ` Marcelo Tosatti
2003-06-20 20:59                                                               ` Kevin P. Fleming
2003-06-20 21:13                                                                 ` Marcelo Tosatti
2003-06-20 22:03                                                                   ` Willy Tarreau
2003-06-20 23:48                                                                     ` Stephan von Krawczynski
2003-06-21 10:50                                                                       ` Willy TARREAU
2003-06-22 19:00                                                                         ` Stephan von Krawczynski
2003-06-23 11:30                                                                         ` Stephan von Krawczynski
2003-06-24 11:11                                                                           ` Stephan von Krawczynski
2003-06-24 17:43                                                                             ` Willy Tarreau
2003-06-24 21:26                                                                               ` Stephan von Krawczynski
2003-06-24 22:03                                                                                 ` Willy Tarreau
2003-06-24 23:43                                                                                   ` Stephan von Krawczynski
2003-06-25 19:16                                                                                     ` Willy Tarreau
2003-06-25 19:42                                                                                       ` Stephan von Krawczynski
2003-06-25 20:30                                                                                         ` John Stoffel
2003-06-26  9:36                                                                                           ` Stephan von Krawczynski
2003-06-26 11:34                                                                                           ` Stephan von Krawczynski
2003-06-30 10:10                                                                                             ` Stephan von Krawczynski
2003-06-30 11:39                                                                                               ` Marcelo Tosatti
2003-06-30 12:08                                                                                                 ` Stephan von Krawczynski
2003-06-25 23:04                                                                                       ` Bernd Eckenfels
2003-06-25  2:22                                                                                 ` Valdis.Kletnieks
2003-06-24 18:31                                                                     ` Bill Davidsen
2003-06-12 13:54                                                     ` Stephan von Krawczynski
2003-06-10  1:38                                     ` Zwane Mwaikambo
2003-06-10 10:30                                       ` Stephan von Krawczynski
2003-06-10 12:51                                         ` Zwane Mwaikambo
2003-06-10 13:38                                           ` Stephan von Krawczynski
2003-06-10 13:51                                             ` Zwane Mwaikambo
2003-06-10 15:55                                               ` Stephan von Krawczynski
2003-06-10 16:23                                                 ` Oleg Drokin
2003-06-10 17:44                                               ` Stephan von Krawczynski
2003-06-10 18:15                                                 ` Zwane Mwaikambo
2003-06-10 23:55                                                   ` Stephan von Krawczynski
2003-06-10 18:20                                                 ` Zwane Mwaikambo
2003-05-23 18:30                   ` Undo aic7xxx changes Marcelo Tosatti
2003-05-23 19:25                     ` Stephan von Krawczynski
2003-05-12 15:31 Klaus Dittrich

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=20030525123529.GA931@pcw.home.local \
    --to=willy@w.ods.org \
    --cc=gibbs@scsiguy.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=skraw@ithnet.com \
    /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;
as well as URLs for NNTP newsgroup(s).