Skip to contentSkip to conversation

Kernel oops while shutting down (2.6.8rc1)

DISCUSSION Mark Watts 3 participants 10 messages Jul 16, 2004 – Jul 22, 2004 ACPI

lore
Share & tools
lore

Mark Watts

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unable to handle kernel paging requested:

at virtual address d0967287
printing eip:
*pde = 0fe43067
*pte = 00000000

Oops: 0000 [#1]
PREEMPT
Modules linked in: sg st sr_mod sd_mod scsi_mod ide_cd cdrom i830 ipv6 
i810_audio ac97_codec soundcore af_packet usbhid floppy airo_cs ds airo 
pcmcia_core d
CPU:    0
EIP:    0060:[<d0967287>]    Not tainted
EFLAGS: 00010296   (2.6.8-rc1)

EIP is at 0xd0967287
eax: 00000000 ebx: 00375140 ecx: 00000008 edx: 00000001
esi: c1265cf8 edi: 00374366 ebp: c1265c00 esp: c03adfb4
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c03ac000 task=c032ca40)

Stack: 00425007 d0967167 0000007b c03a007b 00000000 c03ac000 0009fb00 c03da120
       00425007 c01040dd 00000006 c03ae7cf c032ca40 00000000 c03d3774 00000018
       c03ae380 c03db580 c010019f
Call Trace:
 [<c01040dd>] cpu_idle+0x2d/0x40
 [<c03ae7cf>] start_kernel+0x18f/0x1d0
 [<c03ae380>] unknown_bootoption+0x0/0x170
Code:  Bad EIP value.

<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA95vIBn4EFUVUIO0RApZ/AKCzO+JbcNW7HdkXSXUP1bjxllskrgCfQYJD 6pp1Hm7AT6GkqDAeP1rvBvU=
=E1mQ
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 26 lines · Mark Watts
Unable to handle kernel paging requested:

at virtual address d0967287
printing eip:
*pde = 0fe43067
*pte = 00000000

Oops: 0000 [#1]
PREEMPT
Modules linked in: sg st sr_mod sd_mod scsi_mod ide_cd cdrom i830 ipv6
i810_audio ac97_codec soundcore af_packet usbhid floppy airo_cs ds airo
pcmcia_core d
CPU:    0
EIP:    0060:[<d0967287>]    Not tainted
EFLAGS: 00010296   (2.6.8-rc1)

EIP is at 0xd0967287
eax: 00000000 ebx: 00375140 ecx: 00000008 edx: 00000001
esi: c1265cf8 edi: 00374366 ebp: c1265c00 esp: c03adfb4
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c03ac000 task=c032ca40)

Stack: 00425007 d0967167 0000007b c03a007b 00000000 c03ac000 0009fb00 c03da120
       00425007 c01040dd 00000006 c03ae7cf c032ca40 00000000 c03d3774 00000018
       c03ae380 c03db580 c010019f
Call Trace:
 [<c01040dd>] cpu_idle+0x2d/0x40
 [<c03ae7cf>] start_kernel+0x18f/0x1d0
 [<c03ae380>] unknown_bootoption+0x0/0x170
Code:  Bad EIP value.
Quoted 2 lines

<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

One of those driver modules probably has a function in the cleanup routine path unloaded/unmapped. Doing a cat /proc/modules before shutting down and taking copying the output would help speed up the search.

author
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 30 lines · Mark Watts
Quoted 26 lines
Unable to handle kernel paging requested:

at virtual address d0967287
printing eip:
*pde = 0fe43067
*pte = 00000000

Oops: 0000 [#1]
PREEMPT
Modules linked in: sg st sr_mod sd_mod scsi_mod ide_cd cdrom i830 ipv6
i810_audio ac97_codec soundcore af_packet usbhid floppy airo_cs ds airo
pcmcia_core d
CPU:    0
EIP:    0060:[<d0967287>]    Not tainted
EFLAGS: 00010296   (2.6.8-rc1)

EIP is at 0xd0967287
eax: 00000000 ebx: 00375140 ecx: 00000008 edx: 00000001
esi: c1265cf8 edi: 00374366 ebp: c1265c00 esp: c03adfb4
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c03ac000 task=c032ca40)

