Hello,
Am looking for kernel related interview questions.
Did google and got some links, but the questions faced by people in the
interviews will be helpful too.
Would Appreciate your help.
Thanks,
Sri
access to bus. UART's are worked through CPU. So they no need to
wait for I/O operations.
In other words bus is contended for among various devices. Can you
please provide more distinct explanation, between UARTs and DMA
contention for bus. Thanks in advance.
Regards,
Sri.
On Mon, Oct 11, 2010 at 10
.
Please help me clarify this doubt.
I know DMA steals some CPU cycles to transfer data, I mean does
operation with cpu cycles in parallel. Thanks.
--
Regards,
Sri.
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http
GDT's are initialized at boot time. But how about at the time
of memory allocation.
NOTE: I am not using any paging at all.
Here GDT means global descriptor table.
Please let me know. Thanks.
Sri.
Here are the links to how to develop kernel.
Also, read intel system programming guide, which gives
for you reply.
Regards,
Sri.
--
Regards,
Sri.
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
, then is it possible to assign
another DS segment. If so, how is that accomplished, since we
need to load in DS new index of segment descriptor and keep track of
all
indexes in to GDT.
Can anyone explain how above mentioned things can be achieved.
--
Regards,
Sri.
--
To unsubscribe from
Thanks. It worked.
On Sat, Sep 25, 2010 at 12:46 AM, John Mahoney jmaho...@waav.com wrote:
On Fri, Sep 24, 2010 at 9:38 AM, sri bskmo...@gmail.com wrote:
My driver write routine is not working properly.
As a result, when I do echo 123 /dev/eater, the process is stopping
and
the control
Thanks guys for the useful information.
/Sri
On Sun, Sep 26, 2010 at 9:37 AM, Dave Hylands dhyla...@gmail.com wrote:
Hi guys,
On Sat, Sep 25, 2010 at 5:08 PM, Philip Downer wrote:
javad karabi wrote:
I am very curious about this.
Where exactly does the hello text go, before
I am just saying I know inline keyword. But what is always_inline.
Thanks for replies and explanations. I got it now.
Regards,
Sri.
On Sat, Sep 25, 2010 at 4:48 AM, Michael Blizek
mic...@michaelblizek.twilightparadox.com wrote:
Hi!
On 18:56 Fri 24 Sep , Sri Ram Vemulpali wrote:
Hi all
Hi
printk(device opened\n);
printk(device file opened by %d, current-pid);
Here the second printk output is not displayed.
Without \n printk is not flushing out its buffer. If I give, \n in the
second printk it is working.
Is there any reason for that?
Sri--
what part is not able to understand?
On Fri, Sep 24, 2010 at 12:35 AM, Bond jamesbond.2...@gmail.com wrote:
Even I am facing the same so some one can elaborate a bit.
On Thu, Sep 23, 2010 at 11:56 PM, mohit verma mohit89m...@gmail.comwrote:
hi all,
i many times tried to understand the
;
printk(\nWrote %d bytes\n, data_written);
return(data_written);
}
Appreciate any help.
/Sri.
is used to place the
code in to the caller function at the time of compiler, but why
declared as macro
Any help would be appreciated.
--
Regards,
Sri.
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http
://kernelnewbies.org/FAQ
--
Regards,
Sri.
Bond, that worked.
But can you explain why that change worked?
On Sun, Sep 19, 2010 at 11:28 AM, Bond jamesbond.2...@gmail.com wrote:
On Sun, Sep 19, 2010 at 9:08 AM, Manoj Gupta manoj...@gmail.com wrote:
Change
char *memory_buffer[];
to
char *memory_buffer;
Thanks a lot Manoj that
across networks. So, this also an abstraction provided by OS. ok.
Regards,
Sri.
On Mon, Sep 20, 2010 at 1:33 AM, Rajat Jain rajatj...@juniper.net wrote:
Hello List,
I wanted to understand how the mmap works. I mean, not from the kernel APIs
or data structures perspective, but from the HW
memory
segment across networks. So, this also an abstraction provided by OS. ok.
Regards,
Sri.
On Mon, Sep 20, 2010 at 1:33 AM, Rajat Jain rajatj...@juniper.net wrote:
Hello List,
I wanted to understand how the mmap works. I mean, not from the kernel
APIs or data structures perspective
Replying to all.
Or you can set a timer which interrupts and checks the stack and prints
stack out. But you will get address of the instruction in the function.
you can see dtrace concept of hacking stack to insert callback functions to
trace callee.
Regards,
Sri.
On Sat, Sep 18, 2010 at 10:42
an interrupt or exception happens. I am not
talking about
interrupt subsystem, which is done in do_irq, checking what interrupt
occurred by reading bus,
and calling appropriate handler.
Let me know whether my understanding is right.
Thanks,
Sri.
On Sun, Sep 19, 2010 at 7:27 AM, arshad hussain arshad.su
is 8 bytes long. And how is the interrupt line
sharing is provided. Is sharing provided at OS code level.
I did not see any explanation of sharing at Intel manual (data sheet of
x86 system programming guide). Any thoughts.
Please clarify. Thanks.
--
Regards,
Sri.
.
But not for basic functions. I know this is a kind of lazy question but any
help is appreciated. Thanks.
--
Regards,
Sri.
Hi Dave,
Thanks for the link. I came across two structures when browsing
rcu_read_lock code.
what does struct lock_class_key and struct lock_class do. In what
context they are used.
Can anyone explain.
Thanks,
Sri.
On Fri, Sep 17, 2010 at 8:23 PM, Dave Hylands dhyla...@gmail.com wrote
of interfaces to request any kernel resources.
--Sri
On Thu, Sep 16, 2010 at 11:56 AM, jhoni maux jhoni.m...@gmail.com wrote:
HI,
Now i'm learn kernel module programming, but i'm still confuse about
user space context and kernel space context. anyone know about what
the different between user
raghu,
1)yes, can install as dual boot
2) kernel.org is very good source linux kernel only.
If you want to install Linux OS as dual boot, you have to get it from
fedora/ubuntu/centos sites.
-Sri-
On Thu, Sep 16, 2010 at 4:20 PM, Rags Linux linux.r...@gmail.com wrote:
Hi All,
I am
What is your purpose, for development or for rd or general purpose?
On Thu, Sep 16, 2010 at 5:09 PM, Rags Linux linux.r...@gmail.com wrote:
Hi All,
I have Pentium 4 machine. Which is the best linux distribution to install?
Ubuntu 10 and Fedora 13 are the latest. Can they run on older
this function rcu_exit_nohz() do in
irq_enter context
and what is struct rcu_dynticks is used for.
Can anyone please clarify these. Thanks.
Regards,
Sri.
Thanks pavan for the link. Useful.
On Fri, Sep 17, 2010 at 1:27 AM, Pavan Savoy pavan_sa...@sify.com wrote:
On Thu, Sep 16, 2010 at 12:08 PM, StephanT stman937-linew...@yahoo.com
wrote:
http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions
ubuntu has THE BEST package
I know what rcu is and the synchronization mechanism. I am trying to
understand struct rcu_dynticks and what this rcu_exit_nohz does in
irq_enter context. Is this something related hrtimers. please clarify,
thanks.
Regards,
Sri
Thanks,
Sri.
On Thu, Sep 16, 2010 at 7:56 PM, Dave Hylands dhyla
please clarify this, what is the right scenario.
Thanks,
Sri.
thanks to all
On Thu, Sep 9, 2010 at 8:16 AM, Bond jamesbond.2...@gmail.com wrote:
On Thu, Sep 9, 2010 at 1:10 PM, Dave Hylands dhyla...@gmail.com wrote:
Well, check your CPU usage. It's probably less than 100%. Let's say
it's at 46%. That means that the system is spending 54% of its time
. Please can anyone explain the sequence of operations how the softirq is
recognized (that it was set) and scheduled to execute.
Thanks,
Sri.
On Thu, Sep 9, 2010 at 2:45 PM, Sri Ram Vemulpali
sri.ram.gm...@gmail.comwrote:
thanks to all
On Thu, Sep 9, 2010 at 8:16 AM, Bond jamesbond.2...@gmail.com
Hi All,
Can anyone help me to understand what exit_idle() function does.
I am trying to understand the whole process of do_IRQ.
Can anyone point to how APIC protocol works and brief view of process
before do_IRQ.
Thanks,
Sri.
Can anyone please explain what irq_enter function does which is called from
do_irq.
Thanks.
Sri.
Sorry guys for interrupting your thread. I have trouble mailing to the
group.
So just testing on this thread whether I can mail to group.
kernelnewbies
On Wed, Sep 8, 2010 at 8:57 PM, Bond jamesbond.2...@gmail.com wrote:
On Thu, Sep 9, 2010 at 1:32 AM, Greg Freemyer
) and data buffer area
for skb buff.
Also, most of the driver structure is changed. If anyone can help me to
understand the arch it would help me.
Thanks,
Sri
Hi all,
Can anyone explain what is struct rcu_data and what does it store.
/* 92 http://lxr.linux.no/linux+v2.6.32/kernel/kernel/rcutree.c#L92
* Note a quiescent state. Because we do not need to know 93
http://lxr.linux.no/linux+v2.6.32/kernel/kernel/rcutree.c#L93 * how
many quiescent
I am trying to know what happens if I access device if its associated device
driver is not loaded.
I am expecting a error in the program which will gracefully exit. But not
seg fault.
On Tue, Nov 18, 2008 at 12:41 AM, Jagadeesh Bhaskar P [EMAIL PROTECTED]
wrote:
5. rmmod module
Ok. Now there
Sri
On Mon, Nov 17, 2008 at 11:34 AM, Belisko Marek [EMAIL PROTECTED]wrote:
Hi,
On Sun, Nov 16, 2008 at 5:36 AM, Sri Ram K Vemulpali
[EMAIL PROTECTED] wrote:
Hi all,
I am writing a kernel module. Where in the module, major number
is
allocated on fly (alloc_chrdev_region
the kernel to
create same major number on fly when I use insmod(kernel is picking the
major number on fly what I used for device node). When I type insmod the
whole kernel is freezing. Do you think the kernel should avoid such
situation gracefully. Any comments would be helpful. Thank you.
Sri.
Thank you Dhaval. Seems to be very good explanation of boot process and
architecture. I will look in to it.
Sri
On Tue, Oct 14, 2008 at 2:33 AM, Dhaval Shah [EMAIL PROTECTED] wrote:
The attatched document will be helpful to understand linux boot
process and clear your doubts...
Thanks
you.
Sri
On Tue, Oct 7, 2008 at 3:24 AM, Henrik Austad [EMAIL PROTECTED]wrote:
On Monday 06 October 2008 22:53:10 Sri Ram K Vemulpali wrote:
hi all,
I have a doubt? why is that kernel has to be compress the image file
to
copy to boot dir, to boot the kernel. I did not get why we do
hi all,
I have a doubt? why is that kernel has to be compress the image file to
copy to boot dir, to boot the kernel. I did not get why we do compressing
image file after we compile the kernel code. Any answers would be helpful.
Thank you.
Sri
really helped me to get start on linux kernel. For writing
device drivers get Linux device drivers printed by orelly (third edition
2.6)
All the best
Sri
On Wed, Sep 24, 2008 at 9:41 AM, Sunil [EMAIL PROTECTED] wrote:
On Wed, Sep 24, 2008 at 6:10 PM, Sandeep K Sinha [EMAIL PROTECTED]wrote
execution cycle is interrupted by an event or a process.
Thank you.
Sri.
. But how is user stack created. Thank you.
Sri
to direct where more blogs are (except
sourceforge.net usually projects go really slow) It would be really helpful
for me. Please mail me as I am starving for project. Waiting for replies.
Thank you.
Sri.
46 matches
Mail list logo