public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Newbie looking to try latest ACPI support...
@ 2002-12-07 14:50 Gregory Gulik
       [not found] ` <3DF20AB4.3020205-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Gulik @ 2002-12-07 14:50 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A


I recently got a Toshiba Satellite 1115-S103 laptop which only has ACPI 
power management.  Obviously the drivers in RH 8.0 (kernel version 
2.4.18-18.8) don't do anything useful.

I was hoping to try out a newer development driver but I'm not sure if 
it's best to just try the acpi-20020918 for which 2.4.18 patches are 
available, or should I not bother with those and go with the latest 
drivers for 2.4.20, which obviously means upgrading to that kernel???


-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org                           http://www.drivingevents.com/




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found] ` <3DF20AB4.3020205-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
@ 2002-12-07 15:11   ` Sander Smeenk
  2002-12-09 10:51   ` Ducrot Bruno
  1 sibling, 0 replies; 8+ messages in thread
From: Sander Smeenk @ 2002-12-07 15:11 UTC (permalink / raw)
  To: Gregory Gulik; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

Quoting Gregory Gulik (greg-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org):

> I was hoping to try out a newer development driver but I'm not sure if 
> it's best to just try the acpi-20020918 for which 2.4.18 patches are 
> available, or should I not bother with those and go with the latest 
> drivers for 2.4.20, which obviously means upgrading to that kernel???

I'd say upgrade to that kernel. :)

-- 
| Age is a very high price to pay for maturity.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found] ` <3DF20AB4.3020205-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
  2002-12-07 15:11   ` Sander Smeenk
@ 2002-12-09 10:51   ` Ducrot Bruno
       [not found]     ` <20021209105144.GB26375-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Ducrot Bruno @ 2002-12-09 10:51 UTC (permalink / raw)
  To: Gregory Gulik; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

On Sat, Dec 07, 2002 at 09:50:28AM -0500, Gregory Gulik wrote:
> 
> I recently got a Toshiba Satellite 1115-S103 laptop which only has ACPI 
> power management.  Obviously the drivers in RH 8.0 (kernel version 
> 2.4.18-18.8) don't do anything useful.
> 
> I was hoping to try out a newer development driver but I'm not sure if 
> it's best to just try the acpi-20020918 for which 2.4.18 patches are 

This one have know bug.  Try a more recent one.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found]     ` <20021209105144.GB26375-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2002-12-09 13:56       ` Gregory Gulik
       [not found]         ` <3DF4A0F4.6060103-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Gulik @ 2002-12-09 13:56 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A


I ended up upgrading my kernel to 2.4.20 and applied the 
acpi-20021205-2.4.20.diff.

I turned off APM and chose the following ACPI related kernel config options:

# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_ACPI=y
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUSMGR=m
CONFIG_ACPI_SYS=m
CONFIG_ACPI_CPU=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_AC=m
CONFIG_ACPI_EC=m
CONFIG_ACPI_CMBATT=m
CONFIG_ACPI_THERMAL=m

For some reason no modules were installed in /lib/modules/2.4.20:

[root@toshiba1115 linux-2.4.20]# find /lib/modules/2.4.20 -name '*acpi*' 
-print
[root@toshiba1115 linux-2.4.20]#

Just to make sure I started over and did it again.  Same thing.
I'm sure I'm missing just one simple step.



Ducrot Bruno wrote:
> This one have know bug.  Try a more recent one.
> 

-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org                           http://www.drivingevents.com/




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found]         ` <3DF4A0F4.6060103-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
@ 2002-12-09 14:07           ` Matthew Wilcox
       [not found]             ` <20021209140714.H20336-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Wilcox @ 2002-12-09 14:07 UTC (permalink / raw)
  To: Gregory Gulik; +Cc: Ducrot Bruno, acpi-devel-pyega4qmqnRoyOMFzWx49A

On Mon, Dec 09, 2002 at 08:56:04AM -0500, Gregory Gulik wrote:
> For some reason no modules were installed in /lib/modules/2.4.20:

did you run `make modules_install'?

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found]             ` <20021209140714.H20336-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
@ 2002-12-09 14:14               ` Gregory Gulik
       [not found]                 ` <3DF4A54F.2030400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Gulik @ 2002-12-09 14:14 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Ducrot Bruno, acpi-devel-pyega4qmqnRoyOMFzWx49A


Of course.
I just ran it again just now for about the tenth time and still no go. 
Here's the relavant part of the output from "make modules_install":

