kernel NULL pointer dereference in journal_grab_journal_head+0x2/0x40

Bug #172268 reported by David N. Welton
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: linux-image-2.6.22-14-generic

I have a Dell laptop with Gutsy on it. I opened the lid to wake it up from its nightly slumber, and bang!

Linux fortrock 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Nov 27 08:34:21 fortrock kernel: [345375.936000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
Nov 27 08:34:21 fortrock kernel: [345375.936000] printing eip:
Nov 27 08:34:21 fortrock kernel: [345375.936000] f897cde2
Nov 27 08:34:21 fortrock kernel: [345375.936000] *pde = 00000000
Nov 27 08:34:21 fortrock kernel: [345375.936000] Oops: 0002 [#1]
Nov 27 08:34:21 fortrock kernel: [345375.936000] SMP
Nov 27 08:34:21 fortrock kernel: [345375.936000] Modules linked in: battery ac thermal fan button ipw3945 ieee80211 b44 mii ipv6 michael_mic arc4 ecb blkcipher ieee80211_crypt_tkip af_packet i915 drm binfmt_misc rfcomm l2cap bluetooth ppdev acpi_cpufreq cpufreq_conservative cpufreq_userspace cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave video container sbs dock sbp2 parport_pc lp parport joydev snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi sdhci snd_rawmidi snd_seq_midi_event mmc_core serio_raw snd_seq psmouse ieee80211_crypt iTCO_wdt iTCO_vendor_support snd_timer snd_seq_device intel_agp snd soundcore snd_page_alloc agpgart shpchp pci_hotplug evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod ata_generic usbhid hid ohci1394 ieee1394 ata_piix libata scsi_mod uhci_hcd ehci_hcd usbcore processor fuse apparmor commoncap
Nov 27 08:34:21 fortrock kernel: [345375.936000] CPU: 0
Nov 27 08:34:21 fortrock kernel: [345375.936000] EIP: 0060:[<f897cde2>] Not tainted VLI
Nov 27 08:34:21 fortrock kernel: [345375.936000] EFLAGS: 00010282 (2.6.22-14-generic #1)
Nov 27 08:34:21 fortrock kernel: [345375.936000] EIP is at journal_grab_journal_head+0x2/0x40 [jbd]
Nov 27 08:34:21 fortrock kernel: [345375.936000] eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000
Nov 27 08:34:21 fortrock kernel: [345375.936000] esi: 00000000 edi: dfb21e00 ebp: c1265e60 esp: df8d1e50
Nov 27 08:34:21 fortrock kernel: [345375.936000] ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Nov 27 08:34:21 fortrock kernel: [345375.936000] Process kswapd0 (pid: 201, ti=df8d0000 task=c21cc530 task.ti=df8d0000)
Nov 27 08:34:21 fortrock kernel: [345375.936000] Stack: f8978228 00000287 c01a1154 c003fd20 da5b1cac c105bb40 c003fdc8 00000000
Nov 27 08:34:21 fortrock kernel: [345375.936000] f89b4240 00000000 00000b17 df8d1ea0 c0160cdc c1265e60 0000000b c0166ad8
Nov 27 08:34:21 fortrock kernel: [345375.936000] 0000000e ffffffff da5b1cac 00000b16 0000000e 00000000 c14f58a0 c125d3c0
Nov 27 08:34:21 fortrock kernel: [345375.936000] Call Trace:
Nov 27 08:34:21 fortrock kernel: [345375.936000] [<f8978228>] journal_try_to_free_buffers+0x58/0x150 [jbd]
Nov 27 08:34:21 fortrock kernel: [345375.936000] [free_buffer_head+20/48] free_buffer_head+0x14/0x30
Nov 27 08:34:21 fortrock kernel: [345375.936000] [<f89b4240>] ext3_releasepage+0x0/0xa0 [ext3]
Nov 27 08:34:21 fortrock kernel: [345375.936000] [try_to_release_page+44/64] try_to_release_page+0x2c/0x40
Nov 27 08:34:21 fortrock kernel: [345375.936000] [invalidate_mapping_pages+200/256] invalidate_mapping_pages+0xc8/0x100
Nov 27 08:34:21 fortrock kernel: [345375.936000] [shrink_icache_memory+554/592] shrink_icache_memory+0x22a/0x250
Nov 27 08:34:21 fortrock kernel: [345375.936000] [shrink_slab+279/368] shrink_slab+0x117/0x170
Nov 27 08:34:21 fortrock kernel: [345375.936000] [kswapd+858/1136] kswapd+0x35a/0x470
Nov 27 08:34:21 fortrock kernel: [345375.936000] [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50
Nov 27 08:34:21 fortrock kernel: [345375.936000] [kswapd+0/1136] kswapd+0x0/0x470
Nov 27 08:34:21 fortrock kernel: [345375.936000] [kthread+66/112] kthread+0x42/0x70
Nov 27 08:34:21 fortrock kernel: [345375.936000] [kthread+0/112] kthread+0x0/0x70
Nov 27 08:34:21 fortrock kernel: [345375.936000] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
Nov 27 08:34:21 fortrock kernel: [345375.936000] =======================
Nov 27 08:34:21 fortrock kernel: [345375.936000] Code: ff ff b8 01 00 00 00 86 43 14 e8 fa 4e 97 c7 89 f0 e8 83 70 97 c7 8b 44 24 08 8d 54 24 0c e8 a6 f0 7b c7 e9 41 ff ff ff 90 89 c2 <f0> 0f ba 2a 16 19 c0 85 c0 74 0d 8b 02 a9 00 00 40 00 74 ec f3
Nov 27 08:34:21 fortrock kernel: [345375.936000] EIP: [<f897cde2>] journal_grab_journal_head+0x2/0x40 [jbd] SS:ESP 0068:df8d1e50

Tags: kernel-oops
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi David,

Just curious if the Oops ever reoccurred? If you are interested, the Hardy Heron kernel was recently uploaded for testing. We'd really appreciate it if you could try testing with this newer kernel and verify if this issue still exists. Unfortunately, the Hardy Heron Alpha1 LiveCD was released with the older 2.6.22 kernel. You'll have to manually install the newer Hardy Heron kernel in order to test. This should not be the case for Alpha2. However, here are the instructions to install (if you choose to do so):

1) edit the file /etc/apt/sources.list and add the following line:

deb http://archive.ubuntu.com/ubuntu hardy main restricted

2) sudo apt-get update
3) sudo apt-get install linux-image-2.6.24-1-generic
4) reboot and select the new kernel from the grub menu

