Public bug reported:

Binary package hint: linux-source-2.6.20

Suspending works only once on this NC6400 notebook.

By default the first time doesn't work either, given that the i8042
driver must be compiled as a module, not in kernel, otherwise the
keyboard won't work on resume (without echo -n reconnect >
/sys/bus/serio/devices/serio0/drvctl) and psmouse must be unloaded
before suspending and reloaded on resume.


But, on the second time calling suspend I get this oops message about some NULL 
pointer:

kernel: [  656.861882] Disabling non-boot CPUs ...
kernel: [  657.002090] CPU 1 is now offline
kernel: [  657.002335] SMP alternatives: switching to UP code
kernel: [  657.002920] Unable to handle kernel NULL pointer dereference at 
0000000000000000 RIP: 
kernel: [  657.003217]  [__drain_pages+43/112] __drain_pages+0x2b/0x70
kernel: [  657.012971] PGD 56798067 PUD 552a2067 PMD 0 
kernel: [  657.022582] Oops: 0000 [1] SMP 
kernel: [  657.032183] CPU 0 
kernel: [  657.041686] Modules linked in: isofs udf battery ac thermal fan 
button arc4 ecb blkcipher ieee80211_crypt_wep vmnet(P) vmmon(P) binfmt_misc 
rfcomm l2cap i915 drm ipv6 acpi_cpufreq cpufreq_userspace cpufreq_stats 
cpufreq_powersave cpufreq_ondemand freq_table cpufreq_conservative video sbs 
i2c_ec i2c_core dock container asus_acpi backlight nls_utf8 ntfs fuse lp 
snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy 
snd_seq_oss ide_cd snd_seq_midi snd_rawmidi snd_seq_midi_event joydev cdrom 
snd_seq snd_timer af_packet tsdev snd_seq_device pcmcia ata_generic 
tpm_infineon tpm hci_usb snd tpm_bios ieee80211_crypt bluetooth tifm_7xx1 
iTCO_wdt soundcore ata_piix yenta_socket rsrc_nonstatic pcmcia_core tifm_core 
iTCO_vendor_support shpchp pci_hotplug parport_pc parport serio_raw intel_agp 
snd_page_alloc pcspkr evdev ext3 jbd mbcache sg sd_mod piix generic ahci libata 
scsi_mod usbcore processor vesafb capability commoncap vga16fb cfbcopyarea 
vgastate cfbimgblt cfbfil
kernel: rect fbcon tileblit font bitblit softcursor
kernel: [  657.195347] Pid: 10469, comm: sleep.sh Tainted: P      
2.6.20-5-generic #2
kernel: [  657.206642] RIP: 0010:[__drain_pages+43/112]  [__drain_pages+43/112] 
__drain_pages+0x2b/0x70
kernel: [  657.228165] RSP: 0018:ffff810055311dc8  EFLAGS: 00010046
kernel: [  657.238806] RAX: ffff81000000c700 RBX: 0000000000000046 RCX: 
ffff81000000c400
kernel: [  657.249747] RDX: ffff81000000c000 RSI: ffff81007f5997d0 RDI: 
ffff81000000c380
kernel: [  657.260657] RBP: 0000000000000000 R08: 0000000000000000 R09: 
0000000000000002
kernel: [  657.271500] R10: 000000000000042d R11: 0000000000000164 R12: 
ffff81000000c700
kernel: [  657.282564] R13: 0000000000000000 R14: 0000000000000001 R15: 
ffff8100558fb0c0
kernel: [  657.293854] FS:  00002ae2a49c4b00(0000) GS:ffffffff80541000(0000) 
knlGS:0000000000000000
kernel: [  657.316323] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
kernel: [  657.327417] CR2: 0000000000000000 CR3: 0000000056ac8000 CR4: 
00000000000006e0
kernel: [  657.338788] Process sleep.sh (pid: 10469, threadinfo 
ffff810055310000, task ffff81006ccb9860)
kernel: [  657.361187] Stack:  0000000000000001 0000000000000001 
0000000000000007 ffff81005621b140
kernel: [  657.384339]  0000000000000003 ffffffff802c1a22 ffffffff80512c10 
ffffffff8026a496
kernel: [  657.407572]  0000000000000001 0000000000000001 0000000000000000 
ffffffff802a9094
kernel: [  657.419531] Call Trace:
kernel: [  657.441744]  [page_alloc_cpu_notify+18/48] 
page_alloc_cpu_notify+0x12/0x30
kernel: [  657.452640]  [notifier_call_chain+38/64] 
notifier_call_chain+0x26/0x40
kernel: [  657.463593]  [_cpu_down+356/544] _cpu_down+0x164/0x220
kernel: [  657.474447]  [disable_nonboot_cpus+140/288] 
disable_nonboot_cpus+0x8c/0x120
kernel: [  657.485156]  [enter_state+133/432] enter_state+0x85/0x1b0
kernel: [  657.495719]  [state_store+123/176] state_store+0x7b/0xb0
kernel: [  657.506304]  [sysfs_write_file+218/304] sysfs_write_file+0xda/0x130
kernel: [  657.516702]  [vfs_write+222/416] vfs_write+0xde/0x1a0
kernel: [  657.527005]  [sys_write+83/144] sys_write+0x53/0x90
kernel: [  657.537061]  [system_call+126/131] system_call+0x7e/0x83
kernel: [  657.546930] 
kernel: [  657.556496] 
kernel: [  657.556497] Code: 8b 75 00 48 8d 55 10 31 c9 4c 89 e7 e8 44 fd ff ff 
c7 45 00 
kernel: [  657.589559] RIP  [__drain_pages+43/112] __drain_pages+0x2b/0x70
kernel: [  657.600325]  RSP <ffff810055311dc8>
kernel: [  657.610937] CR2: 0000000000000000

I'm running Ubuntu Feisty with the following kernel (on core 2 duo T5600 
laptop):
Linux synlap 2.6.20-5-generic #2 SMP Sat Jan 6 09:44:32 UTC 2007 x86_64 
GNU/Linux

** Affects: linux-source-2.6.20 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Suspend to ram only working once, oops on second time
https://launchpad.net/bugs/81667

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to