Stack: 00425007 d0967167 0000007b c03a007b 00000000 c03ac000 0009fb00
c03da120 00425007 c01040dd 00000006 c03ae7cf c032ca40 00000000 c03d3774
00000018 c03ae380 c03db580 c010019f
Call Trace:
 [<c01040dd>] cpu_idle+0x2d/0x40
 [<c03ae7cf>] start_kernel+0x18f/0x1d0
 [<c03ae380>] unknown_bootoption+0x0/0x170
Code:  Bad EIP value.
Quoted 2 lines

<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

Quoted 3 lines

One of those driver modules probably has a function in the cleanup routine path unloaded/unmapped. Doing a cat /proc/modules before shutting down and taking copying the output would help speed up the search.

$ /sbin/lsmod
Module                  Size  Used by
sg                     39648  0
st                     41276  0
sr_mod                 18788  0
sd_mod                 22144  0
scsi_mod              119372  4 sg,st,sr_mod,sd_mod
ide_cd                 41984  0
cdrom                  40252  2 sr_mod,ide_cd
i830                   78724  3
ipv6                  266692  16
i810_audio             34132  1
ac97_codec             18828  1 i810_audio
soundcore              10272  2 i810_audio
af_packet              22696  0
usbhid                 45216  0
floppy                 60816  0
thermal                12264  0
processor              17032  1 thermal
fan                     3940  0
button                  6224  0
battery                 8836  0
ac                      4708  0
airo_cs                 7812  0
ds                     18948  3 airo_cs
airo                   75320  1 airo_cs
3c59x                  38280  0
yenta_socket           21728  0
pcmcia_core            64428  3 airo_cs,ds,yenta_socket
intel_agp              19804  1
agpgart                34440  4 intel_agp
uhci_hcd               32592  0
usbcore               116704  4 usbhid,uhci_hcd
rtc                    12760  0
ext3                  123688  2
jbd                    61368  1 ext3

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+4O8Bn4EFUVUIO0RAvjMAJ4uOa+j59soc7ksu8qimNVFKEFCdACfZFMm AJMrFXQMS7ORTRi7Cf0Taq0=
=P0Mv
-----END PGP SIGNATURE-----

author
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 62 lines
Quoted 30 lines · Mark Watts
Quoted 26 lines
Unable to handle kernel paging requested:

at virtual address d0967287
printing eip:
*pde = 0fe43067
*pte = 00000000

Oops: 0000 [#1]
PREEMPT
Modules linked in: sg st sr_mod sd_mod scsi_mod ide_cd cdrom i830 ipv6
i810_audio ac97_codec soundcore af_packet usbhid floppy airo_cs ds airo
pcmcia_core d
CPU:    0
EIP:    0060:[<d0967287>]    Not tainted
EFLAGS: 00010296   (2.6.8-rc1)

EIP is at 0xd0967287
eax: 00000000 ebx: 00375140 ecx: 00000008 edx: 00000001
esi: c1265cf8 edi: 00374366 ebp: c1265c00 esp: c03adfb4
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c03ac000 task=c032ca40)

Stack: 00425007 d0967167 0000007b c03a007b 00000000 c03ac000 0009fb00
c03da120 00425007 c01040dd 00000006 c03ae7cf c032ca40 00000000 c03d3774
00000018 c03ae380 c03db580 c010019f
Call Trace:
 [<c01040dd>] cpu_idle+0x2d/0x40
 [<c03ae7cf>] start_kernel+0x18f/0x1d0
 [<c03ae380>] unknown_bootoption+0x0/0x170
Code:  Bad EIP value.
Quoted 2 lines

<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

Quoted 3 lines

One of those driver modules probably has a function in the cleanup routine path unloaded/unmapped. Doing a cat /proc/modules before shutting down and taking copying the output would help speed up the search.

