Bug 783561
Summary: | pti_exit() BUG: unable to handle kernel NULL pointer dereference at (null) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Josef Lusticky <jlustick> | ||||
Component: | kernel | Assignee: | Stanislaw Gruszka <sgruszka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, sgruszka | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:232c56d933552697d8346e22a2d428644fbc9250 | ||||||
Fixed In Version: | kernel-2.6.43.2-6.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-04-08 03:27:40 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Josef Lusticky
2012-01-20 20:24:09 UTC
Were you removing the pti module when this hit and can you recreate this outside of VirtualBox? *** Bug 783555 has been marked as a duplicate of this bug. *** Yes this has occured while removing pti. I'll try to make the crash happen outside of Virtualbox. Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.634106] BUG: unable to handle kernel NULL pointer dereference at (null) Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.635002] IP: [<c066a110>] __list_del_entry+0x20/0xe0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] *pdpt = 000000003276d001 *pde = 0000000000000000 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Oops: 0000 [#1] SMP Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Modules linked in: pti(-) e1000 ppdev i2c_piix4 parport_pc parport snd_intel8x0 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc ip6table_filter ip6_tables xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ip6t_REJECT fcoe libfcoe libfc scsi_transport_fc scsi_tgt 8021q garp stp llc twofish_i586 twofish_common michael_mic anubis tgr192 salsa20_i586 rmd128 zlib zlib_deflate vga16fb vgastate nsc_gpio cs5535_mfgpt lockd iTCO_wdt iTCO_vendor_support bnx2 i5000_edac edac_core i5k_amb ses dcdbas enclosure joydev serio_raw microcode sunrpc megaraid_sas usb_storage radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: blowfish_common] Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Pid: 16338, comm: modprobe Not tainted 3.2.2-1.fc16.i686.PAE #1 Dell Inc. PowerEdge 2900/0J7551 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] EIP: 0060:[<c066a110>] EFLAGS: 00010287 CPU: 4 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] EIP is at __list_del_entry+0x20/0xe0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] EAX: f862b0ac EBX: f862b0ac ECX: 00000000 EDX: 00000000 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] ESI: f862b0a0 EDI: f862b0ac EBP: f12b7f08 ESP: f12b7ef0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Process modprobe (pid: 16338, ti=f12b6000 task=f1176480 task.ti=f12b6000) Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Stack: Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] fffffff0 f12b7f10 c07286c8 00000000 f862b020 f862b0ac f12b7f14 c066a1db Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] ffffff40 f12b7f28 c0712668 00000000 00000000 fffffff0 f12b7f44 f8629ab0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] f12b7f44 c0494082 f862b180 00000000 f862b180 f12b7fac c0495c25 f26cd000 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Call Trace: Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c07286c8>] ? driver_unregister+0x48/0x80 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c066a1db>] list_del+0xb/0x20 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c0712668>] misc_deregister+0x38/0x90 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<f8629ab0>] pti_exit+0x82/0x5d2 [pti] Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c0494082>] ? module_refcount+0x72/0x90 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c0495c25>] sys_delete_module+0x135/0x230 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c0517b24>] ? remove_vma+0x44/0x60 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c0549b9a>] ? path_put+0x1a/0x20 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c04b2fe1>] ? audit_syscall_entry+0x1e1/0x2c0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] [<c094351f>] sysenter_do_call+0x12/0x28 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] Code: 90 90 90 90 90 90 90 90 90 90 90 55 89 e5 53 83 ec 14 8b 08 8b 50 04 81 f9 00 01 10 00 74 24 81 fa 00 02 20 00 0f 84 8e 00 00 00 <8b> 1a 39 d8 75 62 8b 59 04 39 d8 75 35 89 51 04 89 0a 83 c4 14 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] EIP: [<c066a110>] __list_del_entry+0x20/0xe0 SS:ESP 0068:f12b7ef0 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.656081] CR2: 0000000000000000 Feb 3 10:33:15 dell-pe2900-02 kernel: [56054.693570] ---[ end trace 4f1adfc37131d327 ]--- Caused by modprobe -r pti on dell-pe2900-02.rhts.eng.bos.redhat.com in our labs. [root@dell-pe2900-02 ~]# uname -a Linux dell-pe2900-02.rhts.eng.bos.redhat.com 3.2.2-1.fc16.i686.PAE #1 SMP Thu Jan 26 03:30:43 UTC 2012 i686 i686 i386 GNU/Linux This is for kernel 3.2.2-1.fc16.i686 #1 SMP , the same machine. BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<c0657aa0>] __list_del_entry+0x20/0xe0 *pde = 00000000 Oops: 0000 [#1] SMP Modules linked in: pti(-) lockd joydev ses enclosure microcode dcdbas i5000_edac edac_core serio_raw iTCO_wdt iTCO_vendor_support bnx2 i5k_amb sunrpc megaraid_sas usb_storage radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan] Pid: 1152, comm: modprobe Not tainted 3.2.2-1.fc16.i686 #1 Dell Inc. PowerEdge 2900/0J7551 EIP: 0060:[<c0657aa0>] EFLAGS: 00010287 CPU: 6 EIP is at __list_del_entry+0x20/0xe0 EAX: f7d370ac EBX: f7d370ac ECX: 00000000 EDX: 00000000 ESI: f7d370a0 EDI: f7d370ac EBP: f2f05f08 ESP: f2f05ef0 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process modprobe (pid: 1152, ti=f2f04000 task=f663d7f0 task.ti=f2f04000) Stack: fffffff0 f2f05f10 c0709758 00000000 f7d37020 f7d370ac f2f05f14 c0657b6b ffffff40 f2f05f28 c06f38f8 00000000 00000000 fffffff0 f2f05f44 f7d35aae f2f05f44 c04841d2 f7d37180 00000000 f7d37180 f2f05fac c0485d75 f2f05f7c Call Trace: [<c0709758>] ? driver_unregister+0x48/0x80 [<c0657b6b>] list_del+0xb/0x20 [<c06f38f8>] misc_deregister+0x38/0x90 [<f7d35aae>] pti_exit+0x82/0x5d4 [pti] [<c04841d2>] ? module_refcount+0x72/0x90 [<c0485d75>] sys_delete_module+0x135/0x230 [<c04a30b1>] ? audit_syscall_entry+0x1e1/0x2c0 [<c04a33d6>] ? audit_syscall_exit+0x176/0x1a0 [<c040d992>] ? syscall_trace_enter+0x172/0x1d0 [<c040da5f>] ? syscall_trace_leave+0x6f/0xd0 [<c0921264>] syscall_call+0x7/0xb Code: 90 90 90 90 90 90 90 90 90 90 90 55 89 e5 53 83 ec 14 8b 08 8b 50 04 81 f9 00 01 10 00 74 24 81 fa 00 02 20 00 0f 84 8e 00 00 00 <8b> 1a 39 d8 75 62 8b 59 04 39 d8 75 35 89 51 04 89 0a 83 c4 14 EIP: [<c0657aa0>] __list_del_entry+0x20/0xe0 SS:ESP 0068:f2f05ef0 CR2: 0000000000000000 ---[ end trace badcfddacf9b0d1d ]--- We do misc_register at pci_probe and misc_unregister at module exit (should be pci_remove), so we unregister device that was never registered (since you do not have actual PTI device). I will post patch ustream or report a bug there. But for fedora, I do not even know why we have this enabled, I think that driver is useless (below is Kconfig description): tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" depends on PCI default n help The PTI (Parallel Trace Interface) driver directs trace data routed from various parts in the system out through an Intel Penwell PTI port and out of the mobile device for analysis with a debugging tool (Lauterbach or Fido). You should select this driver if the target kernel is meant for an Intel Atom (non-netbook) mobile device containing a MIPI P1149.7 standard implementation. (In reply to comment #7) > We do misc_register at pci_probe and misc_unregister at module exit (should be > pci_remove), so we unregister device that was never registered (since you do > not have actual PTI device). > > I will post patch ustream or report a bug there. Could you stick a link to it in here when you do? > But for fedora, I do not even know why we have this enabled, I think that > driver is useless (below is Kconfig description): We can disable it if you want. We've had a rather lax policy on what is enabled during rebases, etc. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. This is not fixed for sure. Reported upstream: https://lkml.org/lkml/2012/3/26/197 let's just disable this. it's unlikely anyone is going to run fedora on machines that actually have this feature. Created attachment 575077 [details]
disable_intel_mid_pti.patch
Fedora patch for disable the driver.
(In reply to comment #15) > Created attachment 575077 [details] > disable_intel_mid_pti.patch > > Fedora patch for disable the driver. Ugh. Sorry Stanislaw, you shouldn't have had to create a patch for this. It's disabled in all branches now. kernel-3.3.1-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.3.1-3.fc17 kernel-3.3.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.3.1-3.fc16 Package kernel-3.3.1-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.3.1-3.fc17' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-5346/kernel-3.3.1-3.fc17 then log in and leave karma (feedback). kernel-3.3.1-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. kernel-3.3.1-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.3.1-5.fc16 kernel-3.3.1-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.3.1-5.fc17 kernel-2.6.43.1-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.43.1-5.fc15 kernel-3.3.1-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. kernel-2.6.43.2-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.43.2-2.fc15 kernel-3.3.1-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. kernel-2.6.43.2-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.43.2-6.fc15 kernel-2.6.43.2-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |