View previous topic :: View next topic |
Author |
Message |
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Thu Aug 07, 2003 5:03 pm Post subject: apm and acpi not working |
|
|
I tried 2.4.20rc-5 gentoo-source and also 2.4.21 vanilla source kernel
In either case, i can't build apm or acpi modules, or built in kernel the same
modules -> unresolved symbols
buitlt-in -> apm/acpi is not built in kernel
modprobe with the apm/acpi modules return the same error ( with apmd or acpid at boot runelevel)
I can't shutdown my machine with shutdown command (but reboot command works), it shuts power disks
I got asus a7v133 motherboard running kt133a chipset
Anybody has the same motherboard and managed to work with apm or acpi ?
7-8 kernel recompiled for nothing good, i'm fed up especially with my stock redhat is working fine with apm |
|
Back to top |
|
|
Peaceable Frood Guru
Joined: 06 Apr 2003 Posts: 338 Location: New Jersey, USA
|
Posted: Thu Aug 07, 2003 5:13 pm Post subject: |
|
|
You should only build one or the other, not both into the kernel. _________________ "Our enemies are innovative and resourceful, and so are we, they never stop thinking about new ways to harm our country and our people, and neither do we." George W. Bush |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Thu Aug 07, 2003 5:18 pm Post subject: |
|
|
yes
Of course.
I mean i tried with either apm or acpi each time. That 's why i made some many recompil of the kernel. |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Fri Aug 08, 2003 6:40 am Post subject: |
|
|
up |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Sat Aug 09, 2003 12:00 am Post subject: |
|
|
Am i alone to use an asus a7v133 ? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Aug 09, 2003 12:38 am Post subject: |
|
|
alligator421 wrote: | modules -> unresolved symbols
buitlt-in -> apm/acpi is not built in kernel |
Did you remember to mount /boot before you copied the kernel to /boot ?
Did you rerun /sbin/lilo after each kernel change ? (unless you are using GRUB) |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Sat Aug 09, 2003 12:51 am Post subject: |
|
|
At start, I was not mounting the /boot partition.
and after reading gentoo forums, i mounted /boot, copied kernel and umount after.
So i hoped that it would fix the problem but it didn't, that's why I posted this topic.
I read all topics concerning apm I guess.
Also, I'm using grub since the beginning. |
|
Back to top |
|
|
Rosjahh Apprentice
Joined: 16 Jan 2003 Posts: 182 Location: Below sealevel
|
Posted: Sat Aug 09, 2003 1:43 pm Post subject: |
|
|
When you get "unresolved symbols", you should clean up your /usr/src/linux directory:
Code: | cd /usr/src/linux
make mrproper |
Make sure to backup your kernel configuration first. After you have done this, you should do a new full kernel compilation. |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Sat Aug 09, 2003 8:27 pm Post subject: |
|
|
Damn ! It works.
make mrproper resolved the problem.
THX
Now, I can compile the apm module and modprobe it with no error.
I added apm power_off to /etc/modules.autoload.
However, when i made a "shutdown now" command, the system switched to runlevel 1 and did nothing after.
So i made telinit 0 and then it really powered off. It is ok but
why shutdown command switch to runlevel 1 instead of 0 ? |
|
Back to top |
|
|
Rosjahh Apprentice
Joined: 16 Jan 2003 Posts: 182 Location: Below sealevel
|
Posted: Sat Aug 09, 2003 8:46 pm Post subject: |
|
|
Shouldn't the command be 'shutdown -h now' ?
I'm not sure, because I usually use "halt", which works just fine. |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Sat Aug 09, 2003 9:09 pm Post subject: |
|
|
Ok , that's fine.
"halt" made the trick ...
I will try shutdown -h now later to see if this it goes the same way.
Thx for everyone on this topic for your help. |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Sun Aug 10, 2003 12:29 am Post subject: |
|
|
Moving from Installing Gentoo. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
|