Bug 126390 - Kernel 2.6.6-1.435 build fails with Power Management options
Summary: Kernel 2.6.6-1.435 build fails with Power Management options
Keywords:
Status: CLOSED DUPLICATE of bug 126342
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-21 02:47 UTC by Dave Wolinski
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:04:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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