intricacies, so thought of this
exercise. Is it possible ?
On Fri, Aug 14, 2015 at 6:10 PM, Pranay Srivastava
wrote:
> On Fri, Aug 14, 2015 at 5:38 PM, KASHISH BHATIA
> wrote:
> >
> > Is it possible to send signal from one kthread to another kthread using
> signal apis defined in
Is it possible to send signal from one kthread to another kthread using
signal apis defined in signal.h and signal.c. Also I want to override the
default behavior of a signal handler. How can I achieve this ?
--
Regards,
Kashish Bhatia
?
--
Regards,
Kashish Bhatia
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thank you all for answers.
Yann Droneaud,
Could you shed some light on how kernel uses mkfs output when we run mount
command?
--
Regards,
Kashish Bhatia
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org
Hi,
I want to print contents of runqueue of my current processor.
I got the pointer to current task_struct.
To get runqueue, I called task_rq().
When compiled the module, it gave an error.
Actually struct runqueue and task_rq() is not in any header file. It is
present in kernel/sched.c
Is there
Hi Abhijit,
On Tue, Sep 20, 2011 at 5:14 PM, Abhijit Pawar wrote:
> Hi list,
> It seems that the support for get_sb function is removed from kernel 2.6.39
> onwards. My code which is working till 2.6.38 series is failing with new
> kernels.
>
>
The function "get_sb()" is still present in securi
Hi,
There is no licensing mistake because I already included MODULE_LICENSE(
"GPL" ); in my module.
I also verified the exported symbol. There is an entry for the exported
symbol in kallsyms.
Is there any other reason of getting this kind of error?
--
Regards,
Kashish
__
ol version for function_name
Can anybody explain what is this error and how to resolve this error ?
--
Thanks & Regards,
Kashish Bhatia
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
yaah, I read the man page
It can be done in following way
[root@KASHISH KASHISH]# debugfs
debugfs 1.41.9 (22-Aug-2009)
debugfs: open -c /dev/sda5
/dev/sda5: catastrophic mode - not reading inode or group bitmaps
debugfs: stat <14>
Inode: 14 Type: regularMode: 0644 Flags: 0x0
Generatio
Hi, Manish
I used debugfs . But it is not showing the required output.
[root@KASHISH mnt]# debugfs
debugfs 1.41.9 (22-Aug-2009)
debugfs: ncheck 14
ncheck: Filesystem not open
debugfs: stat <14>
stat: Filesystem not open
I mounted my ext2 fs which I created on /dev/sda5 in /mnt directory an
Hi all ,
If I want to display block numbers of a file.
For instance file size is 64KB and block size is 4KB. So the data will
accommodate in 16 blocks.
Now I accessed an array named "i_block[ ]" present in ext2_inode structure.
This array stores the
block numbers of a file.
The first 12 blocks a
Suppose if I wrote a simple c program but I want to execute this program
everyday at a
specific time ( say at 12 p.m) .
Is there any command by which I can schedule the execution of any
process(a.out in this case)?
--
Regards,
Kashish
___
Kernelnewb
hi all ,
here is my query :
I made a module which access a disk inode using function named
ext2_get_inode().
It returns structure pointer of disk block. I copied this structure pointer
in a variable
of same datatype as of disk inode which is present in my module.
Then I changed some fields of th
Hi, Manish
How to use debugfs?
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Sun, Feb 20, 2011 at 7:32 PM, Abhijit Hoskeri
wrote:
> On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia
> wrote:
> > Is there any method/command/utility to know what are the block numbers
> which
> > are allocated to a file in ext2 fs?
> >
>
> The FIBMAP ioct
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2 fs?
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnew
No, I want to call the function present in kernel which reads the block data
and returns the data or pointer to the data.
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinf
Hi All,
Does anybody know a function which can be used to read the data of disk
block in ext2 fs?
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi all ,
I wanted to free a data block from disk. So I made a loop device for ext2 fs
and inserted my module(code) through insmod command.
Here are the details :
I found a function named ext2_free_data() which takes block numbers to be
freed as a parameter. The declaration of the function is as f
>
> Hi Dave,
>
Yes, I know which symbol is unknown in my module. It is ext2_free_data()
function.
I think the function is not exporting properly.
The entire detail of my doubt is present in first thread of this mail.
--
Regards,
Kashish
___
Kernelnew
*yes I compiled the kernel again and then tried to insert my module. I think
the function is not properly exporting.*
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/ker
Hello All,
I want to export a function named ext2_free_data() which is present in
inode.c .
This function is statically defined in this file. I omit the "static"
keyword and exported it
using EXPORT_SYMBOL(ext2_free_data).
ext2_free_data() function declaration is not present in any header file , s
22 matches
Mail list logo