Dear all:
While studying the kernel source code, I always confused with the Endian
Order.
I have studied the article about Endian order on the net.
Usually they gave an example as below:
A 4 byte LongInt
0xabcdefgh
will be arranged in memory as follows:
Base Address+0 gh
Hi Linto,
If you have source code, you can easily learn how to develop simple
file system.
Please refer vfs.txt in Documentation folder .
linux-2.6.18.8/Documentation/filesystems
regards,
K.Lekshmanan
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTEC
*Hi friends,*
*I want to learm how to wrtite a file system driver for linux.*
*I want suggestion from all of you regarding best books available for*
*it. Also about online resources available.*
*Regards,*
*Linto Poulose E*
Hi Thomas and List,
Thomas Petazzoni free-electrons.com> writes:
>
[...]
>
> I suspect that the argument "struct page *" is passed in %rdi. It first
> dereferences it to get the page->flags value (which is at the beginning
> of the page structure). Once this value is in %rax, it shifts it right
In the 2.6 kernel, it is no longer possible to globally disable
interrupts. In particular, the cli(), sti(), save_flags(), and
restore_flags() functions are no longer available. Disabling interrupts
across all processors in the system is simply no longer done.
It is still possible to disable all i
On Jan 22, 2008 9:46 PM, Gu Zhongshu <[EMAIL PROTECTED]> wrote:
> Hi Mayank:
> Thank you for you information.
> At last I found it is the problem of forgetting to set permission of
> kernel to write the page table that cause this problem. And the cr0_WP
> set in cr0 is used to cause this issue.
>
Hi,
How can we disable all interrupts in Linux.(any command for
that!).
Thank you,
vasant.
Hi Mayank:
Thank you for you information.
At last I found it is the problem of forgetting to set permission of
kernel to write the page table that cause this problem. And the cr0_WP
set in cr0 is used to cause this issue.
On Jan 23, 2008 4:20 AM, Mayank Kaushik <[EMAIL PROTECTED]> wrote:
>
> On Ja
Hi...
here is what I know...
On Jan 21, 0108 4:55 AM, Christopher Reder <[EMAIL PROTECTED]> wrote:
> hello all. I am working on an embedded device and will want it to play some
> simple system sound commands when buttons are pressed etc but want them to
> play with no delay. That is, when I p
On Jan 22, 2008 2:36 AM, Gu Zhongshu <[EMAIL PROTECTED]> wrote:
> Hi All:
> During implementing lab2 for the memory management code
> In the function i386_vm_init,
> I have passed the check_boot_pgdir().
> But then the bochs report
>
> Bochs is exiting with the following message:
> [CPU0 ] excepti
On Thu, Jan 17, 2008 at 05:32:53PM +0100, Andrey Movchan wrote:
> Hi,
> I use usb-skeleton.c from linux kernel 2.6.19 distribution to write a driver
> for USB mass storage device.
Wait, why? What is wrong with the two different usb mass storage
drivers we already have in the Linux kernel tree alr
On Jan 22, 2008 10:31 AM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008 11:43 PM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am experiencing something strange about pages and ptes on x86. I am
> > calling alloc_pages() with order = 1 (should be 2 pages). This returns
>
Hello,
On Jan 22, 2008 1:41 PM, Onkar <[EMAIL PROTECTED]> wrote:
> What is the best way to learn assmebly instead of jut going through the
> data sheets of processors ? Any project/pointers/links that might help //
>
>
> Thanks & regards,
> Onkar
>
>
I would suggest trying to make write simple
On Tue, Jan 22, 2008 at 06:17:29PM +0530, Kathiresan, Lekshmanan wrote:
>I want to print current date and time in a kernel module.
>
> 1) do we have direct functions that we could use in kernel?
No.
>2) Can get time from epoch using gettimeofday? So, how do I convert
> it to the curr
Hi All,
I want to print current date and time in a kernel module.
1) do we have direct functions that we could use in kernel?
2) Can get time from epoch using gettimeofday? So, how do I convert
it to the current date and time string. Is there something similar to
use
Hi All,
I want to print current date and time in a kernel module.
1) do we have direct functions that we could use in kernel?
2) Can get time from epoch using gettimeofday? So, how do I convert
it to the current date and time string. Is there something similar to
userspace
What is the best way to learn assmebly instead of jut going through the
data sheets of processors ? Any project/pointers/links that might help //
Thanks & regards,
Onkar
Hi,
Is it necessary for every filesystem supported by kernel 2.6 to have a
implementation of alloc_inode vfs ops ?
The reason i am asking this is because earlier in 2.4 days we had fs
specific inode info structure embedded in the inode structure in a
union, which means that even if you allocate n
On Tue, Jan 22, 2008 at 02:56:38PM +0530, Onkar wrote:
> How do I get the filesystem which is shadowed by another file system ?? For
> instance , ext3 is mounted on /root mount point. But this is alo a mount
> point for rootfs (which is not unmounted ,AFAIK) .
Your best bet would be /proc/mounts
Hi,
Le Tue, 22 Jan 2008 16:15:49 +0530,
Shreyansh <[EMAIL PROTECTED]> a écrit :
> (This is a x86_64 machine I am working on, running SLES10 SP1)
I don't have the source code for that exact kernel version, and several
things have changed since then.
> 1) What does the instruction "mov 0xff
Hi List,
While working on a kernel module, I am getting OOPs and was trying to
debug it using the crash tool.
Can you please help me understanding an disassembled code snippet.
A brief about the situation:
(This is a x86_64 machine I am working on, running SLES10 SP1)
Following is the code where
On Jan 21, 2008 11:43 PM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am experiencing something strange about pages and ptes on x86. I am
> calling alloc_pages() with order = 1 (should be 2 pages). This returns
> a struct page with virtual address c780 (returned by
> page_address()). N
How do I get the filesystem which is shadowed by another file system ?? For
instance , ext3 is mounted on /root mount point. But this is alo a mount
point for rootfs (which is not unmounted ,AFAIK) .
Thanks & regards,
Onkar
Hi All:
During implementing lab2 for the memory management code
In the function i386_vm_init,
I have passed the check_boot_pgdir().
But then the bochs report
Bochs is exiting with the following message:
[CPU0 ] exception(): 3rd (13) exception with no resolution
after the lcr0(cr0).
Can you give m
Hi..
On Jan 22, 2008 5:43 AM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am experiencing something strange about pages and ptes on x86. I am
> calling alloc_pages() with order = 1 (should be 2 pages). This returns
> a struct page with virtual address c780 (returned by
> page_address(
25 matches
Mail list logo