Bug 126390

Summary: Kernel 2.6.6-1.435 build fails with Power Management options
Product: [Fedora] Fedora Reporter: Dave Wolinski <gallantfox>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:04:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Wolinski 2004-06-21 02:47:34 UTC
Description of problem:

I'm trying to build a custom kernel using kernel-sourcecode-2.6.6-1.435.

When I enable either the CONFIG_SOFTWARE_SUSPEND or CONFIG_PM_DISK
power management options, the kernel build fails with with the
following errors, respectively:

arch/i386/power/built-in.o(.text+0x1b4): In function
`pmdisk_arch_suspend':
: undefined reference to `swsusp_pg_dir'

arch/i386/power/built-in.o(.text+0x263): In function `do_magic':
: undefined reference to `swsusp_pg_dir'
make: *** [.tmp_vmlinux1] Error 1

Version-Release number of selected component (if applicable):
kernel-sourcecode-2.6.6-1.435


How reproducible: always


Steps to Reproduce:
1. install kernel-sourcecode-2.6.6-1.435 rpm
2. cd /usr/src/linux-2.6.6...
3. make mrproper
4. make bzImage
  

Actual results: build aborts on above error


Expected results: build should complete


Additional info:

Comment 1 Dave Wolinski 2004-06-21 02:53:33 UTC
In "Steps to Reproduce", above, I forgot to mention that I have
modified the stock kernel*i686*.config file to include the power
management options below.

Here are relevant lines from my kernel .config file:

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_DISK=y
CONFIG_PM_DISK_PARTITION="/dev/hda5"

Comment 2 Arjan van de Ven 2004-06-21 06:49:35 UTC

*** This bug has been marked as a duplicate of 126342 ***

Comment 3 Red Hat Bugzilla 2006-02-21 19:04:10 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.