Re: [PATCH] dsp56k: use request_firmware

2008-07-10 Thread Fredrik Noring
Hi David, 9 jul 2008 kl. 15.05 skrev David Woodhouse: It is in fact identical. Disassembly with the tools found on sourceforge was fun, since they have endianness bugs, don't recognise the 'JMP' which was the first instruction, and need each 3-byte instruction in the binary to be prefixed

Some doubts about ZONE_NORMAL and ZONE_HIGHMEM

2008-07-10 Thread Peter Teoh
From previous posting, Mulyadi mentioned that page mapping in ZONE_NORMAL being the default mapping. So my questions are these: If default mapping (via cr3/pgd mechanism) is ZONE_NORMAL, then how do we allocate memory in the ZONE_HIGHMEM region? (ie, does __get_free_pages() or alloc_pages()

Re: Some doubts about ZONE_NORMAL and ZONE_HIGHMEM

2008-07-10 Thread Mulyadi Santosa
Hi... On Thu, Jul 10, 2008 at 3:02 PM, Peter Teoh [EMAIL PROTECTED] wrote: From previous posting, Mulyadi mentioned that page mapping in ZONE_NORMAL being the default mapping. I think better wording is: pages are taken from ZONE_NORMAL, if no flags like GFP_HIGHMEM isn't mentioned. So my

Re: [PATCH] dsp56k: use request_firmware

2008-07-10 Thread David Woodhouse
On Thu, 2008-07-10 at 09:38 +0200, Fredrik Noring wrote: Hi David, 9 jul 2008 kl. 15.05 skrev David Woodhouse: It is in fact identical. Disassembly with the tools found on sourceforge was fun, since they have endianness bugs, don't recognise the 'JMP' which was the first instruction,

Re: getting panic during kmalloc

2008-07-10 Thread gagan grover
I have tried with GFP_HIGHUSER and I am able to allocate 1M buffers of 24 bytes. But, it is not solving my purpose as it is coming from high memory and I need to map it from ZONE_HIGHMEM to ZONE_NORMAL before using. I want to know why this panic is coming if I am giving GFP_KERNEL ? 1) May be

Help please

2008-07-10 Thread Vikram_Upparpalli
Hi , I am Vikram. Am a newbie to kernel stuff. I learn a lot about kernel development and stuff but don't really know the working design of kernel. I would like to reverse engineer the kernel source code and teach myself the memory diagrams and kernel development. Could somebody please help me

Re: Help please

2008-07-10 Thread Henrik Austad
On Thursday 10 July 2008 14:44:13 Vikram_Upparpalli wrote: Hi , I am Vikram. Am a newbie to kernel stuff. I learn a lot about kernel development and stuff but don't really know the working design of kernel. I would like to reverse engineer the kernel source code and teach myself the memory

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Kyle Spaans
Just a suggestion: I believe I'm in the same boat as yourself - trying to learn about the Linux Kernel. I've been perusing the source code as well, but what I realized I was lacking was an understanding of Operating Systems in general. So another option to consider - it's certainly helping me -

Re: Some doubts about ZONE_NORMAL and ZONE_HIGHMEM

2008-07-10 Thread Peter Teoh
Thank you Mulyadi, On 7/10/08, Mulyadi Santosa [EMAIL PROTECTED] wrote: If default mapping (via cr3/pgd mechanism) is ZONE_NORMAL, then how do we allocate memory in the ZONE_HIGHMEM region? (ie, does __get_free_pages() or alloc_pages() return us anything in those region?)

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread William Case
Hi Kyle; On Thu, 2008-07-10 at 11:10 -0400, Kyle Spaans wrote: Just a suggestion: I believe I'm in the same boat as yourself - trying to learn about the Linux Kernel. I've been perusing the source code as well, but what I realized I was lacking was an understanding of Operating Systems in

Re: My overview of the kernel -- do I have it correct ?? -- Typo fixes

2008-07-10 Thread William Case
On Thu, 2008-07-10 at 11:59 -0400, William Case wrote: Hi Kyle; On Thu, 2008-07-10 at 11:10 -0400, Kyle Spaans wrote: Just a suggestion: I believe I'm in the same boat as yourself - trying to learn about the Linux Kernel. I've been perusing the source code as well, but what I

Re: Help please

