I want to recompile the kernel to enable high-resolution timer. What I did are
Code:
$ su
# cd /usr/src/linux
# make mrproper
# cp /boot/config-generic-smp-2.6.27.7-smp .config
# make menuconfig # <---enable high-resolution timer and filesystems here
# make
# make modules_install
# cp arch/i386/boot/bzImage /boot/bzImage-2.6.27.7-smp
# vi /etc/lilo.conf # <---change image here
# lilo -v
# reboot
Everything went well after recompiling the kernel except for 'shutdown'. When I type
shutdown -h now, it went through the normal shutdown process. However, it stops at some point (see below) and the machine is dead. I need to power off by pressing the button. One more thing to mention:
reboot works perfectly.
Code:
...
/dev/sda1 unmount
/dev/sda8 unmount
/dev/sda7 unmount
/dev/sda6 unmount
/dev/sda5 unmount
usbfs unmount
/dev/root unmount
Remounting root filesystem read-only.
/dev/sda1 on / type ext3 (ro)
md: stooping all md devices
sd 3:0:0:0: [sdb] Synchronizing SCSI cache
sd 3:0:0:0: [sdb] Stopping disk
sd 2:0:0:0: [sda] Synchronizing SCSI cache
sd 2:0:0:0: [sda] Stopping disk
e1000e 0000:02:00.0: PCI INT A disabled
ACPI: preparing to enter system sleep state S5
Disabling non-boot CPUs ...
The machine stops here.
It seems that ACPI caused the problem. Does anyone tell me what options I need to setup?