From: Mike Lykov <combr@yandex.ru>
To: Don Zickus <dzickus@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org,
kirill@shutemov.name
Subject: Re: [BUG?] false positive in soft lockup detector while unlzma initramfs on slow cpu
Date: Thu, 31 Jan 2013 15:21:02 +0400 [thread overview]
Message-ID: <510A539E.7020105@yandex.ru> (raw)
In-Reply-To: <20130130154033.GE98867@redhat.com>
30.01.2013 19:40, Don Zickus пишет:
> I have never seen usage like 'kernel.watchdog_thresh=30'. Could you try
> 'watchdog_thresh=30' instead?
Ok. "kernel.watchdog_thresh=30" is a sysctl presentation, i mixed them
wrongly.
Your patch about cmd support for 'watchdog_thresh=30' working. I tested
it: parameter applies and lzma -9 initramfs loading successfully.
If I delete parameter from cmdline - same kernel not boot.
> I also attached another patch as suggested by Andrew to add a
> touch_softlockup_watchdog in the unlzma routine. Probably makes things
> run a little slower. Compiled tested only.
In my case (3.2.32) it cannot compile:
LD arch/x86/boot/compressed/vmlinux
arch/x86/boot/compressed/misc.o: In function `decompress_kernel':
misc.c:(.text+0x993): undefined reference to `touch_softlockup_watchdog'
---
Mike
>
> Cheers,
> Don
>
> diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c
> index 32adb73..313f4fa 100644
> --- a/lib/decompress_unlzma.c
> +++ b/lib/decompress_unlzma.c
> @@ -36,6 +36,7 @@
> #endif /* STATIC */
>
> #include<linux/decompress/mm.h>
> +#include<linux/nmi.h>
>
> #define MIN(a, b) (((a)< (b)) ? (a) : (b))
>
> @@ -648,6 +649,7 @@ STATIC inline int INIT unlzma(unsigned char *buf,
int in_len,
> }
> if (rc.buffer_size<= 0)
> goto exit_3;
> + touch_softlockup_watchdog();
> }
>
> if (posp)
next prev parent reply other threads:[~2013-01-31 11:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 13:42 [BUG?] false positive in soft lockup detector while unlzma initramfs on slow cpu Mike Lykov
2013-01-29 15:33 ` Don Zickus
2013-01-29 17:18 ` anish kumar
2013-01-30 15:51 ` Don Zickus
2013-01-30 15:59 ` anish kumar
2013-01-29 23:59 ` Andrew Morton
2013-01-31 11:18 ` Ingo Molnar
2013-01-30 9:39 ` Mike Lykov
2013-01-30 15:40 ` Don Zickus
2013-01-31 11:21 ` Mike Lykov [this message]
2013-01-31 14:46 ` Don Zickus
2013-02-01 10:44 ` Mike Lykov
2013-02-01 15:59 ` Don Zickus
2013-02-01 16:43 ` Mike Lykov
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=510A539E.7020105@yandex.ru \
--to=combr@yandex.ru \
--cc=akpm@linux-foundation.org \
--cc=dzickus@redhat.com \
--cc=kirill@shutemov.name \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/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