2008-07-10 Thread Henrik Austad
On Thursday 10 July 2008 17:37:19 you wrote: Have you downloaded the kernelsource? and, why would you want to reverse-engineer it? You have the source.. :-) I am looking for the memory layouts... and figure out the operation based on the memory diagrams... :) donno the exact word.

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Pranav Peshwe
On Thu, Jul 10, 2008 at 9:29 PM, William Case [EMAIL PROTECTED] wrote: Hi Kyle; On Thu, 2008-07-10 at 11:10 -0400, Kyle Spaans wrote: Just a suggestion: I believe I'm in the same boat as yourself - trying to learn about the Linux Kernel. I've been perusing the source code as well,

Re: [Bulk] Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread William Case
Hi Wolfram; On Thu, 2008-07-10 at 18:52 +0200, Wolfram Sang wrote: Hi William, On Thu, Jul 10, 2008 at 10:49:23AM -0400, William Case wrote: The tables often have pointers to each other in order to build up a full process. Some of the most important tables are; the

Need info on timer/timing mechanisms (w.r.t KVM)

2008-07-10 Thread Arn
Hi, (already posted this on KVM devel list) I'd like to know what happens when the KVM guest kernel or process in the guest tries to get timing information. For example if a userspace process in the guest calls nanotime(), getnanotime() or gettimeofday() functions, then where is the time info

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread William Case
Sorry Pranav; I cited the wrong book; On Thu, 2008-07-10 at 13:32 -0400, William Case wrote: Hi Pranav; On Thu, 2008-07-10 at 22:22 +0530, Pranav Peshwe wrote: On Thu, Jul 10, 2008 at 9:29 PM, William Case [EMAIL PROTECTED] wrote: [snip] The book that gave me the most assistance, was

Re: Help please

2008-07-10 Thread Wolfram Sang
On Thu, Jul 10, 2008 at 06:14:13PM +0530, Vikram_Upparpalli wrote: Please send me a suitable document http://lwn.net/Kernel/LDD3/ Also, books like Linux Kernel Development by Robert Love should be able to give you general ideas how things work. They may be not 100% up to date, but still good to

Re: [Bulk] Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Wolfram Sang
On Thu, Jul 10, 2008 at 01:18:38PM -0400, William Case wrote: No, I am not ignoring the importance of code. But, it seems to me, if a programmer has the right table in mind, he can get to it and follow the requisites of the hardware and the code from there. Put another way, tables seem to

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Wolfram Sang
Hi William, On Thu, Jul 10, 2008 at 10:49:23AM -0400, William Case wrote: The tables often have pointers to each other in order to build up a full process. Some of the most important tables are; the inode, the file descriptor, the socket, the process, the

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Rik van Riel
On Thu, 10 Jul 2008 10:49:23 -0400 William Case [EMAIL PROTECTED] wrote: The kernel is basically a set of tables (C struct) that are used to transform human type info into machine usable data. No. The kernel is basically a shared library with special privileges, meaning it

Message Queue

2008-07-10 Thread jelari
Hi all, In message queue implementation, where exactly the messages are stored. Process A stores data in MQ-1, and Process B retrieves messages from MQ-1. Is message queue is implemented as shared memory or with any other technique. If any one let know the URL where the internals

Re: Message Queue

2008-07-10 Thread jelari
Hi Vikram, Thanks for the reply. Just wanted to know, when the message is queued, where exactly it is located?.. Is it in the kernel stack of a process, or in shared memory ?... Not sure exactly where it is stored? yes, Kernel Gurus can help us to get more clarity. ;). Regards, -Jelari-

Re: Some doubts about ZONE_NORMAL and ZONE_HIGHMEM

2008-07-10 Thread Mulyadi Santosa
Hi! On Thu, Jul 10, 2008 at 10:51 PM, Peter Teoh [EMAIL PROTECTED] wrote: Ok, to summarize: 1. __get_free_pages(GFP_HIGHMEM, order)--- it will be from ZONE_HIGHMEM 2. Or alloc_pages(GFP_HIGHMEM, order). 3. After these just kmap() them to get the virtual address, right? Yeah...so

Re: Need info on timer/timing mechanisms (w.r.t KVM)

2008-07-10 Thread Mulyadi Santosa
Hi... On Fri, Jul 11, 2008 at 12:55 AM, Arn [EMAIL PROTECTED] wrote: Hi, (already posted this on KVM devel list) I'd like to know what happens when the KVM guest kernel or process in the guest tries to get timing information. For example if a userspace process in the guest calls nanotime(),

Message Queue.

2008-07-10 Thread jelari
is there any API exists to check if the message is arrived in the message queue, rather than retrieving the message?.. Checking the existence of the message should not remove the message from message queue. ! -Jelari- -- To unsubscribe from this list: send an email with unsubscribe