ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Enabling EPOLL in kernel (PPC 2.6.25)


From: Stuart Hughes
Subject: Re: [Ltib] Enabling EPOLL in kernel (PPC 2.6.25)
Date: Wed, 15 Jul 2009 08:39:53 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi B.J.

When you say: "zcat /proc/config.gz | grep EPOLL", is this something you're running on the target? it needs to be.

Also make sure you're running the newly build kernel on the target (run uname -a, or look at the boot up messages).

If it's not your new kernel running, make sure you ran ./ltib -p kernel -m scdeploy, this is what installs/copies the new image to the rootfs are.

Make sure you are tftp-ing (or otherwise copying) the right kernel.

Cross check your rootfs' notion of the kernel config by looking at rootfs/boot/linux.config, for example the ep93xx I have built shows:

$ grep CONFIG_EPOLL rootfs/boot/linux.config
CONFIG_EPOLL=y

Regards, Stuart

B.J. Buchalter wrote:
Hi Folks,

I managed to get the libraw1394 package integrated and compiled with ltib for my target, and the test programs are put into the NFS image and I am able to run them. But they fail to connect to the FireWire driver because the kernel (or maybe glibc) is not supporting the EPOLL facility.

There is a kernel CONFIG for EPOLL under "General". With my initial kernel, it was turned off.

I have since reconfigured the kernel (./ltib -c and then select kernel configuration in the LTIB menu) and enabled CONFIG_EPOLL.

There are no complaints, and I see epoll.c get compiled, but it does not appear that the facility is available in my compiled kernel. If I do:

zcat /proc/config.gz | grep EPOLL

I get:

# CONFIG_EPOLL is not set

even though is shows as set in the Linux menuconfig menu and it also shows as set in the linux build directory .config file if I do a scbuild of linux.

I'm kind of stumped as to what to be looking at to resolve this.

Anyone have any ideas?

TIA!

B.J. Buchalter
Metric Halo
http://www.mhlabs.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]