Bug 7936

Summary: Some "patch" between 2.6.20-rc7 and 2.6.20-final-vanilla has broken my SWSUSP resume
Product: Power Management Reporter: Cijoml Cijomlovic Cijomlov (cijoml)
Component: OtherAssignee: power-management_other
Status: CLOSED CODE_FIX    
Severity: blocking CC: bunk, rjwysocki, tommi.kyntola
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20 Subsystem:
Regression: --- Bisected commit-id:
Attachments: kernel config

Description Cijoml Cijomlovic Cijomlov 2007-02-05 01:38:29 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.20-rc7
Distribution: Debian Testing
Hardware Environment: Acer TravelMate 242
Software Environment:
Problem Description:

Some "patch" between 2.6.20-rc7 and 2.6.20-final-vanilla has broken my SWSUSP
resume. In 2.6.20-rc7 kernel after image load from disk normally wake up into my
Xorg and everythink is fine, but in 2.6.20-final after disk image load starts
Capslock blinks - kernel freezes :(

Steps to reproduce:

Boot both kernels on the laptop
Comment 1 Cijoml Cijomlovic Cijomlov 2007-02-05 01:39:48 UTC
Created attachment 10284 [details]
kernel config

config 2.6.20 - same used for 2.6.20-rc7
Comment 2 Rafael J. Wysocki 2007-02-05 10:58:08 UTC
Hm, there are not a lot of patches between -rc7 and 2.6.20.  Can you perhaps 
try to find the offending one among them?
Comment 3 Cijoml Cijomlovic Cijomlov 2007-02-05 11:41:33 UTC
Yup I would like find it this way, but compile 25x kernel is too much, maybe we
can make it smaller before research.
Comment 4 Adrian Bunk 2007-02-05 21:11:54 UTC
Not 25, more like 6 with git bisecting:


# install git and cogito on your computer

# clone Linus' tree:
cg-clone \ 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

# start bisecting:
cd linux-2.6
cp /path/to/.config .
git bisect start
git bisect bad v2.6.20
git bisect good v2.6.20-rc7

# start round
make
# install kernel, check whether it's good or bad, then:
git bisect [bad|good]
# start next round


After at about 6 kernels, you'll have found the guilty commit
("...  is first bad commit").


More information on git bisecting:
  man git-bisect


Comment 5 Cijoml Cijomlovic Cijomlov 2007-05-06 15:08:26 UTC
Fixed in 2.6.21 - swsusp/resume works again