From: Tejun Heo <htejun@gmail.com>
To: Xiaotian Feng <xtfeng@gmail.com>
Cc: Miles Lane <miles.lane@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Alexander Viro <viro@zeniv.linux.org.uk>,
Greg Kroah-Hartman <gregkh@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Cliff Wickman <cpw@sgi.com>
Subject: Re: 2.6.35-rc3 -- kernel BUG at mm/vmalloc.c:216! - invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Date: Thu, 24 Jun 2010 09:15:05 +0200 [thread overview]
Message-ID: <4C2305F9.5010306@gmail.com> (raw)
In-Reply-To: <AANLkTilXIkZM8tHX3QCP9A9LpVbmezaa5_PJdQfVU-w7@mail.gmail.com>
Hello,
On 06/24/2010 07:22 AM, Xiaotian Feng wrote:
> I can reproduce it with the same ...
>
>> [ 1046.984453] kernel BUG at mm/vmalloc.c:216!
>> [ 1046.984463] invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
>> [ 1046.984484] last sysfs file: /sys/devices/system/cpu/cpu1/crash_notes
>> [ 1046.984495] Modules linked in: aes_i586 aes_generic binfmt_misc
>> ipv6 snd_hda_codec_realtek arc4 snd_hda_intel ecb snd_hda_codec ath9k
>> snd_hwdep snd_pcm_oss ath9k_common snd_mixer_oss ath9k_hw snd_pcm
>> snd_seq_dummy ath snd_seq_oss snd_seq_midi snd_rawmidi mac80211
>> snd_seq_midi_event snd_seq snd_timer cfg80211 snd_seq_device rtc_cmos
>> snd rtc_core rtc_lib snd_page_alloc rng_core led_class processor
>> battery ac sg uhci_hcd ehci_hcd sd_mod usbcore thermal
>> [ 1046.984668]
>> [ 1046.984680] Pid: 15038, comm: head Not tainted 2.6.35-rc3 #1 1000HE/1000HE
>> [ 1046.984691] EIP: 0060:[<c10985de>] EFLAGS: 00010246 CPU: 0
>> [ 1046.984705] EIP is at vmalloc_to_page+0x16/0xd1
>> [ 1046.984714] EAX: 00000000 EBX: c1527000 ECX: c6e0b2a8 EDX: f7ffe000
>> [ 1046.984725] ESI: c6e0b2a8 EDI: c133234c EBP: d6645f20 ESP: d6645f18
>> [ 1046.984736] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
>> [ 1046.984748] Process head (pid: 15038, ti=d6645000 task=ca6c6900
>> task.ti=d6645000)
>> [ 1046.984757] Stack:
>> [ 1046.984764] d6644000 c6e0341c d6645f28 c10a3423 d6645f34 c1204bf8
>> c1204bdc d6645f44
>> [ 1046.984800] <0> c1201ebc c93ea400 f70a12c0 d6645f70 c10e594f
>> c112b2df 00002000 bfa194ec
>> [ 1046.984840] <0> 00000000 c93ea414 c133234c e07cd600 bfa194ec
>> c10e58c1 d6645f8c c10a6223
>> [ 1046.984883] Call Trace:
>> [ 1046.984902] [<c10a3423>] ? per_cpu_ptr_to_phys+0x5b/0x74
>> [ 1046.984920] [<c1204bf8>] ? show_crash_notes+0x1c/0x30
It's probably the same bug Cliff Wickman reported.
per_cpu_ptr_to_phys() was using wrong first chunk match logic which
ends up passing wrong addresses to vmalloc_to_page(). I have the
following fix patch queued in percpu#for-linus branch and was waiting
for Linus to come back.
http://git.kernel.org/?p=linux/kernel/git/tj/percpu.git;a=commitdiff_plain;h=9983b6f0cf8263e51bcf4c8a9dc0c1ef175b3c60;hp=a92d3ff9e5dbd958d8008a3e7a573e988e370ca3
Can you please verify the above patch fixes the problem?
Thanks.
--
tejun
next prev parent reply other threads:[~2010-06-24 7:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 5:11 2.6.35-rc3 -- kernel BUG at mm/vmalloc.c:216! - invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Miles Lane
2010-06-24 5:22 ` Xiaotian Feng
2010-06-24 7:15 ` Tejun Heo [this message]
2010-06-24 7:45 ` Xiaotian Feng
2010-06-24 7:50 ` Tejun Heo
2010-06-24 17:00 ` [stable] " Greg KH
2010-06-24 5:30 ` Xiaotian Feng
2010-06-24 5:50 ` Eric Dumazet
2010-06-25 3:27 ` Thomas Fjellstrom
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=4C2305F9.5010306@gmail.com \
--to=htejun@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cpw@sgi.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=miles.lane@gmail.com \
--cc=viro@zeniv.linux.org.uk \
--cc=xtfeng@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.