$ /sbin/lsmod
Module                  Size  Used by
sg                     39648  0
st                     41276  0
sr_mod                 18788  0
sd_mod                 22144  0
scsi_mod              119372  4 sg,st,sr_mod,sd_mod
ide_cd                 41984  0
cdrom                  40252  2 sr_mod,ide_cd
i830                   78724  3
ipv6                  266692  16
i810_audio             34132  1
ac97_codec             18828  1 i810_audio
soundcore              10272  2 i810_audio
af_packet              22696  0
usbhid                 45216  0
floppy                 60816  0
thermal                12264  0
processor              17032  1 thermal
fan                     3940  0
button                  6224  0
battery                 8836  0
ac                      4708  0
airo_cs                 7812  0
ds                     18948  3 airo_cs
airo                   75320  1 airo_cs
3c59x                  38280  0
yenta_socket           21728  0
Quoted 8 lines
pcmcia_core            64428  3 airo_cs,ds,yenta_socket
intel_agp              19804  1
agpgart                34440  4 intel_agp
uhci_hcd               32592  0
usbcore               116704  4 usbhid,uhci_hcd
rtc                    12760  0
ext3                  123688  2
jbd                    61368  1 ext3

Sorry - read that as 'run lsmod'

$ cat /proc/modules
sg 39648 0 - Live 0xd0d51000
st 41276 0 - Live 0xd0d20000
sr_mod 18788 0 - Live 0xd0cef000
sd_mod 22144 0 - Live 0xd0d0c000
scsi_mod 119372 4 sg,st,sr_mod,sd_mod, Live 0xd0d32000
ide_cd 41984 0 - Live 0xd0d00000
cdrom 40252 2 sr_mod,ide_cd, Live 0xd0cf5000
i830 78724 3 - Live 0xd09fc000
ipv6 266692 16 - Live 0xd0a32000
i810_audio 34132 1 - Live 0xd09dc000
ac97_codec 18828 1 i810_audio, Live 0xd09a6000
soundcore 10272 2 i810_audio, Live 0xd0987000
af_packet 22696 0 - Live 0xd097a000
usbhid 45216 0 - Live 0xd09c4000
floppy 60816 0 - Live 0xd09b4000
thermal 12264 0 - Live 0xd0950000
processor 17032 1 thermal, Live 0xd0981000
fan 3940 0 - Live 0xd0978000
button 6224 0 - Live 0xd0960000
battery 8836 3 - Live 0xd0974000
ac 4708 0 - Live 0xd095d000
airo_cs 7812 0 - Live 0xd0954000
ds 18948 3 airo_cs, Live 0xd0957000
airo 75320 1 airo_cs, Live 0xd098b000
3c59x 38280 0 - Live 0xd0845000
yenta_socket 21728 0 - Live 0xd0832000
pcmcia_core 64428 3 airo_cs,ds,yenta_socket, Live 0xd0963000
intel_agp 19804 1 - Live 0xd0809000
agpgart 34440 4 intel_agp, Live 0xd0839000
uhci_hcd 32592 0 - Live 0xd0814000
usbcore 116704 4 usbhid,uhci_hcd, Live 0xd0871000
rtc 12760 0 - Live 0xd080f000
ext3 123688 2 - Live 0xd0851000
jbd 61368 1 ext3, Live 0xd081d000

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+4TKBn4EFUVUIO0RAu47AJwKszjGgvJnWtJAxgaCWS/z9welzACgntTj zHLlTY7CesO/SW9ty6bbtDo=
=FtVR
-----END PGP SIGNATURE-----

#5 lore raw
Quoted 6 lines · Zwane Mwaikambo
Quoted 1 line · Mark Watts

Sorry - read that as 'run lsmod'

No problem, i seem to have fired off a premature email too, i'll eyeball the patches on the bugzilla report (http://bugme.osdl.org/process_bug.cgi).

Does the following patch work for you?

Index: linux-2.6.8-rc1-mm1/drivers/acpi/processor.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc1-mm1/drivers/acpi/processor.c,v retrieving revision 1.1.1.1

