From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sipsolutions.net (crystal.sipsolutions.net [195.210.38.204]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 74357DDE1C for ; Thu, 29 Nov 2007 00:26:58 +1100 (EST) Subject: Re: NULL dereference in clockevents_program_event From: Johannes Berg To: Thomas Gleixner In-Reply-To: <1195502804.19479.6.camel@johannes.berg> References: <1195502804.19479.6.camel@johannes.berg> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-quWCiOvAks0lV/vvf99N" Date: Wed, 28 Nov 2007 00:52:20 +0100 Message-Id: <1196207540.6058.114.camel@johannes.berg> Mime-Version: 1.0 Cc: linuxppc-dev list , Ingo Molnar , Paul Mackerras , Linux Kernel list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-quWCiOvAks0lV/vvf99N Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > During a hibernate cycle on my G5, while machine was powering down after > saving the image, I just had a NULL dereference in > clockevents_program_event when accessing dev->mode, dev was NULL. >=20 > Unfortunately the machine rebooted before I was able to write down more > than the fact that it was called from tick_program_event(); the problem > doesn't seem to be easily reproducible. >=20 > From what I can see when doing the same thing, the shutdown attempts to > offline all CPUs. Because the snapshot was actually saved to disk and > the machine was shutting down I guess that the it happened at that time, > but I have no idea what else to do to debug this. >=20 > I have >=20 > | CONFIG_HIGH_RES_TIMERS=3Dy > | CONFIG_NO_HZ=3Dy >=20 > in this config. I just got the same or a similar thing again and was able to write down more of the stack dump: NIP clock_events_program_event+0x20 LR tick_program_event+0x64 Stack: hr_timer_interrupt+0x211 timer_interrupt+0xc4 decrementer_common+0x110 johannes --=-quWCiOvAks0lV/vvf99N Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Comment: Johannes Berg (powerbook) iQIVAwUAR0yts6Vg1VMiehFYAQJYZA//cjhZh6nlGykdEVy22iX/daoDFItEtJ1e as1OIvnHZc4HUWzsoLeq8Mjj5cKYJrKObsEPRvTQ4F/8DDNCGD+BEAlreyb5y7o9 G91olSBsyum52lSqMPt8gXKuFGm/S5gnLEXah9I0NV7R5N+6hbCJm7mczSV8dsbr fOiUNYOAMN4y/8pxOdyH1Yfp7m6pdiHpg4ElOpj72JeKBzHni9eMlYDQnNi1bJcB liP43mDA+vgZL1b4beXlXBbd4JUymhHLAkF1lGsihjI6uYzrdj3QEGc7wmSp2Njb vbnEQ5AjDM7rpf0Mk2tymFCVZbaUpnXcWPY5z3rJnPJE56uF6g56780AsjbsDUpe KUM2VKuLIM5dtE4uJtcEiyfWJZHTjkJxF7AxgileOnKBPH8TPCVFKIN4ueKTtGv6 fCvUszHyXOWm/TWWCRFXhHrTvwGksMsiA/5susBn7A6ilytCMuyuVWidQlj9SVmH uRdo9m4T4URFs3S9LgllDrqE7aoWzGUwWzOLWmuccCiXqna5XuridfomRsDYvY0o HE3DRPUFZ0oRZ14LDAhr5WyaJpfBn88kXMFFm/R9JkoT4qp4wUw31PTlSRP6uqZQ P1TSlkSdqsMwWIflHqelhGVVXuH84pavg3DEGlLDSM58JTokXpuIaiEIryEBTKhC pi1rUHPseQ0= =D/Bl -----END PGP SIGNATURE----- --=-quWCiOvAks0lV/vvf99N--