mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Maciej Rutecki" <maciej.rutecki@gmail.com>
To: "Linus Torvalds" <torvalds@linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [Linux 2.6.29-rc2] BUG: using smp_processor_id() in preemptible
Date: Sat, 17 Jan 2009 09:58:47 +0100	[thread overview]
Message-ID: <8db1092f0901170058k325dc6ddtddb42deea1ddd098@mail.gmail.com> (raw)

During suspend to ram:
[  131.287012] BUG: using smp_processor_id() in preemptible [00000000]
code: suspend_to_ram./2958
[  131.287012] caller is retrigger_next_event+0x13/0xb0
[  131.287012] Pid: 2958, comm: suspend_to_ram. Not tainted 2.6.29-rc2 #1
[  131.287012] Call Trace:
[  131.287012]  [<c025b41f>] debug_smp_processor_id+0xbf/0xd0
[  131.287012]  [<c01473b3>] retrigger_next_event+0x13/0xb0
[  131.287012]  [<c01489b7>] raw_notifier_call_chain+0x17/0x20
[  131.287012]  [<c014b938>] timekeeping_resume+0xe8/0x110
[  131.287012]  [<c02cc651>] __sysdev_resume+0x11/0x50
[  131.287012]  [<c02cc6d7>] sysdev_resume+0x47/0x80
[  131.287012]  [<c02d2478>] device_power_up+0x8/0x10
[  131.287012]  [<c0159c7b>] suspend_devices_and_enter+0xeb/0x160
[  131.287012]  [<c015a47f>] freeze_processes+0x4f/0xa0
[  131.287012]  [<c0159e3d>] enter_state+0xfd/0x150
[  131.287012]  [<c0159f1c>] state_store+0x8c/0xd0
[  131.287012]  [<c0159e90>] state_store+0x0/0xd0
[  131.287012]  [<c0250d54>] kobj_attr_store+0x24/0x30
[  131.287012]  [<c01e25d1>] sysfs_write_file+0xa1/0x110
[  131.287012]  [<c01e2530>] sysfs_write_file+0x0/0x110
[  131.287012]  [<c019bf48>] vfs_write+0xa8/0x140
[  131.287012]  [<c019c0b1>] sys_write+0x41/0x80
[  131.287012]  [<c010348d>] sysenter_do_call+0x12/0x21
[  131.287012]  [<c03b0000>] init_cyrix+0x72/0x444
[  131.287012] BUG: using smp_processor_id() in preemptible [00000000]
code: suspend_to_ram./2958
[  131.287012] caller is retrigger_next_event+0x65/0xb0
[  131.287012] Pid: 2958, comm: suspend_to_ram. Not tainted 2.6.29-rc2 #1
[  131.287012] Call Trace:
[  131.287012]  [<c025b41f>] debug_smp_processor_id+0xbf/0xd0
[  131.287012]  [<c0147405>] retrigger_next_event+0x65/0xb0
[  131.287012]  [<c014b938>] timekeeping_resume+0xe8/0x110
[  131.287012]  [<c02cc651>] __sysdev_resume+0x11/0x50
[  131.287012]  [<c02cc6d7>] sysdev_resume+0x47/0x80
[  131.287012]  [<c02d2478>] device_power_up+0x8/0x10
[  131.287012]  [<c0159c7b>] suspend_devices_and_enter+0xeb/0x160
[  131.287012]  [<c015a47f>] freeze_processes+0x4f/0xa0
[  131.287012]  [<c0159e3d>] enter_state+0xfd/0x150
[  131.287012]  [<c0159f1c>] state_store+0x8c/0xd0
[  131.287012]  [<c0159e90>] state_store+0x0/0xd0
[  131.287012]  [<c0250d54>] kobj_attr_store+0x24/0x30
[  131.287012]  [<c01e25d1>] sysfs_write_file+0xa1/0x110
[  131.287012]  [<c01e2530>] sysfs_write_file+0x0/0x110
[  131.287012]  [<c019bf48>] vfs_write+0xa8/0x140
[  131.287012]  [<c019c0b1>] sys_write+0x41/0x80
[  131.287012]  [<c010348d>] sysenter_do_call+0x12/0x21
[  131.287012]  [<c03b0000>] init_cyrix+0x72/0x444

After this system works OK.
config, dmesg:
http://www.unixy.pl/maciek/download/kernel/2.6.29-rc2/pc/
-- 
Maciej Rutecki
http://www.maciek.unixy.pl

             reply	other threads:[~2009-01-17  8:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-17  8:58 Maciej Rutecki [this message]
2009-01-25  2:37 ` Andrew Morton
2009-01-25 11:57   ` Thomas Gleixner
2009-01-25 14:19   ` Maciej Rutecki
2009-01-25 16:30   ` Maciej Rutecki
2009-01-26 16:07 ` Linus Torvalds
2009-01-26 16:53   ` Rafael J. Wysocki
2009-01-26 17:41     ` Ingo Molnar
2009-01-26 19:21       ` Rafael J. Wysocki
2009-01-26 20:35         ` Ingo Molnar
2009-01-26 20:48           ` Rafael J. Wysocki
2009-01-26 21:35             ` Ingo Molnar
2009-01-27 15:28               ` Rafael J. Wysocki
2009-01-27 15:49                 ` Ingo Molnar
2009-01-27 21:18                   ` Rafael J. Wysocki
2009-01-29 15:07                     ` Ingo Molnar
2009-01-29 22:29                       ` Rafael J. Wysocki
2009-01-30 14:06                         ` Ingo Molnar
2009-01-30 21:30                           ` Rafael J. Wysocki

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=8db1092f0901170058k325dc6ddtddb42deea1ddd098@mail.gmail.com \
    --to=maciej.rutecki@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.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®