After you've tested, please feel free to revert back - ie boot into the old kernel, sudo apt-get remove linux-image-2.6.24-1-generic, and remove the line from /etc/apt/sources.list . Please update this report with your results. Thanks in advance!

Changed in linux:
status: New → Incomplete
Changed in linux-source-2.6.22:
status: New → Incomplete
Changed in linux:
importance: Undecided → Medium
Revision history for this message
David N. Welton (davidnwelton) wrote :

Hi, thanks for looking into this. This oops hasn't reoccurred, so I guess testing the new kernel won't be that much of a help. Since I use this system for my job, I think I'll wait!

Thanks,
Dave

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi David,

Thanks for the update. I'm going to temporarily close this report against the 'linux' task since you really aren't using the Hardy kernel just yet :) Feel free to reopen it if and when you do upgrade and notice this issue reappear. Also, since it seems like the kernel Oops can't be easily triggered, verifying a fix for the linux-source-2.6.22 kernel might be difficult. I'll triage this against linux-source-2.6.22 but mark it with a low priority. Thanks!

Changed in linux:
status: Incomplete → Invalid
Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Low
status: Incomplete → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Gutsy Gibbon 7.10 has reached its end of life -
http://www.ubuntu.com/news/ubuntu-7.10-eol . As a result, we are closing the
linux-source-2.6.22 kernel task. It would be helpful if you could test the
new Jaunty Jackalope 9.04 release and confirm if this issue remains -
http://www.ubuntu.com/getubuntu/releasenotes/904overview. If the issue still exists with the Jaunty
release, please update this report by changing the Status of the "linux (Ubuntu)"
task from "Incomplete" to "New". Also please be sure to run the command below
which will automatically gather and attach updated debug information to this
report. Thanks in advance.

apport-collect -p linux-image-2.6.28-11-generic 172268

Changed in linux-source-2.6.22 (Ubuntu):
status: Triaged → Won't Fix
Changed in linux (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Resetting linux task back to Invalid.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers