Since the bug has not been solved for me, I have done bisection to find the 
problematic commit between the kernel Ubuntu-3.2.0-24.37 (works perfectly) and 
Ubuntu-3.2.0-25.40 (it always doesn't work).
Every time I installed the newly compiled kernel, I powered off the laptop and 
unplugged the ac adapter and the battery, like Csaba suggested.

I'm not an expert in git and kernel building, so don't take my results as 100% 
good...
Now that I have found (I hope) the problematic commit, how can I proceed? We 
should submit a patch upstream in the last version of kernel? Please help me 
because I haven't ever done something like that :)

-----------------------

This is the problematic commit found by me:

29c9f7b3137bb9ac670a5f66165f0cfb964eb872 is the first bad commit
commit 29c9f7b3137bb9ac670a5f66165f0cfb964eb872
Author: Bernhard Kohl <riedel-und-k...@t-online.de>
Date:   Sun May 13 23:39:37 2012 +0200

    target: Fix SPC-2 RELEASE bug for multi-session iSCSI client setups
    
    BugLink: http://bugs.launchpad.net/bugs/1002484
    
    commit edc318d9fea6854df752ec8c645b960b0d5a1d23 upstream.
    
    This patch addresses a bug in a special case for target core SPC-2 RELEASE
    logic where the same physical client (eg: iSCSI InitiatorName) with
    differing iSCSI session identifiers (ISID) is allowed to incorrectly release
    the same client's SPC-2 reservation from the non reservation holding path.
    
    Note this bug is specific to iscsi-target w/ SPC-2 reservations, and
    with the default enforce_pr_isids=1 device attr setting in target-core
    controls if a InitiatorName + different ISID reservations are handled
    the same as a single iSCSI client entity.
    
    Signed-off-by: Bernhard Kohl <bernhard.k...@gmx.net>
    Signed-off-by: Nicholas Bellinger <n...@linux-iscsi.org>
    Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
    Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesin...@canonical.com>

:040000 040000 f862f0f2d8a140e6168011aa693d55a1ea56edef
a514f6653b9562416317970a75b3654fd8495845 M      drivers


--------------------------------

This is the "git bisect log" output at the end of the process:

# bad: [f9c4c36805ef1e62ccfd3fbc4540ec2c36189bd5] UBUNTU: Ubuntu-3.2.0-25.40
# good: [6e1ed59300819c3580a9fad75f8b72f60e43d197] UBUNTU: Ubuntu-3.2.0-24.37
git bisect start 'Ubuntu-3.2.0-25.40' 'Ubuntu-3.2.0-24.37'
# good: [889daf65e401079d72fe7eabe21b1e6262dea081] mwifiex: update pcie8766 
scratch register addresses
git bisect good 889daf65e401079d72fe7eabe21b1e6262dea081
# skip: [f7dd985e1264fd38438396c89c8a7f9b07f3b1ef] ARM: 7397/1: l2x0: only 
apply workaround for erratum #753970 on PL310
git bisect skip f7dd985e1264fd38438396c89c8a7f9b07f3b1ef
# skip: [6acf19fec424193aa19bca91898467018834c9d8] ARM: 7398/1: l2x0: only 
write to debug registers on PL310
git bisect skip 6acf19fec424193aa19bca91898467018834c9d8
# skip: [9e1e17f621bf330d07d0acdfb4a2a32505380d6a] xen: correctly check for 
pending events when restoring irq flags
git bisect skip 9e1e17f621bf330d07d0acdfb4a2a32505380d6a
# bad: [0d896c2d87d466ea233a9678e4ea2843593ac7e5] ASoC: wm8994: Fix AIF2ADC 
power down
git bisect bad 0d896c2d87d466ea233a9678e4ea2843593ac7e5
# skip: [84544251736bb09b5539e0487dc6386ca7a0f220] ALSA: HDA: Add external mic 
quirk for Asus Zenbook UX31E
git bisect skip 84544251736bb09b5539e0487dc6386ca7a0f220
# skip: [5aa865608b4815bfe7ebc70b3e37131ec10d2a19] usb gadget: uvc: 
uvc_request_data::length field must be signed
git bisect skip 5aa865608b4815bfe7ebc70b3e37131ec10d2a19
# skip: [fe061eb743c911a74176b60b067e697ad2de81fa] iwlwifi: use correct 
released ucode version
git bisect skip fe061eb743c911a74176b60b067e697ad2de81fa
# skip: [57b268b224b6ea9a02e7b2ae76b8fcbf3c38bb34] usb: gadget: dummy: do not 
call pullup() on udc_stop()
git bisect skip 57b268b224b6ea9a02e7b2ae76b8fcbf3c38bb34
# skip: [614c8472cf0f799397477ca89f13ae1cfa53f458] xen/pci: don't use PCI BIOS 
service for configuration space accesses
git bisect skip 614c8472cf0f799397477ca89f13ae1cfa53f458
# skip: [03f639fbacf8a86a40d8326ea632b9f841ca8b85] drm/i915: fix integer 
overflow in i915_gem_do_execbuffer()
git bisect skip 03f639fbacf8a86a40d8326ea632b9f841ca8b85
# skip: [c71bcc9ce5978a67e4e995c64937a566ff4fff36] tcp: fix 
tcp_rcv_rtt_update() use of an unscaled RTT sample
git bisect skip c71bcc9ce5978a67e4e995c64937a566ff4fff36
# skip: [ab10659b0c51e0fc403b8c785c09f1df4c270458] USB: EHCI: fix crash during 
suspend on ASUS computers
git bisect skip ab10659b0c51e0fc403b8c785c09f1df4c270458
# skip: [378401e616b62dc10a2380dab3d7ee796a59b332] ARM: 7410/1: Add extra 
clobber registers for assembly in kernel_execve
git bisect skip 378401e616b62dc10a2380dab3d7ee796a59b332
# skip: [badc4f07622f0f7093a201638f45e85765f1b5e4] brcm80211: smac: resume 
transmit fifo upon receiving frames
git bisect skip badc4f07622f0f7093a201638f45e85765f1b5e4
# skip: [64d260c54bc8bce8e26f6af0f86ba6d6b057e9d5] brcm80211: smac: fix endless 
retry of A-MPDU transmissions
git bisect skip 64d260c54bc8bce8e26f6af0f86ba6d6b057e9d5
# good: [b331f90c7b4445d146b2e6ee15b1f6f58ed380a8] ASoC: tlv312aic23: unbreak 
resume
git bisect good b331f90c7b4445d146b2e6ee15b1f6f58ed380a8
# good: [599912586b06350ff79dee41b79d8c4e6e539d71] sky2: propogate rx hash when 
packet is copied
git bisect good 599912586b06350ff79dee41b79d8c4e6e539d71
# good: [599912586b06350ff79dee41b79d8c4e6e539d71] sky2: propogate rx hash when 
packet is copied
git bisect good 599912586b06350ff79dee41b79d8c4e6e539d71
# good: [dcd1530be0d284a73179cb8831c9cf80d4d8f160] s5p-fimc: Fix locking in 
subdev set_crop op
git bisect good dcd1530be0d284a73179cb8831c9cf80d4d8f160
# good: [767261652e93fe73d5d72f0665870c3596f40005] ext4: avoid deadlock on 
sync-mounted FS w/o journal
git bisect good 767261652e93fe73d5d72f0665870c3596f40005
# bad: [29c9f7b3137bb9ac670a5f66165f0cfb964eb872] target: Fix SPC-2 RELEASE bug 
for multi-session iSCSI client setups
git bisect bad 29c9f7b3137bb9ac670a5f66165f0cfb964eb872
# good: [a3ab0f584bbefcfc089b5486af5afd37743243db] ia64: Add accept4() syscall
git bisect good a3ab0f584bbefcfc089b5486af5afd37743243db
# good: [e8fb2f98536aa50c79178d8665273c755dddcca4] ARM: 7417/1: vfp: ensure 
preemption is disabled when enabling VFP access
git bisect good e8fb2f98536aa50c79178d8665273c755dddcca4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1008058

Title:
  During resume after suspend suddenly poweroff

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1008058/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to