INIT IPI help

2007-03-06 Thread Jonathan M. McCune
Hello, I have Linux kernel 2.6.20-rc5 running on an AMD64 CPU, although I'm running an i386 (not amd64) kernel. I need to send an INIT inter-processor-interrupt from the BSP to all APs (there is one AP in my case since my system has a dual-core CPU). After using CPU-hotplug to disable CPU1, I am

reading a binary sysfs attribute continues forever

2007-01-23 Thread Jonathan M. McCune
Hello, I have written a kernel module which introduces a new subsystem in sysfs, and it contains several attributes, one of which is binary. So far, I've been testing it using text. My problem is, attempting to read data continues forever. For example: # echo "test data" > /sys/mystuff/binarya