Re: Reg kdb utility

2001-07-03 Thread SATHISH.J
Hi, I tried to use kdb on my 2.2.14-12 kernel. I was able to compile the file /usr/src/linux/arch/i386/kdb/modules/kdbm_vm.c and could get the object file. When I tried to insert it as a module it givesd the following error message: ./kdbm_vm.o: kernel-module version mismatch ./kdbm_vm.

Reg crash utility installation

2001-07-01 Thread SATHISH.J
Hi, I installed crash2.6 on my machine. When I give the command "crash" from the prompt it says "no debugging symbols found in /boot/vmlinux2.2.14-12". Why does this message show. Thanks in advance, Regs, sathish - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Reg installing a patch on linux

2001-06-26 Thread SATHISH.J
e out with this. Thanks in advance, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

using gdb to debug kernel

2001-06-26 Thread SATHISH.J
Hi, I would like to know how I can use gdb to debug some function in the kernel. Please help me out with this detail. Thanks in advance, Regs, sathish - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Reg Kernel Debugger kgdb

2001-06-25 Thread SATHISH.J
me how I should go about it. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://w

Reg Kernel Debugger kdb

2001-06-24 Thread SATHISH.J
Hi, I would like to use a kernel debugger to set some breakpoints in some of the kernel functions. In SVR4 and unixware we use kdb. What is its equivalent in linux? Please tell me where the kernel debugger can be downloaded for linux. Thanks in advance, With regards, sathish.j - To

filldir() function

2001-06-20 Thread SATHISH.J
Hi, Please someone tell me what is the function of filldir() function. I could not understand it from the code. Just give me an outline of what it will do. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Reg putname() function

2001-06-18 Thread SATHISH.J
Hi, Can anybody please tell me what the following assembly code means: Tne function put_unused_fd() does FD_CLR() to clear the file descriptor allocated in case file pointer could not be got. Before returning -1 as file descriptor it goes to put_unused_fd() which calls FD_CLR() which is as follow

Reg:current a pointer to task_struct

2001-06-18 Thread SATHISH.J
Hi, Please help me with the following: I tried to go through get_current function which is in assembly. static inline struct task_struct * get_current(void) { struct task_struct *current; __asm__("andl %%esp,%0; ":"=r" (current) : "0" (~8191UL)); return current; } Ple

function of getname() function

2001-06-18 Thread SATHISH.J
Hi, Sorry if this question is too silly. I could not understand what getname(filename) function in the sys_open() function is doing. I could not understand from the code what exactly it is doing. Please help me with the same. Thanks in advance, Regards, sathish - To unsubscribe from this li

Reg:use of file_system_type structure

2001-06-17 Thread SATHISH.J
Hi, Every file system has file_system_type structure defined. Where else this structure is referred. Does register_filesystem() refer this structure. Does sys_mount refer to this structure by any means? Please help me with the info. Thanks in advance, Regards, sathish.j - To unsubscribe from

Reg:magic number of the filesystem

2001-06-17 Thread SATHISH.J
Hi, Every file system has a magic number. Can you please tell me what for this magic number is used. When do we really use this unique magic number of the file system and why? Thanks in advance. With Regards, sathish - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Reg:dentry->d_mounts value

2001-06-17 Thread SATHISH.J
s this used. Please help me with this information. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Reg file system hash function

2001-06-15 Thread SATHISH.J
);". Why should it callfilesystem dependant hashing. What is the main purpose of hashing here. Please help me with these details. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

RAM filesystem directory size

2001-06-14 Thread SATHISH.J
advance, With Regards, Sathish.J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Reg-directory size

2001-06-14 Thread SATHISH.J
. Please tell me where in the code does this directory size changes. Is it in VFS level or in the file system level? Please tell me this which would be of great use to me. Thanks in advance, With Regards, Sathish.J - To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu

exec format error

2001-06-10 Thread SATHISH.J
Hi, Sorry to disturb you. I have written a file system in 2.2.14 kernel similar to ramfs on 2.5 kernel. I am able to register,mount and do file and directory operations. I tried to write a C program and compile it. The compilation gave me the object file. When i tried to run the object file it ga

Reg compiling of source code

2001-06-08 Thread SATHISH.J
Hi, Sorry to disturb you. I am in the process of writing a file system on 2.2.14 kernel similar to ramfs on 2.4 kernel. I feel I should put some debug statements in the vfs code and check the working. Please help me by trelling me how to compile code in the vfs layer and add it to kernel. This in

Reg mkdir syscall

2001-06-04 Thread SATHISH.J
kdir fails with EEXIST error. Please help me with your thoughts. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info

one link missing for a directory

2001-05-30 Thread SATHISH.J
Hi, Sorry to disturb you. I tried to create a file system similar to ramfs on 2.2.14 kernel. I was able to insert it as a module and mount it to ram disk at /dev/ram0 at a mount point called /mnt. It gets mounted . But after mounting it the link count of directory /mnt becomes 1 and size becomes

Reg:usage of insmod

2001-05-25 Thread SATHISH.J
Hi all, Sorry for disturbing you with my doubt. I tried to insert a module(my own object file called dssp.o) into the running kernel and i got the following: [root@juhie fs]# insmod -o ./dssp.o -f dssp Using /lib/modules/2.2.14-12/fs/dssp.o /lib/modules/2.2.14-12/fs/dssp.o: couldn't find the

Reg ramfs mkfs

2001-05-24 Thread SATHISH.J
r mounting it. Please help with the answers as I am highly confused. Thanks in advance, Regards, sathish.j - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-i