public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [2.5.50, ACPI] link error
@ 2002-12-04 21:05 Shawn Starr
  2002-12-04 21:26 ` Roman Zippel
  2002-12-06  8:17 ` Pavel Machek
  0 siblings, 2 replies; 32+ messages in thread
From: Shawn Starr @ 2002-12-04 21:05 UTC (permalink / raw)
  To: linux-kernel

Thats what I thought until Pavel told me SOFTWARE_SUSPEND requires ACPI_SLEEP 
and ACPI_SLEEP should not be unchecked if SOFTWARE_SUSPEND is disabled.

My patch was only to fix a link error in 2.5.49/50. A better solution is 
needed :-)

Shawn.


>List:     linux-kernel
>Subject:  Re: [2.5.50, ACPI] link error
From:     Roman Zippel <zippel@linux-m68k.org>
>Date:     2002-12-04 20:29:08
>[Download message RAW]
>
>Hi,
>
>On Wed, 4 Dec 2002, Adrian Bunk wrote:
>
> In drivers/acpi/Config.in in 2.5.44:
> 
> <--   snip  -->
> 
> ...
> if [ "$CONFIG_ACPI_HT_ONLY" != "y" ]; then
>    bool     '  Sleep States' CONFIG_ACPI_SLEEP
> ...
>    define_bool CONFIG_ACPI_SLEEP $CONFIG_SOFTWARE_SUSPEND
> ...
> fi
> ...
> 
> <--  snip  -->
> 
> 
> This double definition was at least confusing, a simple
> 
>   dep_bool '  Sleep States' CONFIG_ACPI_SLEEP $CONFIG_SOFTWARE_SUSPEND
> 
> would have expressed it better.

>It's not really the same and the first probably heavily confuses xconfig.
>If CONFIG_SOFTWARE_SUSPEND can do without CONFIG_ACPI_SLEEP, the second 
>version should work fine.

>  config ACPI_SLEEP
>       bool "Sleep States"
> -     depends on X86 && ACPI && !ACPI_HT_ONLY
> +     depends on X86 && ACPI && !ACPI_HT_ONLY && SOFTWARE_SUSPEND
>       default SOFTWARE_SUSPEND
>       ---help---
>         This option adds support for ACPI suspend states. 

>The default is probably not needed anymore.

-- 
Shawn Starr
UNIX Systems Administrator, Operations
Datawire Communication Networks Inc.
10 Carlson Court, Suite 300
Toronto, ON, M9W 6L2
T: 416-213-2001 ext 179  F: 416-213-2008
shawn.starr@datawire.net
"The power to Transact" - http://www.datawire.net


^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <200212042312.gB4NC8UJ021406@BlackBerry.NET>]
* [2.5.50, ACPI] link error
@ 2002-12-02 20:24 Jochen Hein
  2002-12-03 18:07 ` Eric Altendorf
  2002-12-04 11:41 ` Pavel Machek
  0 siblings, 2 replies; 32+ messages in thread
From: Jochen Hein @ 2002-12-02 20:24 UTC (permalink / raw)
  To: linux-kernel


When compiling 2.5.50 with CONFIG_ACPI_SLEEP=y
I get:

   ld -m elf_i386  -r -o init/built-in.o init/main.o init/version.o init/do_mounts.o init/initramfs.o
        ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o arch/i386/kernel/init_task.o  init/built-in.o --start-group  usr/built-in.o  arch/i386/kernel/built-in.o  arch/i386/mm/built-in.o  arch/i386/mach-generic/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/i386/lib/lib.a  drivers/built-in.o  sound/built-in.o  arch/i386/pci/built-in.o  net/built-in.o --end-group  -o vmlinux
arch/i386/kernel/built-in.o(.data+0x1304): In function `do_suspend_lowlevel':
: undefined reference to `save_processor_state'
arch/i386/kernel/built-in.o(.data+0x130a): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x130f): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x1315): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x131b): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1321): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x1327): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x132d): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x1333): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x133a): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_eflags'
arch/i386/kernel/built-in.o(.data+0x137a): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x1380): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x1385): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x138b): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x1391): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1397): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x139d): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x13a3): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x13a8): In function `do_suspend_lowlevel':
: undefined reference to `restore_processor_state'
arch/i386/kernel/built-in.o(.data+0x13ae): In function `do_suspend_lowlevel':
: undefined reference to `saved_context_eflags'
make: *** [vmlinux] Fehler 1


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2002-12-16 11:08 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 21:05 [2.5.50, ACPI] link error Shawn Starr
2002-12-04 21:26 ` Roman Zippel
     [not found]   ` <200212041630.40446.shawn.starr@datawire.net>
2002-12-04 21:44     ` Roman Zippel
     [not found]       ` <200212041653.04475.shawn.starr@datawire.net>
     [not found]         ` <200212041720.14647.shawn.starr@datawire.net>
2002-12-04 22:40           ` Roman Zippel
2002-12-06  8:17 ` Pavel Machek
     [not found] <200212042312.gB4NC8UJ021406@BlackBerry.NET>
2002-12-04 23:37 ` Roman Zippel
     [not found]   ` <200212051057.14882.shawn.starr@datawire.net>
2002-12-05 16:47     ` Roman Zippel
  -- strict thread matches above, loose matches on Subject: below --
2002-12-02 20:24 Jochen Hein
2002-12-03 18:07 ` Eric Altendorf
2002-12-03 18:35   ` Jochen Hein
2002-12-03 20:47     ` Eric Altendorf
2002-12-05 17:31       ` Pavel Machek
2002-12-05 22:21         ` Jeff Garzik
2002-12-05 22:24           ` Pavel Machek
2002-12-05 22:27             ` Jeff Garzik
2002-12-05 22:33               ` Pavel Machek
2002-12-05 22:38                 ` Jeff Garzik
2002-12-05 22:40                   ` Pavel Machek
2002-12-05 22:43                     ` Patrick Mochel
2002-12-06  0:06                       ` Pavel Machek
2002-12-06  0:05                         ` Patrick Mochel
2002-12-06  0:31                           ` Pavel Machek
2002-12-06  0:36                         ` Jeff Garzik
2002-12-07 14:02               ` David Ford
2002-12-07  5:50         ` Eric Altendorf
2002-12-09  7:29           ` Pavel Machek
2002-12-16  3:40             ` Eric Altendorf
2002-12-16 11:16               ` Pavel Machek
2002-12-04 11:41 ` Pavel Machek
2002-12-04 13:50   ` Adrian Bunk
2002-12-04 19:16     ` Jochen Hein
2002-12-04 20:29     ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox