2002-11-17 03:39:51

by Zwane Mwaikambo

[permalink] [raw]
Subject: 2.5.47 vanilla oops in device_shutdown

Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c024e80c
*pde = 00000000
Oops: 0000

CPU: 0
EIP: 0060:[<c024e80c>] Not tainted
EFLAGS: 00010246
EIP is at device_shutdown+0x6c/0x8c
eax: ffffffff ebx: 00000000 ecx: c05fefb0 edx: 00000000
esi: 4321fedc edi: fee1dead ebp: bffffdb8 esp: c5bf1e9c
ds: 0068 es: 0068 ss: 0068
Process halt (pid: 798, threadinfo=c5bf0000 task=c61d4680)
Stack: 00000000 c0133a27 c0678e28 00000003 00000000 c7fa6040 00000000 00000014
c7fa6040 00000000 c5bf1f40 c013123a 00000014 c5bf1f40 c7fa6040 00000000
c7da8580 c7da8580 c5bf0000 c7fa6040 00000282 c01312b3 00000014 c5bf1f40
Call Trace:
[<c0133a27>] sys_reboot+0x207/0x220
[<c013123a>] __send_sig_info+0x11a/0x130
[<c01312b3>] send_sig_info+0x63/0xc0
[<c0131507>] kill_proc_info+0x57/0x80
[<c01324bc>] sys_kill+0x4c/0x60
[<c015b20c>] __fput+0x12c/0x160
[<c0158c60>] filp_close+0xa0/0xc0
[<c0158d05>] sys_close+0x85/0xc0
[<c010b227>] syscall_call+0x7/0xb

Code: 8b 1b 81 fb a0 ef 5f c0 75 ca b9 b0 ef 5f c0 f0 ff 05 b0 ef

0xc024e80c is in device_shutdown (drivers/base/power.c:86).
81 struct list_head * entry;
82
83 printk(KERN_EMERG "Shutting down devices\n");
84
85 down(&device_sem);
86 list_for_each(entry,&global_device_list) {
87 struct device * dev = to_dev(entry);
88 if (device_present(dev) && dev->driver && dev->driver->shutdown) {
89 pr_debug("shutting down %s\n",dev->name);
90 dev->driver->shutdown(dev);



--
function.linuxpower.ca


2002-11-17 03:43:06

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: 2.5.47 vanilla oops in device_shutdown

Another one, this one for reboot

Unable to handle kernel paging request at virtual address 5a5a5b3a
printing eip:
c024e7c6
*pde = 00000000
Oops: 0000

CPU: 0
EIP: 0060:[<c024e7c6>] Not tainted
EFLAGS: 00010206
EIP is at device_shutdown+0x46/0x8c
eax: 5a5a5a59 ebx: 5a5a5a5a ecx: c05ec330 edx: 00000000
esi: 01234567 edi: fee1dead ebp: bffffdb8 esp: c6207e9c
ds: 0068 es: 0068 ss: 0068
Process reboot (pid: 907, threadinfo=c6206000 task=c6201940)
Stack: 00000000 c0133915 c0664e28 00000001 00000000 c013d6ce 00000000 0000000a
c1570a80 00000000 ffffffff c1570a80 c6243a64 00000800 c1746060 c0147967
c7f9e408 c1746d74 c1491400 c7f9e408 c1746d78 00000296 c0146bde c7f9e408
Call Trace:
[<c0133915>] sys_reboot+0xf5/0x220
[<c013d6ce>] do_no_page+0x1ce/0x3e0
[<c0147967>] cache_free_debugcheck+0x117/0x190
[<c0146bde>] kmem_cache_free+0x2e/0x70
[<c0147967>] cache_free_debugcheck+0x117/0x190
[<c0146bde>] kmem_cache_free+0x2e/0x70
[<c0170f6b>] dput+0x1b/0x160
[<c015b20c>] __fput+0x12c/0x160
[<c0158c60>] filp_close+0xa0/0xc0
[<c0158d05>] sys_close+0x85/0xc0
[<c010b227>] syscall_call+0x7/0xb

Code: 8b 83 e0 00 00 00 48 83 f8 01 77 05 ba 01 00 00 00 85 d2 74

0xc024e7e6 is in device_shutdown (include/linux/device.h:371).
366
367 extern int (*platform_notify_remove)(struct device * dev);
368
369 static inline int device_present(struct device * dev)
370 {
371 return (dev && (dev->state == DEVICE_INITIALIZED || dev->state == DEVICE_REGISTERED));
372 }
373
374 /* device and bus locking helpers.
375 *

--
function.linuxpower.ca