From: Maciej Rutecki <maciej.rutecki@gmail.com>
To: Yong Zhang <yong.zhang0@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
clemens@ladisch.de, venkatesh.pallipadi@intel.com,
gregkh@suse.de
Subject: Re: [2.6.31-git17] WARNING: at kernel/hrtimer.c:648 hres_timers_resume+0x40/0x50()/WARNING: at drivers/base/sys.c:353 __sysdev_resume+0xc3/0xe0()
Date: Sun, 27 Sep 2009 12:25:47 +0200 [thread overview]
Message-ID: <8db1092f0909270325j67825cem82fc93cf19336d6f@mail.gmail.com> (raw)
In-Reply-To: <2674af740909270130h359a5d23taa7e8b63e6a18a4d@mail.gmail.com>
2009/9/27 Yong Zhang <yong.zhang0@gmail.com>:
>
> Oops, TABLE is corrupted. Please use the attachment.
kernel/time/timekeeping.c: In function ‘timekeeping_resume’:
kernel/time/timekeeping.c:577: error: ‘xtime_locks’ undeclared (first
use in this function)
kernel/time/timekeeping.c:577: error: (Each undeclared identifier is
reported only once
kernel/time/timekeeping.c:577: error: for each function it appears
in.)
make[3]: *** [kernel/time/timekeeping.o] Błąd 1
make[2]: *** [kernel/time] Błąd 2
I change:
write_seqlock(&xtime_locks);
to:
write_seqlock(&xtime_lock);
Corrected patch in attachment.
First warning has gone, but still I have this:
[ 120.868049] SMP alternatives: switching to UP code
[ 120.872570] CPU0 attaching NULL sched-domain.
[ 120.872574] CPU1 attaching NULL sched-domain.
[ 120.872581] CPU0 attaching NULL sched-domain.
[ 120.872787] CPU1 is down
[ 120.872846] Extended CMOS year: 2000
[ 120.872945] PM: Creating hibernation image:
[ 120.876009] PM: Need to copy 107120 pages
[ 120.872009] PM: Restoring platform NVS memory
[ 120.872009] CPU0: Thermal monitoring handled by SMI
[ 120.872009] Extended CMOS year: 2000
[ 120.872009] ------------[ cut here ]------------
[ 120.872009] WARNING: at drivers/base/sys.c:353
__sysdev_resume+0xc3/0xe0()
[ 120.872009] Hardware name: HP Compaq nx6310 (EY501ES#AKD)
[ 120.872009] Interrupts enabled after timekeeping_resume+0x0/0x1c0
[ 120.872009] Modules linked in: i915 drm_kms_helper drm i2c_algo_bit
i2c_core sco bnep rfcomm l2cap crc16 xt_tcpudp xt_limit xt_state
iptable_filter nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables
x_tables aes_i586 aes_generic cbc dm_crypt dm_snapshot dm_mirror
dm_region_hash dm_log dm_mod hp_wmi fuse sbp2 loop
snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy arc4 snd_seq_oss ecb
snd_seq_midi snd_rawmidi iwl3945 snd_seq_midi_event iwlcore btusb
firmware_class snd_seq bluetooth snd_timer mac80211 pcmcia
snd_seq_device led_class b44 video ohci1394 backlight ssb rtc_cmos snd
yenta_socket cfg80211 intel_agp soundcore rsrc_nonstatic uhci_hcd
ehci_hcd rtc_core usbcore psmouse snd_page_alloc agpgart pcmcia_core
rfkill rtc_lib ieee1394 sg output evdev serio_raw mii fan button ac
battery
[ 120.872009] Pid: 3510, comm: pm-hibernate Not tainted 2.6.31-git17
#1
[ 120.872009] Call Trace:
[ 120.872009] [<c030f4a3>] ? __sysdev_resume+0xc3/0xe0
[ 120.872009] [<c030f4a3>] ? __sysdev_resume+0xc3/0xe0
[ 120.872009] [<c013c3a1>] warn_slowpath_common+0x71/0xc0
[ 120.872009] [<c030f4a3>] ? __sysdev_resume+0xc3/0xe0
[ 120.872009] [<c013c43b>] warn_slowpath_fmt+0x2b/0x30
[ 120.872009] [<c030f4a3>] __sysdev_resume+0xc3/0xe0
[ 120.872009] [<c015f810>] ? timekeeping_resume+0x0/0x1c0
[ 120.872009] [<c030f50f>] sysdev_resume+0x4f/0xc0
[ 120.872009] [<c0176909>] ? hibernate_nvs_restore+0x19/0x60
[ 120.872009] [<c0172ac1>] hibernation_snapshot+0x1d1/0x210
[ 120.872009] [<c0171b54>] ? freeze_processes+0x44/0xa0
[ 120.872009] [<c0172bef>] hibernate+0xef/0x190
[ 120.872009] [<c0171590>] ? state_store+0x0/0xc0
[ 120.872009] [<c017163b>] state_store+0xab/0xc0
[ 120.872009] [<c0171590>] ? state_store+0x0/0xc0
[ 120.872009] [<c0285e04>] kobj_attr_store+0x24/0x30
[ 120.872009] [<c0223d82>] sysfs_write_file+0xa2/0x100
[ 120.872009] [<c01d880c>] vfs_write+0x9c/0x150
[ 120.872009] [<c0223ce0>] ? sysfs_write_file+0x0/0x100
[ 120.872009] [<c01d8982>] sys_write+0x42/0x70
[ 120.872009] [<c0102f04>] sysenter_do_call+0x12/0x22
[ 120.872009] ---[ end trace 51d3cc987b340170 ]---
[ 120.872009] Enabling non-boot CPUs ...
[ 120.872009] SMP alternatives: switching to SMP code
Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl
next prev parent reply other threads:[~2009-09-27 10:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-27 8:05 Maciej Rutecki
2009-09-27 8:27 ` Yong Zhang
2009-09-27 8:30 ` Yong Zhang
2009-09-27 10:25 ` Maciej Rutecki [this message]
2009-09-27 14:01 ` Yong Zhang
2009-09-27 14:49 ` Yong Zhang
2009-09-27 15:40 ` Rafael J. Wysocki
2009-09-27 16:16 ` Maciej Rutecki
2009-09-27 18:17 ` Rafael J. Wysocki
2009-09-28 1:54 ` Yong Zhang
2009-09-28 18:38 ` Maciej Rutecki
2009-09-28 20:08 ` Maciej Rutecki
2009-09-28 21:13 ` Rafael J. Wysocki
2009-09-29 5:44 ` Yong Zhang
2009-09-27 15:46 ` Rafael J. Wysocki
2009-09-28 1:53 ` Yong Zhang
2009-09-29 7:24 ` Ingo Molnar
2009-09-29 9:31 ` Yong Zhang
2009-09-30 7:50 ` Michal Schmidt
2009-09-30 8:01 ` Yong Zhang
2009-09-30 8:20 ` Michal Schmidt
2009-09-30 8:27 ` Yong Zhang
2009-09-29 14:38 ` Maciej Rutecki
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=8db1092f0909270325j67825cem82fc93cf19336d6f@mail.gmail.com \
--to=maciej.rutecki@gmail.com \
--cc=clemens@ladisch.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=venkatesh.pallipadi@intel.com \
--cc=yong.zhang0@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 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®