← Back to team overview

kernel-packages team mailing list archive

[Bug 1197871] Re: [Gigabyte GA-MA78GPM-DS2H] ACPI wakeup fails if HPET enabled in BIOS

 

Bisect done.

Bisect log follows.

# bad: [e2689a0f2068cfd300fd7f4d444d72571cfe5d48] UBUNTU: Ubuntu-3.8.0-26.38
# good: [680faeb696565a564b9b7a678fa042de4f5fbee9] UBUNTU: Ubuntu-3.8.0-23.34
git bisect start 'Ubuntu-3.8.0-26.38' 'Ubuntu-3.8.0-23.34'
# bad: [67dca26a087c23aabf8f4f92de630d3285551c87] benet: Wait f/w POST until timeout
git bisect bad 67dca26a087c23aabf8f4f92de630d3285551c87
# bad: [65b3745f82d86d6ba3efc19054e3cc2bde452b45] ixgbe: fix EICR write in ixgbe_msix_other
git bisect bad 65b3745f82d86d6ba3efc19054e3cc2bde452b45
# good: [5f17a84fb89bccf83ad1d07ae3caa12b9322cecc] tracing: Reset ftrace_graph_filter_enabled if count is zero
git bisect good 5f17a84fb89bccf83ad1d07ae3caa12b9322cecc
# good: [e5dc414e4d888330436fcd4bea3f6348276dbba9] swap: redirty page if page write fails on swap file
git bisect good e5dc414e4d888330436fcd4bea3f6348276dbba9
# bad: [ef40ce18151e6a78cc7c084558ea8044566c54b7] inotify: invalid mask should return a error number but not set it
git bisect bad ef40ce18151e6a78cc7c084558ea8044566c54b7
# bad: [07053b6237d7a1983d80fb0d3839e9889244dc33] ACPI / thermal: do not always return THERMAL_TREND_RAISING for active trip points
git bisect bad 07053b6237d7a1983d80fb0d3839e9889244dc33
# bad: [6d22382d7148a132fb7b4c461cb2940df4f0c77e] drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend
git bisect bad 6d22382d7148a132fb7b4c461cb2940df4f0c77e
# good: [2ef4473b0027df0e7558557feb83da2c3e1826d0] mm: swap: mark swap pages writeback before queueing for direct IO
git bisect good 2ef4473b0027df0e7558557feb83da2c3e1826d0
# first bad commit: [6d22382d7148a132fb7b4c461cb2940df4f0c77e] drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend


Last git bisect throwed this:


6d22382d7148a132fb7b4c461cb2940df4f0c77e is the first bad commit
commit 6d22382d7148a132fb7b4c461cb2940df4f0c77e
Author: Derek Basehore <dbasehore@xxxxxxxxxxxx>
Date:   Mon Apr 29 16:20:23 2013 -0700

    drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend
    
    BugLink: http://bugs.launchpad.net/bugs/1178361
    
    commit e005715efaf674660ae59af83b13822567e3a758 upstream.
    
    There's a bug where rtc alarms are ignored after the rtc cmos suspends
    but before the system finishes suspend.  Since hpet emulation is
    disabled and it still handles the interrupts, a wake event is never
    registered which is done from the rtc layer.
    
    This patch reverts commit d1b2efa83fbf ("rtc: disable hpet emulation on
    suspend") which disabled hpet emulation.  To fix the problem mentioned
    in that commit, hpet_rtc_timer_init() is called directly on resume.
    
    Signed-off-by: Derek Basehore <dbasehore@xxxxxxxxxxxx>
    Cc: Maxim Levitsky <maximlevitsky@xxxxxxxxx>
    Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
    Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
    Cc: Ingo Molnar <mingo@xxxxxxx>
    Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Steve Conklin <sconklin@xxxxxxxxxxxxx>

:040000 040000 3e84b9874d08e64109a8e7155b0b0734fbf250e3
08ae4a77586575391919e292a9730d649d5251ac M      drivers

Seems to be the commit I suspected on bug opening

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1197871

Title:
  [Gigabyte GA-MA78GPM-DS2H] ACPI wakeup fails if HPET enabled in BIOS

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  if I type this (as root):
  echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm

  or:
  rtcwake -d rtc0 -u -m no -t `date '+%s' -d '+ 5 minutes'`

  and then I shutdown the computer, it used to wake up after 5 minutes
  until I upgraded from linux-image-3.8.0-23-generic to a newer package.
  I've always had HPET enabled in BIOS.

  Maybe it's related to this patch found in the changelog
  zdiff /usr/share/doc/linux-image-3.8.0-23-generic/changelog.Debian.gz /usr/share/doc/linux-image-3.8.0-24-generic/changelog.Debian.gz | grep hpet
  >   * drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend

  WORKAROUND: If I disable HPET in BIOS, my computer successfully wakes
  up in kernels > 3.8.0-23

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: linux-image-3.8.0-26-generic 3.8.0-26.38
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  usuario    2971 F.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Date: Thu Jul  4 17:32:03 2013
  HibernationDevice:
   #RESUME=UUID=e38f6a8b-948e-434c-a8e1-eb1e207dad4f
   RESUME=UUID=3ddd6504-083d-4af2-bcaa-5af1dbbf1f77
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. GA-MA78GPM-DS2H
  MarkForUpload: True
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=22b58a09-ddc9-4068-8d9c-d225ad781780 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-26-generic N/A
   linux-backports-modules-3.8.0-26-generic  N/A
   linux-firmware                            1.106
  RfKill:

  SourcePackage: linux
  UpgradeStatus: Upgraded to raring on 2013-05-02 (63 days ago)
  WpaSupplicantLog:

  dmi.bios.date: 12/25/2010
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F6h
  dmi.board.name: GA-MA78GPM-DS2H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF6h:bd12/25/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA78GPM-DS2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA78GPM-DS2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-MA78GPM-DS2H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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