drivers/acpi/processor.c +3 -1
diff -u -p -B -r1.1.1.1 processor.c
@@ -2372,8 +2372,10 @@ acpi_processor_remove (
 	pr = (struct acpi_processor *) acpi_driver_data(device);
 
 	/* Unregister the idle handler when processor #0 is removed. */
-	if (pr->id == 0)
+	if (pr->id == 0) {
 		pm_idle = pm_idle_save;
+		synchronize_kernel();
+	}
 
 	status = acpi_remove_notify_handler(pr->handle, ACPI_DEVICE_NOTIFY,
 		acpi_processor_notify);
author
#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 19 lines · Zwane Mwaikambo
Quoted 6 lines · Mark Watts
Quoted 1 line

Sorry - read that as 'run lsmod'

No problem, i seem to have fired off a premature email too, i'll eyeball the patches on the bugzilla report
(http://bugme.osdl.org/process_bug.cgi).

Does the following patch work for you?

Index: linux-2.6.8-rc1-mm1/drivers/acpi/processor.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc1-mm1/drivers/acpi/processor.c,v retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 processor.c
--- linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 14 Jul 2004 04:56:25
-0000 1.1.1.1 +++ linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 20 Jul 2004
15:31:46 -0000 @@ -2372,8 +2372,10 @@ acpi_processor_remove (

drivers/acpi/processor.c +0 -0
 	pr = (struct acpi_processor *) acpi_driver_data(device);

drivers/acpi/processor.c acpi_processor_remove ( · line 2381

Quoted 10 lines
drivers/acpi/processor.c +3 -1
 
 	/* Unregister the idle handler when processor #0 is removed. */
-	if (pr->id == 0)
+	if (pr->id == 0) {
 		pm_idle = pm_idle_save;
+		synchronize_kernel();
+	}
 
 	status = acpi_remove_notify_handler(pr->handle, ACPI_DEVICE_NOTIFY,
 		acpi_processor_notify);

I don't have access to the laptop currently, but I'l test as soon as I do.

Cheers,

Mark.

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/h4VBn4EFUVUIO0RAgb1AKDOT68JvTISJDnhFhEN7Fk0nwyMwACg6kgo DVpyL9BKJ1q6bI5duD7fMrA=
=bYGq
-----END PGP SIGNATURE-----

author
#7 lore raw
In reply to Zwane Mwaikambo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had to apply it by hand for some reason (I'm not running -mm1 if that makes a difference), but it's fixed the problem :)

Many Thanks

Mark.

Quoted 30 lines · Zwane Mwaikambo
Quoted 6 lines · Mark Watts
Quoted 1 line

Sorry - read that as 'run lsmod'

No problem, i seem to have fired off a premature email too, i'll eyeball the patches on the bugzilla report
(http://bugme.osdl.org/process_bug.cgi).

Does the following patch work for you?

Index: linux-2.6.8-rc1-mm1/drivers/acpi/processor.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc1-mm1/drivers/acpi/processor.c,v retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 processor.c
--- linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 14 Jul 2004 04:56:25
-0000 1.1.1.1 +++ linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 20 Jul 2004
15:31:46 -0000 @@ -2372,8 +2372,10 @@ acpi_processor_remove (

drivers/acpi/processor.c +3 -2
 	pr = (struct acpi_processor *) acpi_driver_data(device);
 
 	/* Unregister the idle handler when processor #0 is removed. */
-	if (pr->id == 0)
+	if (pr->id == 0) {
 		pm_idle = pm_idle_save;
+		synchronize_kernel();
+	}
 
 	status = acpi_remove_notify_handler(pr->handle, ACPI_DEVICE_NOTIFY,
 		acpi_processor_notify);
-
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/46xBn4EFUVUIO0RAqbTAKD6KO90X0tpXtubYBkINf318F0sngCg6nwG PtDz94xRmVoLtWedN35VwRw=
=JXmv
-----END PGP SIGNATURE-----

#8 lore raw
Quoted 4 lines · Mark Watts

I had to apply it by hand for some reason (I'm not running -mm1 if that makes a difference), but it's fixed the problem :)

Many Thanks

Thank you for confirming that, and it seems to have taken care of the report on bugzilla too. The previous fix on bugzilla, i feel, is too complex. I'll get this one applied.

Ta,
Zwane

#9 lore raw
In reply to Mark Watts
Quoted 5 lines · Mark Watts
Quoted 3 lines

One of those driver modules probably has a function in the cleanup routine path unloaded/unmapped. Doing a cat /proc/modules before shutting down and taking copying the output would help speed up the search.

$ /sbin/lsmod

I really meant /proc/modules