On Thu, Sep 9, 2010 at 11:44 AM, Anuz Pratap Singh Tomar <
chambilketha...@gmail.com> wrote:
>
>
>> I am just trying to help,. and I understand what you are asking
> completely. but nevermind.
>
Sure thanks.
On Thu, Sep 9, 2010 at 12:01 PM, Tayade, Nilesh
wrote:
>
>
> There is a lot of material available opensource.
That exactly is the problem.Which one to read and which one not to read.
To be able to search some thing you need to be aware of what to be searched.
> And then practice.
practice wh
Hi Sri,
On Wed, Sep 8, 2010 at 9:14 AM, Sri Ram Vemulpali
wrote:
> Hi All,
> Can anyone help me to understand what "exit_idle()" function does.
The kernel has the notion of "going idle". This happens whenever there
is nothing to do. The kernel will enter idle mode, and when some
interrupt occu
> From: kernelnewbies-bou...@nl.linux.org
> [mailto:kernelnewbies-bou...@nl.linux.org] On Behalf Of Bond
> Sent: Thursday, September 09, 2010 8:27 AM
> To: kernelnewbies
> Subject: knowledge sharing
> It would good if some senior members on the list share their knowledge in
> form of some sort o
Hi Andreas,
Replying to the list this time...
On Tue, Sep 7, 2010 at 3:02 AM, Andreas Leppert wrote:
> Hello,
>
> I have encountered a problem on my 32 bit machine. Here some code
> snippets:
...snip...
> optimizer/built-in.o: In function `sys_optStopMeasure':
> /source/trunk/linux-2.6.34/optimi
I am not asking to teach C programming or user space programming or even
device driver programming.
Please read the first post to understand what I asked.
On Thu, Sep 9, 2010 at 11:39 AM, Bond wrote:
>
>
> On Thu, Sep 9, 2010 at 11:30 AM, Anuz Pratap Singh Tomar <
> chambilketha...@gmail.com> wrote:
>
>>
>>
>> Finish all exercises of KnR.
>>
> Have you yourself done that.
>
Most of them: read the book many times
Have read many C books and still rea
On Thu, Sep 9, 2010 at 11:25 AM, Bond wrote:
>
>
> On Thu, Sep 9, 2010 at 11:19 AM, Anuz Pratap Singh Tomar <
> chambilketha...@gmail.com> wrote:
>
>>
>>
>>> The best idea is to look into Robert's tutorial, they are very good and
>> comprehensive.
>>
>>
> I had looked at them the free lessons.
>
On Thu, Sep 9, 2010 at 11:19 AM, Anuz Pratap Singh Tomar <
chambilketha...@gmail.com> wrote:
>
>
>> The best idea is to look into Robert's tutorial, they are very good and
> comprehensive.
>
>
I had looked at them the free lessons.
I told you that I have written my own device driver already.So pr
On Thu, Sep 9, 2010 at 8:27 AM, Bond wrote:
> It would good if some senior members on the list share their knowledge in
> form of some sort of programming exercise on this list.
> For example decide a topic for a week and discuss about that topic in the
> week.
> Starting from some one who is abs
On Thu, Sep 9, 2010 at 8:42 AM, Silesh C V wrote:
> It would be better if you do not hijack other e-mail threads to post
> your own question.
>
I wanted to know what his code is doing.So I asked.
> Please start a new e-mail thread to post your queries. This will help
> folks who go through
> thi
Hi :)
On Thu, Sep 9, 2010 at 10:59, Vimal wrote:
> On 8 September 2010 20:46, Mulyadi Santosa >
>I thought exactly the same. But, the locking they did is in a hrtimer
> callback, which executes in hard irq context.
Ahem..i c well, plain code review is sometimes not easy as it
seems :D in th
On 8 September 2010 20:46, Mulyadi Santosa wrote:
> After reading your attached backware (just briefly, not too deep), I
> concluded that either it's something wrong with tree of task pointer
> traversalor doing lock with wrong assumption.
>
> NB: ehm, saw raw_spin_lock in this patch series,
Hi Vimal... :)
On Thu, Sep 9, 2010 at 04:36, Vimal wrote:
> @Mulyadi Santosa:
>
> Thanks for your suggestion! qemu+gdb was really helpful!
>
> All the cores were stuck on a spinlock. Attached are the different
> backtraces on cores that were spinlocked. We have contacted the
> authors and are
On Thu, Sep 9, 2010 at 8:21 AM, Bond wrote:
>
>
> On Thu, Sep 9, 2010 at 8:11 AM, ptchinster wrote:
>>
>> What do you think? Apply what you have learned so far and come up with
>> the pros and cons of being able to use negative numbers.
>>
> I read that book of Robert Love LKD.
> I am not very im
It would good if some senior members on the list share their knowledge in
form of some sort of programming exercise on this list.
For example decide a topic for a week and discuss about that topic in the
week.
Starting from some one who is absolutely new to kernel development.
(Having said that I h
On Thu, Sep 9, 2010 at 8:11 AM, ptchinster wrote:
> What do you think? Apply what you have learned so far and come up with
> the pros and cons of being able to use negative numbers.
>
> I read that book of Robert Love LKD.
I am not very impressed by the book.
The book does discuss some things whi
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 wrote:
>
>
> On Thu, Sep 9, 2010 at 1:32 AM, Greg Freemyer wrote:
>
>> Are you asking if negative numbers
Can anyone please explain what irq_enter function does which is called from
do_irq.
Thanks.
Sri.
On Thu, Sep 9, 2010 at 1:32 AM, Greg Freemyer wrote:
> Are you asking if negative numbers are useful for anything but error codes?
>
> Seriously, you're asking that?
>
> Greg
>
Yes I am asking this.
Hi John,
On 4 September 2010 17:35, John Mahoney wrote:
> On Fri, Sep 3, 2010 at 8:07 PM, Vimal wrote:
>> Hi all,
>>
>> We're making some modifications to the scheduler and the kernel
>> (2.6.35) just crashes without any error whatsoever. The crash is such
>> that the kernel responds to pings f
On Wed, Sep 8, 2010 at 12:12 PM, Bond wrote:
>
>
> On Wed, Sep 8, 2010 at 9:41 PM, Bond wrote:
>>
>>
>> does Linux Kernel uses -ve number?
>
> I forgot to say except the error things like ENOENT type other than that how
> are -ve number helpful.
Are you asking if negative numbers are useful for
On Wed, Sep 08, 2010 at 11:45:16AM -0700, Alison Chaiken wrote:
> Josh Cartwright wrote:
> > __devinitdata is a preprocessor macro that will place the storage of the
> > supported device PCI ID table in a specific section for special
> > treatment.
>
> Thanks, that's *precisely* what I wanted to
Josh Cartwright wrote:
> __devinitdata is a preprocessor macro that will place the storage of the
> supported device PCI ID table in a specific section for special
> treatment.
Thanks, that's *precisely* what I wanted to know. I will print your
answer out and stick it in the textbook. I see t
On Wed, Sep 08, 2010 at 09:54:41AM -0700, Alison Chaiken wrote:
> *Question*: the statement
>
> struct pci_device_id network_driver_pci_table[]{};
>
> defines network_driver_pci_table as an array of structs of type
> pci_device_id.What is the extra qualifier __devinitdata doing
> after the
>
On Wed, Sep 8, 2010 at 10:28 PM, Daniel Baluta wrote:
>
> Have you checked this page ([1]) ?
>
> thanks,
> Daniel.
>
> [1]
> http://en.wikipedia.org/wiki/Endianness#Examples_of_storing_the_value_0A0B0C0Dh_in_memory
>
Thanks.
On Wed, Sep 8, 2010 at 9:41 PM, Bond wrote:
>
>
> does Linux Kernel uses -ve number?
>
> I forgot to say except the error things like ENOENT type other than that
how are -ve number helpful.
Hi..
On Tue, Sep 7, 2010 at 00:53, loody wrote:
> Why I use kgdb for debugging, I cannot p/x para1, the content of para1
> cannot be seem from gdb console.
> But some global variable can be seen by gdb.
> I google this proble and it say I need to make sure some "frame
> options" should be include
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.
Hi,
On Wed, Sep 8, 2010
> This article also mentions
> " Little-endian processors store data with the right-most bytes (those with
> a higher address value) being the most significant, while big-endian
> processors store data with the left-most bytes (those with a lower address
> value) being the
The example on p. 294 of Venkateswaran's fine new _Essential Linux
Device Drivers_ says:
#include
struct pci_device_id network_driver_pci_table[] __devinitdata {
[ . . . stuff . . . ]
};
I see that __devinitdata is defined in init.h and pci_device_id is
defined in pci.h, but
*Question*: the
Hi,
http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/ELJonlineBRWriting-Portable-Device-Drivers/
I am not clear with
following section on above link
"How a structure is read from the USB connection and converted into the
proper CPU format."
*
*
This article also mentions
"* Little-end
Thanks all.
DG and Mark thanks I understood the concept.
On Wed, Sep 8, 2010 at 6:36 AM, Bond wrote:
>
>
> On Wed, Sep 8, 2010 at 12:57 PM, Anuz Pratap Singh Tomar
> wrote:
>>
>> Suggestion: read more before you ask all this, i think even googling
>> around will answer some of these queries.
>
> I understand but asking more knowledgeable people always
On Wed, Sep 8, 2010 at 8:10 PM, DG wrote:
>
> If your number is never expected to be negative, unsigned numbers give you
> a higher positive range.
>
> To understand the negative numbering:
> http://en.wikipedia.org/wiki/Twos_complement
>
> Hi, I am not clear with what does a -ve number has to do
On Wed, Sep 8, 2010 at 12:51 AM, Bond wrote:
>
>
> On Tue, Sep 7, 2010 at 11:14 PM, Bond wrote:
>
>>
>>
>> On Tue, Sep 7, 2010 at 3:32 PM, Andreas Leppert wrote:
>>
>>> Hello,
>>>
>>> I have encountered a problem on my 32 bit machine. Here some code
>>> snippets:
>>>
>>> typedef signed long s64
On Wed, Sep 8, 2010 at 8:40 AM, DG wrote:
>
>
> On Wed, Sep 8, 2010 at 12:51 AM, Bond wrote:
>
>>
>>
>> On Tue, Sep 7, 2010 at 11:14 PM, Bond wrote:
>>
>>>
>>>
>>> On Tue, Sep 7, 2010 at 3:32 PM, Andreas Leppert wrote:
>>>
Hello,
I have encountered a problem on my 32 bit machine
On Wed, Sep 8, 2010 at 4:06 PM, Bond wrote:
>
>
> On Wed, Sep 8, 2010 at 12:57 PM, Anuz Pratap Singh Tomar <
> chambilketha...@gmail.com> wrote:
>
>>
>> Suggestion: read more before you ask all this, i think even googling
>> around will answer some of these queries.
>>
> I understand but asking m
On Wed, Sep 8, 2010 at 12:57 PM, Anuz Pratap Singh Tomar <
chambilketha...@gmail.com> wrote:
>
> Suggestion: read more before you ask all this, i think even googling around
> will answer some of these queries.
>
I understand but asking more knowledgeable people always work better than
search.This
On Wed, Sep 8, 2010 at 11:59 AM, Bond wrote:
> Hi,
> I am not clear with some C syntax.
> I looked at a file
> fs.h
> there I have 2-3 doubts
>
> 1) A variable NR_OPEN is used what is this used for?
> 2) const struct iovec *iov;
> What is the meaning of const before struct here.
>
const means i
On Wed, Sep 8, 2010 at 12:27 PM, hiren panchasara <
hiren.panchas...@gmail.com> wrote:
>
> First search in google gave me this:
but what did you searched that is my problem?
Hi,
I am not clear with some C syntax.
I looked at a file
fs.h
there I have 2-3 doubts
1) A variable NR_OPEN is used what is this used for?
2) const struct iovec *iov;
What is the meaning of const before struct here.
3) Some places in the comments I see atomic operations.
What is that?
4) blkcnt
On Tue, Sep 7, 2010 at 11:53 PM, Bond wrote:
>
>
> On Wed, Sep 8, 2010 at 12:22 PM, hiren panchasara <
> hiren.panchas...@gmail.com> wrote:
>
>>
>>
>> What exactly is your question? Please elaborate.
>>
>>
> In the code signed and unsigned word are used what is that and why is that
> used?
>
Firs
On Wed, Sep 8, 2010 at 12:22 PM, hiren panchasara <
hiren.panchas...@gmail.com> wrote:
>
>
> What exactly is your question? Please elaborate.
>
>
In the code signed and unsigned word are used what is that and why is that
used?
>
>
On Tue, Sep 7, 2010 at 11:14 PM, Bond wrote:
>
>
> On Tue, Sep 7, 2010 at 3:32 PM, Andreas Leppert wrote:
>
>> Hello,
>>
>> I have encountered a problem on my 32 bit machine. Here some code
>> snippets:
>>
>> typedef signed long s64;
>>
> Ok here is an article which cleared my doubts
http://www.
46 matches
Mail list logo