make[1]: Entering directory `/usr/src/linux-2.4.20/drivers'^M
make -C acpi modules_install^M
make[2]: Entering directory `/usr/src/linux-2.4.20/drivers/acpi'^M
make[2]: Nothing to be done for `modules_install'.^M
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/acpi'^M
make -C atm modules_install^M

Yet that directory does seem to contain the files:

[root@toshiba1115 linux-2.4.20]# ls drivers/acpi/
Config.in       battery.c    executer   ospm         resources
Makefile        blacklist.c  fan.c      parser       system.c
ac.c            bus.c        hardware   pci_bind.c   tables
acpi.o          button.c     include    pci_irq.c    tables.c
acpi_bus.h      dispatcher   namespace  pci_link.c   thermal.c
acpi_drivers.h  driver.o     numa.c     pci_root.c   toshiba_acpi.c
acpi_ksyms.c    ec.c         os.o       power.c      utilities
acpi_ksyms.o    events       osl.c      processor.c  utils.c
[root@toshiba1115 linux-2.4.20]#


Maybe I'll just wipe out that directory and start all over with a fresh 
copy of the kernel sources and acpi patch...


Matthew Wilcox wrote:
> did you run `make modules_install'?
> 

-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org                           http://www.drivingevents.com/




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found]                 ` <3DF4A54F.2030400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
@ 2002-12-09 15:12                   ` Gregory Gulik
       [not found]                     ` <3DF4B2F6.6070400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Gulik @ 2002-12-09 15:12 UTC (permalink / raw)
  Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A


I did that my starting with a clean 2.4.20 kernel, applied the 
acpi-20021205-2.4.20.diff patches, reconfigured my kernel, did the 
correct kernel build procedure.  Everything worked without apparent 
error and I do have files in the acpi driver directory:

[root@toshiba1115 pcmcia-cs-3.2.3]# ls 
/lib/modules/2.4.20/kernel/drivers/acpi/
ac.o  battery.o  button.o  fan.o  processor.o  thermal.o  toshiba_acpi.o


While updating my PCMCIA driver I saw the following errors:

make[2]: Leaving directory `/usr/src/pcmcia-cs-3.2.3/etc/cis'
-> Updating client scripts in /etc/pcmcia
-> Running depmod...
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/ac.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/button.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/fan.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/processor.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/thermal.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/acpi/toshiba_acpi.o
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.3/etc'
[root@toshiba1115 pcmcia-cs-3.2.3]#

Is this anything to worry about??

Gregory Gulik wrote:
> Maybe I'll just wipe out that directory and start all over with a fresh 
> copy of the kernel sources and acpi patch...

-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org                           http://www.drivingevents.com/




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Newbie looking to try latest ACPI support...
       [not found]                     ` <3DF4B2F6.6070400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
@ 2002-12-09 20:20                       ` Gregory Gulik
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory Gulik @ 2002-12-09 20:20 UTC (permalink / raw)
  Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A


Still no joy...

Even tough everything "seemed" to compile and install I can't load my 
ACPI modules.  Any time I try I get stuff like this:

[root@toshiba1115 root]# insmod battery 2>&1 | more
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_get_handle_R2bfeb410
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_ut_exit_R4403d3ee
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_os_free_R43b9bbb4
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_extract_package_R06f4a82a
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_ut_trace_R8d457864
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_remove_notify_handler_R2bb55d6e
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_ut_value_exit_Rdcbde352
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_evaluate_object_R39f1a5dc
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_bus_get_status_Redecd2bd
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_ut_debug_print_Rac38b5ca
/lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol 
acpi_bus_generate_event_R03047640
...and so on...

I even logged the output of "make modules" and checked the acpi stuff 
and there is no sign of any kinds of errors...


-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org                           http://www.drivingevents.com/




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-12-09 20:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-07 14:50 Newbie looking to try latest ACPI support Gregory Gulik
     [not found] ` <3DF20AB4.3020205-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
2002-12-07 15:11   ` Sander Smeenk
2002-12-09 10:51   ` Ducrot Bruno
     [not found]     ` <20021209105144.GB26375-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-09 13:56       ` Gregory Gulik
     [not found]         ` <3DF4A0F4.6060103-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
2002-12-09 14:07           ` Matthew Wilcox
     [not found]             ` <20021209140714.H20336-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-12-09 14:14               ` Gregory Gulik
     [not found]                 ` <3DF4A54F.2030400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
2002-12-09 15:12                   ` Gregory Gulik
     [not found]                     ` <3DF4B2F6.6070400-eIr5aKVv5JjYtjvyW6yDsg@public.gmane.org>
2002-12-09 20:20                       ` Gregory Gulik

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