mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Jesper Juhl" <jesper.juhl@gmail.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Linus Torvalds" <torvalds@osdl.org>
Subject: Re: Simple script that locks up my box with recent kernels
Date: Fri, 6 Oct 2006 16:54:25 -0700	[thread overview]
Message-ID: <20061006165425.23b326e0.akpm@osdl.org> (raw)
In-Reply-To: <9a8748490610061636r555f1be4x3c53813ceadc9fb2@mail.gmail.com>

On Sat, 7 Oct 2006 01:36:24 +0200
"Jesper Juhl" <jesper.juhl@gmail.com> wrote:

> Hi,
> 
> I've been using the this very simple script for a while to do test
> builds of the kernel :
> 
> 
> #!/bin/bash
> 
> for i in $(seq 1 100); do
>         nice make distclean
>         while true; do
>                 nice make randconfig
>                 grep -q "CONFIG_EXPERIMENTAL=y" .config
>                 if [ $? -eq 1 ]; then
>                         break
>                 fi
>         done
>         cp .config config.${i}
>         nice make -j3 > build.log.${i} 2>&1
> done
> 
> 
> Which has worked great in the past, but with recent kernels it has
> been a sure way to cause a complete lockup within 1 hour :-(
> 

This is probably one of those nobody-but-you-can-reproduce-it things.

> 
> The last kernel where I know for sure that it ran without problems is
> 2.6.17.13 .
> The first kernel where I know for sure it caused lockups is
> 2.6.18-git15 .   I've also tested 2.6.18-git16, 2.6.18-git21 and
> 2.6.19-rc1-git2 and those 3 also lock up solid.
> 
> The lockup usually happens within 30 minutes, but sometimes the box
> survives longer, but I've not seen it survive for more than 60 minutes
> at most.
> It doesn't seem to matter if I leave it alone just building kernels or
> if I use it for other purposes while building in the background - if
> anything, it seems to survive longer when I do other work while it
> builds.
> 
> When the lockup happens the box just freezes and doesn't respond to
> anything at all. Sometimes I can reboot with alt+sysrq+b but sometimes
> not even that works.

If you can do sysrq-b then you can do sysrq-t, too?

Please ensure that you have all the CONFIG_DEBUG_* things set, apart from
PAGEALLOC.

> Here's exactely what I do, so you can try to reproduce :
> 
> 1) boot my distro (Slackware 11.0) into runlevel 4 (multi-user with
> X), using kernel 2.6.19-rc1-git2 (or one of the other "known-bad"
> kernels).
> 
> 2) Log in via kdm, and once I'm at my KDE desktop I start 'konsole'.
> 
> 3) cd into a dir holding a fresh copy of the 2.6.19-rc1-git2 source
> and run the above script from a file named build-random.sh that I have
> placed in the root of the source dir and made executable.
> 
> 4) wait for 0-60 minutes.
> 
> 
> After a reboot I find nothing in the logs, so I can't give you many
> hints on what goes wrong, unfortunately.
>

Once you've got the test set up and running, you can do the alt-ctl-F1
thing to take you out of X and into the vga console.  I suggest you leave
it running that way, see if anything pops up when it hangs.


  reply	other threads:[~2006-10-06 23:54 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 23:36 Jesper Juhl
2006-10-06 23:54 ` Andrew Morton [this message]
2006-10-07  0:06   ` Jesper Juhl
2006-10-07  0:21     ` Jesper Juhl
2006-10-07  3:11 ` Linus Torvalds
2006-10-07 21:02   ` Jesper Juhl
2006-10-07 21:25     ` Linus Torvalds
2006-10-08 23:33       ` Jesper Juhl
2006-10-16 22:45         ` Jesper Juhl
2006-10-16 23:04           ` Linus Torvalds
2006-10-16 23:13             ` Jesper Juhl
2006-10-23 20:30               ` Jesper Juhl
2006-11-22  0:46                 ` Jesper Juhl
2006-11-22  2:36                   ` Linus Torvalds
2006-11-22  3:25                     ` Dave Jones
2006-11-22  3:44                       ` Linus Torvalds
2006-11-22  3:49                         ` Dave Jones
2006-11-22 10:32                           ` Pádraig Brady
2006-11-22 17:58                             ` Dave Jones
2006-11-22  8:03                     ` Jens Axboe
2006-11-22 10:55                       ` Jesper Juhl
2006-11-22 10:57                         ` Jens Axboe
2006-11-22 11:04                           ` Jesper Juhl
2006-11-22 11:07                             ` Jens Axboe
2006-11-23 23:52                               ` Jesper Juhl
2006-11-24  6:52                                 ` Jens Axboe
2006-11-24  9:41                                   ` Jesper Juhl
2006-11-24  9:46                                     ` Jens Axboe
2006-11-24  9:52                                       ` Jesper Juhl
2006-11-23 10:22                             ` Jesper Juhl
2006-11-23 23:48                           ` Jesper Juhl
2006-11-22 11:00                     ` Jesper Juhl
2006-11-24  0:50                     ` Jesper Juhl
2006-10-07  3:40 ` Grant Coady

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=20061006165425.23b326e0.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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®