Hi Pawel,

Tks for your advice.

> Please, switch off HTML posting as it annoys plenty of users...
Oh, sorry.  I did not recognise that after changing to "yahoo mail beta".  Now I enabled "Compose messages as plain text".  Please advise me if still on html posting.  Tks.

I'm suffering poweroff problem, on exiting "System halted" but not poweroff. 

Before reading your positng I did following steps.

# cd /usr/src/linux
# make menuconfig
checked "Legacy Power Management API"
cheched "Video" on "ACPI (Advanced Configuration and Power Interface) Support"

# make
# make install
.....
GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/vmlinuz-2.6.17-gentoo-r7
* end *

# make modules_install

Edited /boot/grub/grub.conf
....
kernel  (hd0,0)/boot/vmlinuz-2.6.17-gentoo-r7 root=/dev/hda2 noapic
...
* end *

Rebooted PC and then Shutdown
....
ERROR : Cannot stop localmount as net.eth0 is still up
...
Shutdown : hda
System halted
* end *

But still not poweroff

Remark: the only difference from your advice is running;
# make
# make install
# make modules_install

the other way round.


# cat /usr/src/linux-2.6.17-gentoo-r7/.config | grep API
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ISA_DMA_API=y
# ATA/ATAPI/MFM/RLL support
# CONFIG_IEEE1394_EXPORT_FULL_API is not set
# CONFIG_E1000_NAPI is not set
# CONFIG_S2IO_NAPI is not set
* end *

# cat /usr/src/linux-2.6.17-gentoo-r7/.config | grep ACPI
CONFIG_X86_64_ACPI_NUMA=y
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_SLEEP_PROC_SLEEP=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_MEMORY=y
CONFIG_X86_POWERNOW_K8_ACPI=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
* end *


B.R.
SL


Correct sequence for kernel generation/update is:

Go to your new kernel directory and first get your running kernel config (if
you enabled this in previous kernel):

# zcat /proc/config.gz > .config

Now fix the config (observing which options have "NEW" at the end and
consulting online help what do they mean)

# make menuconfig
or
# make xconfig

Now compile the kernel

# make

And install it

# make modules_install
# make install

Afterwards you do nothing (if you have GRUB) or run lilo (guess, if you have
LILO :)

Take note, that some software doesn't work in monolithic kernel (meaning with
modules disabled) - especially third-party binary drivers (nvidia, ATI,
probably ndiswrapper)

--
Pawel Kraszewski
www.kraszewscy.net

--
gentoo-user@gentoo.org mailing list


Reply via email to