Re: Random number generator in Linux kernel

2005-03-09 Thread selvakumar nagendran
I think ur idea of generating a random number with a seed will not be effective. The kernel comes up with true random number generation by using the random interaction of device drivers with the kernel. I think that will be more effective than ur logic. It provides true randomness and it av

problem in adding a new element to task_struct

2005-03-09 Thread selvakumar nagendran
I want to add a linked list member(list_head) to the task_struct data structure in kernel 2.4.28 for my personal work. When I added them without initializing them in INIT_TASK, no problem occurred. But when I initialized the linked list member using LIST_INIT_HEAD the kernel stops in POSIX ini

Is there any list like this for Linux system administration?

2005-02-02 Thread selvakumar nagendran
Hello everyone, Is there any mailing list like this for Linux system administration? Plz help me regarding this? Thanks and Regards, selva __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com - To unsubscribe

Kernel oops on integrating a module with obj-y option

2005-01-28 Thread selvakumar nagendran
Hello everyone, I am using Fedora core 1. I am doing my project in the linux kernel 2.4.28. In my project, I am intercepting system calls. I am doing all these things from a module. Now, I installed this module with the main kernel and I found it working nice when I used 'modprobe

Error : kernel error when obj-m is replaced with obj-y

2005-01-28 Thread selvakumar nagendran
Hi, I included my module into the main kernel object file by modifying the top Makefile i.e obj-y magic. Now, when I reboot the system the module works. But in the new hardware detection phase, X server and other applications failed. The kernel prompted to repair the file system and to reboot t

mkinitrd with module halts the kernel

2005-01-24 Thread selvakumar nagendran
I used mkinitrd along with the 'with' option to create the initrd image along with my module. My module intercepts read and write system calls. I am using kernel 2.4.28. Now, when the kernel boots, it hangs up and prompts for checking the disk. It never proceeds to the next stage. How can I

Help Regarding putting my module into the kernel

2005-01-23 Thread selvakumar nagendran
Hello linux-experts, I am intercepting a few syscalls in kernel 2.4.28. My module name is rsched.c. To put it in the kernel, I created a new subdirectory with the name rsched under /linux-2.4.28 source directory. I created the Makefile for it. I included the rsched subdirectory in the list of

System calls effect after booting phase ??

2005-01-20 Thread selvakumar nagendran
--- [EMAIL PROTECTED] wrote: > Possibility 1: > Load them from an initrd image while booting. If > you're already > using an initrd, and this is "early enough", you > just need to put the > module into the initrd, and make sure the /linuxrc > or whatever script > does an insmod for it. This has

Finding inode removal

2005-01-18 Thread selvakumar nagendran
Hello linux-experts, while executing pipe syscall, same inode is used for both reading and writing. Now, if all processes accessing the inode have terminated, the inode will be removed. Now I am recording inode information in my own structure in a kernel module by intercepting syscalls. If the

2.4 scheduler with O(1) scheduler

2005-01-18 Thread selvakumar nagendran
Hello linux-experts, From which kernel series onwards O(1) scheduler was incorporated into linux? I want a 2.4.x kernel with O(1) scheduler. But I downloaded 2.4.28 scheduler from kernel.org. It was the latest one in the list in the 2.4.x series. But it misses O(1) scheduler. Where can I get a 2