Badness in kobject_get at lib/kobject.c:439
Quoted 10 lines · Svetoslav Slavtchev
Quoted 5 lines
Call Trace: [<c017fb84>] [<c01991f2>] [<c01995b4>] [<c01dd15d>][<
c01cbabc>]
[<c01cbca8>] [<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>]
[<c01091f1>]Can you enable
CONFIG_KALLSYMSin your .config, rebuild, and then report the decoded oops message?
Quoted 6 lines
Also a copy of your .config you are using that generates this would be appreciated.
Odds are you are using a misc driver that happens to be calling
misc_register()beforemisc_init()gets called. Others are reporting this issue with the rtc driver on ppc64 boxes.
here it comes
best,
svetljo
Signature · 2 lines
+++ GMX - die erste Adresse für Mail, Message, More +++ Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
ksymoops 2.4.9 on i686 2.6.0-ruby_t11_5vcs. Options used
-v rpm/BUILD/kernel-ruby/tmp/vmlinux (specified) -K (specified)
-l /proc/modules (default)
-o /lib/modules/2.6.0-t11r5misc/ (specified) -m /boot/System.map-2.6.0-t11r5misc (specified)
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Machine check exception polling timer started.
Call Trace: [<c01997c4>] [<c01dcea3>] [<c01dd137>] [<c01cbabc>] [<c01cbca8>] [<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091f1>] Unable to handle kernel NULL pointer dereference at virtual address 00000008 c017fab3 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<c017fab3>] Not tainted VLI
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010282
eax: c1a37f28 ebx: c1bee994 ecx: c03182e8 edx: 00000000
esi: 00000000 edi: c1a37f28 ebp: c1a37f10 esp: c1a37f04
ds: 007b es: 007b ss: 0068
Stack: c1bee994 c1bee994 c03182a0 c1a37f30 c017fb84 c1bee994 00000000 c1bee998
c1a37f28 00000000 00000000 c1a37f44 c01991f2 c1bee994 c1bee994 c03122f4
c1a37f5c c01995b4 c1bee994 c03122e0 c1bee994 c1bee9dd c1a37f78 c01dd15d
Call Trace: [<c017fb84>] [<c01991f2>] [<c01995b4>] [<c01dd15d>] [<c01cbabc>]
[<c01cbca8>] [<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091
Code: f8 ff eb b6 55 89 e5 8b 45 08 ff 40 24 c7 40 78 c0 51 2e c0 c7 40 7c 60 51Trace; c01997c4 <idr_get_new+1e/1c8>
Trace; c01dcea3 <detach_show+f/1b>
Trace; c01dd137 <bus_for_each_drv+9d/a4>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Trace; c01091f1 <show_regs+f0/fb>
Quoted 8 lines
Quoted 8 lines
EIP;
c017fab3<efi_partition+49/216> <=====eax;
c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebx;c1bee994<__crc_mpage_writepages+16c3c/444f1> ecx;c03182e8<serial_pci_tbl+4e8/ae0>
edi;c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebp;c1a37f10<__crc_unregister_chrdev+10aa7f/2aa8c7> esp;c1a37f04<__crc_unregister_chrdev+10aa73/2aa8c7>
Trace; c017fb84 <efi_partition+11a/216>
Trace; c01991f2 <setkey+cc/415>
Trace; c01995b4 <des3_ede_setkey+43/68>
Trace; c01dd15d <device_bind_driver+1f/36>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Code; c017fab3 <efi_partition+49/216>
00000000 <_EIP>:
Code; c017fab3 <efi_partition+49/216> <=====
0: f8 clc <=====
Code; c017fab4 <efi_partition+4a/216>
1: ff eb ljmp *%ebx
Code; c017fab6 <efi_partition+4c/216>
3: b6 55 mov $0x55,%dh
Code; c017fab8 <efi_partition+4e/216>
5: 89 e5 mov %esp,%ebp
Code; c017faba <efi_partition+50/216>
7: 8b 45 08 mov 0x8(%ebp),%eax
Code; c017fabd <efi_partition+53/216>
a: ff 40 24 incl 0x24(%eax)
Code; c017fac0 <efi_partition+56/216>
d: c7 40 78 c0 51 2e c0 movl $0xc02e51c0,0x78(%eax)
Code; c017fac7 <efi_partition+5d/216>
14: c7 40 7c 60 51 00 00 movl $0x5160,0x7c(%eax)
<0>Kernel panic: Attempted to kill init!
Machine check exception polling timer started.
Call Trace: [<c01997c4>] [<c01dcea3>] [<c01dd137>] [<c01cbabc>] [<c01cbca8>]
[<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091f1>]
Unable to handle kernel NULL pointer dereference at virtual address 00000008
c017fab3
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c017fab3>] Not tainted VLI
EFLAGS: 00010282
eax: c1a37f28 ebx: c1bee994 ecx: c03182e8 edx: 00000000
esi: 00000000 edi: c1a37f28 ebp: c1a37f10 esp: c1a37f04
ds: 007b es: 007b ss: 0068
Stack: c1bee994 c1bee994 c03182a0 c1a37f30 c017fb84 c1bee994 00000000 c1bee998
c1a37f28 00000000 00000000 c1a37f44 c01991f2 c1bee994 c1bee994 c03122f4
c1a37f5c c01995b4 c1bee994 c03122e0 c1bee994 c1bee9dd c1a37f78 c01dd15d
Call Trace: [<c017fb84>] [<c01991f2>] [<c01995b4>] [<c01dd15d>] [<c01cbabc>]
[<c01cbca8>] [<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091
Code: f8 ff eb b6 55 89 e5 8b 45 08 ff 40 24 c7 40 78 c0 51 2e c0 c7 40 7c 60 51Trace; c01997c4 <idr_get_new+1e/1c8>
Trace; c01dcea3 <detach_show+f/1b>
Trace; c01dd137 <bus_for_each_drv+9d/a4>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Trace; c01091f1 <show_regs+f0/fb>
Quoted 8 lines
Quoted 8 lines
EIP;
c017fab3<efi_partition+49/216> <=====eax;
c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebx;c1bee994<__crc_mpage_writepages+16c3c/444f1> ecx;c03182e8<serial_pci_tbl+4e8/ae0>
edi;c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebp;c1a37f10<__crc_unregister_chrdev+10aa7f/2aa8c7> esp;c1a37f04<__crc_unregister_chrdev+10aa73/2aa8c7>
Trace; c017fb84 <efi_partition+11a/216>
Trace; c01991f2 <setkey+cc/415>
Trace; c01995b4 <des3_ede_setkey+43/68>
Trace; c01dd15d <device_bind_driver+1f/36>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Code; c017fab3 <efi_partition+49/216>
00000000 <_EIP>:
Code; c017fab3 <efi_partition+49/216> <=====
0: f8 clc <=====
Code; c017fab4 <efi_partition+4a/216>
1: ff eb ljmp *%ebx
Code; c017fab6 <efi_partition+4c/216>
3: b6 55 mov $0x55,%dh
Code; c017fab8 <efi_partition+4e/216>
5: 89 e5 mov %esp,%ebp
Code; c017faba <efi_partition+50/216>
7: 8b 45 08 mov 0x8(%ebp),%eax
Code; c017fabd <efi_partition+53/216>
a: ff 40 24 incl 0x24(%eax)
Code; c017fac0 <efi_partition+56/216>
d: c7 40 78 c0 51 2e c0 movl $0xc02e51c0,0x78(%eax)
Code; c017fac7 <efi_partition+5d/216>
14: c7 40 7c 60 51 00 00 movl $0x5160,0x7c(%eax)
<0>Kernel panic: Attempted to kill init!
Machine check exception polling timer started.
Call Trace: [<c01997c4>] [<c01dcea3>] [<c01dd137>] [<c01cbabc>] [<c01cbca8>]
[<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091f1>]
Unable to handle kernel NULL pointer dereference at virtual address 00000008
c017fab3
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c017fab3>] Not tainted VLI
EFLAGS: 00010282
eax: c1a37f28 ebx: c1bee994 ecx: c03182e8 edx: 00000000
esi: 00000000 edi: c1a37f28 ebp: c1a37f10 esp: c1a37f04
ds: 007b es: 007b ss: 0068
Stack: c1bee994 c1bee994 c03182a0 c1a37f30 c017fb84 c1bee994 00000000 c1bee998
c1a37f28 00000000 00000000 c1a37f44 c01991f2 c1bee994 c1bee994 c03122f4
c1a37f5c c01995b4 c1bee994 c03122e0 c1bee994 c1bee9dd c1a37f78 c01dd15d
Call Trace: [<c017fb84>] [<c01991f2>] [<c01995b4>] [<c01dd15d>] [<c01cbabc>]
[<c01cbca8>] [<c0337fd8>] [<c03306ce>] [<c01050b4>] [<c0105082>] [<c01091
Code: f8 ff eb b6 55 89 e5 8b 45 08 ff 40 24 c7 40 78 c0 51 2e c0 c7 40 7c 60 51Trace; c01997c4 <idr_get_new+1e/1c8>
Trace; c01dcea3 <detach_show+f/1b>
Trace; c01dd137 <bus_for_each_drv+9d/a4>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Trace; c01091f1 <show_regs+f0/fb>
Quoted 8 lines
Quoted 8 lines
EIP;
c017fab3<efi_partition+49/216> <=====eax;
c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebx;c1bee994<__crc_mpage_writepages+16c3c/444f1> ecx;c03182e8<serial_pci_tbl+4e8/ae0>
edi;c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebp;c1a37f10<__crc_unregister_chrdev+10aa7f/2aa8c7> esp;c1a37f04<__crc_unregister_chrdev+10aa73/2aa8c7>
Trace; c017fb84 <efi_partition+11a/216>
Trace; c01991f2 <setkey+cc/415>
Trace; c01995b4 <des3_ede_setkey+43/68>
Trace; c01dd15d <device_bind_driver+1f/36>
Trace; c01cbabc <n_tty_ioctl+276/39e>
Trace; c01cbca8 <pty_close+c4/fa>
Trace; c0337fd8 <kallsyms_names+99d4/1f9fc>
Trace; c03306ce <kallsyms_names+20ca/1f9fc>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Code; c017fab3 <efi_partition+49/216>
00000000 <_EIP>:
Code; c017fab3 <efi_partition+49/216> <=====
0: f8 clc <=====
Code; c017fab4 <efi_partition+4a/216>
1: ff eb ljmp *%ebx
Code; c017fab6 <efi_partition+4c/216>
3: b6 55 mov $0x55,%dh
Code; c017fab8 <efi_partition+4e/216>
5: 89 e5 mov %esp,%ebp
Code; c017faba <efi_partition+50/216>
7: 8b 45 08 mov 0x8(%ebp),%eax
Code; c017fabd <efi_partition+53/216>
a: ff 40 24 incl 0x24(%eax)
Code; c017fac0 <efi_partition+56/216>
d: c7 40 78 c0 51 2e c0 movl $0xc02e51c0,0x78(%eax)
Code; c017fac7 <efi_partition+5d/216>
14: c7 40 7c 60 51 00 00 movl $0x5160,0x7c(%eax)
<0>Kernel panic: Attempted to kill init!
Machine check exception polling timer started.
Call Trace:
[<c019a1f4>] kobject_get+0x30/0x3d
[<c01dd8d3>] class_get+0x1a/0x2c
[<c01ddb67>] class_device_add+0x41/0x110
[<c01cc4ec>] misc_add_class_device+0x63/0xc6
[<c01cc6d8>] misc_register+0xeb/0x120
[<c0361fd8>] apm_init+0x2ec/0x324
[<c035a6ce>] do_initcalls+0x35/0x87
[<c01050b4>] init+0x32/0x10e
[<c0105082>] init+0x0/0x10e
[<c0109201>] kernel_thread_helper+0x5/0xb
Unable to handle kernel NULL pointer dereference at virtual address 00000008
c01804e3
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c01804e3>] Not tainted VLI
EFLAGS: 00010286
eax: c1a37f28 ebx: c1bee994 ecx: c0318e08 edx: 00000000
esi: 00000000 edi: c1a37f28 ebp: c1a37f10 esp: c1a37f04
ds: 007b es: 007b ss: 0068
Stack: c1bee994 c1bee994 c0318dc0 c1a37f30 c01805b4 c1bee994 00000000 c1bee998
c1a37f28 00000000 00000000 c1a37f44 c0199c22 c1bee994 c1bee994 c0312e14
c1a37f5c c0199fe4 c1bee994 c0312e00 c1bee994 c1bee9dd c1a37f78 c01ddb8d
Call Trace:
[<c01805b4>] sysfs_create_dir+0x4d/0x63
[<c0199c22>] create_dir+0x15/0x39
[<c0199fe4>] kobject_add+0x9a/0xfa
[<c01ddb8d>] class_device_add+0x67/0x110
[<c01cc4ec>] misc_add_class_device+0x63/0xc6
[<c01cc6d8>] misc_register+0xeb/0x120
[<c0361fd8>] apm_init+0x2ec/0x324
[<c035a6ce>] do_initcalls+0x35/0x87
[<c01050b4>] init+0x32/0x10e
[<c0105082>] init+0x0/0x10e
[<c0109201>] kernel_thread_helper+0x5/0xb
Code: f8 ff eb b6 55 89 e5 8b 45 08 ff 40 24 c7 40 78 c0 5c 2e c0 c7 40 7c 60 5cTrace; c019a1f4 <kobject_get+30/3d>
Trace; c01dd8d3 <class_get+1a/2c>
Trace; c01ddb67 <class_device_add+41/110>
Trace; c01cc4ec <misc_add_class_device+63/c6> Trace; c01cc6d8 <misc_register+eb/120>
Trace; c0361fd8 <apm_init+2ec/324>
Trace; c035a6ce <do_initcalls+35/87>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Trace; c0109201 <kernel_thread_helper+5/b>
Quoted 8 lines
Quoted 8 lines
EIP;
c01804e3<create_dir+c/79> <=====eax;
c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebx;c1bee994<__crc_mpage_writepages+16c3c/444f1> ecx;c0318e08<class_obj_subsys+48/60>
edi;c1a37f28<__crc_unregister_chrdev+10aa97/2aa8c7> ebp;c1a37f10<__crc_unregister_chrdev+10aa7f/2aa8c7> esp;c1a37f04<__crc_unregister_chrdev+10aa73/2aa8c7>
Trace; c01805b4 <sysfs_create_dir+4d/63>
Trace; c0199c22 <create_dir+15/39>
Trace; c0199fe4 <kobject_add+9a/fa>
Trace; c01ddb8d <class_device_add+67/110>
Trace; c01cc4ec <misc_add_class_device+63/c6> Trace; c01cc6d8 <misc_register+eb/120>
Trace; c0361fd8 <apm_init+2ec/324>
Trace; c035a6ce <do_initcalls+35/87>
Trace; c01050b4 <init+32/10e>
Trace; c0105082 <init+0/10e>
Trace; c0109201 <kernel_thread_helper+5/b>
Code; c01804e3 <create_dir+c/79>
00000000 <_EIP>:
Code; c01804e3 <create_dir+c/79> <=====
0: f8 clc <=====
Code; c01804e4 <create_dir+d/79>
1: ff eb ljmp *%ebx
Code; c01804e6 <create_dir+f/79>
3: b6 55 mov $0x55,%dh
Code; c01804e8 <create_dir+11/79>
5: 89 e5 mov %esp,%ebp
Code; c01804ea <create_dir+13/79>
7: 8b 45 08 mov 0x8(%ebp),%eax
Code; c01804ed <create_dir+16/79>
a: ff 40 24 incl 0x24(%eax)
Code; c01804f0 <create_dir+19/79>
d: c7 40 78 c0 5c 2e c0 movl $0xc02e5cc0,0x78(%eax)
Code; c01804f7 <create_dir+20/79>
14: c7 40 7c 60 5c 00 00 movl $0x5c60,0x7c(%eax)
<0>Kernel panic: Attempted to kill init!
Quoted 7 lines · Svetoslav Slavtchev
Call Trace: [<c019a1f4>] kobject_get+0x30/0x3d [<c01dd8d3>] class_get+0x1a/0x2c [<c01ddb67>] class_device_add+0x41/0x110 [<c01cc4ec>] misc_add_class_device+0x63/0xc6 [<c01cc6d8>] misc_register+0xeb/0x120 [<c0361fd8>] apm_init+0x2ec/0x324
Hm, here's the problem. Can you disable APM and see if the oops goes away? I bet apm_init() is being called before misc_init() is.
If you don't want to disable APM (and you should not have to) can you apply the patch below to misc.c and let me know if it fixes your problem or not?
thanks,
greg k-h
drivers/char/misc.c +1 -1
@@ -407,4 +407,4 @@ }return 0 ; } -module_init (misc_init); +subsys_initcall (misc_init);