Bug 7936 - Some "patch" between 2.6.20-rc7 and 2.6.20-final-vanilla has broken my SWSUSP resume
Summary: Some "patch" between 2.6.20-rc7 and 2.6.20-final-vanilla has broken my SWSUSP...
Status: CLOSED CODE_FIX
Alias: None
Product: Power Management
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 blocking
Assignee: power-management_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 01:38 UTC by Cijoml Cijomlovic Cijomlov
Modified: 2007-05-06 15:08 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.20
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
kernel config (12.90 KB, application/octet-stream)
2007-02-05 01:39 UTC, Cijoml Cijomlovic Cijomlov
Details

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

Note You need to log in before you can comment on or make changes to this bug.