You are not logged in.
I installed the acct utils by pacman, but it seems can't work:
accton:Function not implemented
Anyone could help me?
Offline
You need a kernel with process accounting enabled. Check the output of
zcat /proc/config.gz | grep ACCT
If you see CONFIG_BSD_PROCESS_ACCT=y, the kernel supports process accounting. If not, well... it's time to compile a new kernel.
EDIT: To turn it on set General setup -> BSD Process Accounting to "y" when configuring the kernel.
Offline
Yes, I find the option BSD Process Accounting in kernel config menu.
I want to know which options should I use if I want to optimize the kernel for i686 system as arch did.
Offline
I recommend reading this wiki page carefully before building the kernel:
http://wiki.archlinux.org/index.php/Cus … n_with_ABS.
This is a _very_ short summary of the steps you need to take:
1) Grab the PKGBUILD from the above page and put it into the directory where you are building the kernel.
2) Copy the files config and kernel26.install from /var/abs/kernels/kernel26 to the kernel build directory. You might need to run abs as root before you do this. This ensures that you start from the default Arch kernel configuration and optimizations.
3) Edit PKGBUILD to set the right kernel version (pkgver) and select the configuration method (menuconfig/xconfig/gconfig).
4) I'm assuming you are not using any kernel patches, so just start the pkgbuild process with makepkg.
5) Make the changes you want to the kernel configuration. If not using patches, remember to check that LOCALVERSION is set (under General Setup -> Local version).
6) Save the changes and exit kernel configuration. You will be asked whether to 'make clean', just say yes if this is the first build of the kernel.
7) The kernel hopefully gets compiled and packaged.
8 ) Install the package with pacman.
9) Upgrade your bootloader (read the instructions!)
10) Reboot and select your new kernel.
That's it really. Good luck.
Offline
I compiled a new kernel of version 2.6.13.2, but failed - cant mount root fs. Maybe I made some mistakes in configuring the kernel.
I follow you this time.;p
Offline
Mounting / fails most likely because the new kernel tries to mount the root filesystem with the new udev naming scheme. The old devfs is not supported by kernels 2.6.13 and above. Luckily, there is a wiki about migrating to udev: http://wiki.archlinux.org/index.php/Udev.
What you need:
1) pacman -S udev
2) Edit /etc/fstab (backing up the old one is a very good idea) according to the wiki instructions. Notice that editing /etc/fstab may cause problems when booting the old kernel. Having a rescue CD nearby is also a good idea.
3) Change the root= parameter for your new kernel in lilo or grub. That is, root=/dev/hdXX where XX is the mount point of the root partition according to the udev naming scheme.
4) Reboot and hope for the best.
Offline
I modified my grub boot menu to udev type, but it still couldn't mount /.
I'll try the arch way - using PKGBUILD
Offline