Refer
Linux Kernel Development by Robert Love.
You will get your answer.
On Mon, Nov 17, 2008 at 8:52 PM, shyam Burkule <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> As I read from Understanding The Linux Kernel for each process, Linux packs
> two different data structures in a single per-process
> 5. rmmod module
Ok. Now there is no driver associated with your device.
> 6. again use test program to open the device. But this time it gives seg
> fault.
You are again trying to access the device- after removing the driver?
Why do you want to do this?
> 7. Later When I try to insert module th
Thanks for the response to everyone. I am attaching my program files.
Here are the steps I followed.
1. first insmod module
2. get major number from /proc/devices
3. create device node with major number
4. use the test program to see whether the printk messages are printed to
/var/log/messages
On Thursday 06 November 2008, Thomas Rega wrote:
> following lines in Documentation/usb/gadget_serial.txt:
>
> ---8<---
> Versions of the gadget serial driver are available for the
> 2.4 Linux kernels, but this document assumes you are using
> version 2.3 or later of the gadget serial driver in a
Hi,
In the file Documentation/IO-mapping.txt it has been written as follows
"--
Now, just as an example, on the PReP (PowerPC Reference Platform), the
CPU sees a memory map something like this (this is from memory):
0-2 GB "real memory"
2 GB-3 GB "system
What test suite is ran when new Linux kernel is released. I am perticularly
interested in socket api and networking subsystem testing.
Thanks
Usman
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.o
u posted right...but i don't understand your question
On Wed, Nov 12, 2008 at 9:47 PM, <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to write a fs, that caches the content of another fs to disc, so the
> final fs should work with two discs.
eg"myfs" will cache an existing ext3 fsto ano
hi, all
as I understand, ->readpage() will be invoked on address space object at
some point when you do a syscall on read.
for ext3, it will be ext3_readpage, which ask mpage_readpage() to do the
job.
what I don't follow is why the function doc right before mapge_readpage()
claims "This isn't cal
> I think you will need to write a small uart handling routine from scratch
> (if this is new arch) in order to send the chars to the serial line.
>
Hi:
thanks for your kind help.
The location I want the printk works is at init/main.c and I am not
sure the kernel serial driver is ready to use at so
Hi Manish...
On Sat, Nov 15, 2008 at 5:22 PM, Manish Katiyar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I got a simple (probably silly question) while we were trying to hook
> a system call few days back in one of the threads posted earlier.
> Let's say I want to log all the users/calls of someone calli
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). And using major number from
> /proc/devices I create a device node in /dev (mknod
On Mon, Nov 17, 2008 at 8:56 PM, Mulyadi Santosa
<[EMAIL PROTECTED]> wrote:
> Hi Manish...
>
> On Sat, Nov 15, 2008 at 5:22 PM, Manish Katiyar <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I got a simple (probably silly question) while we were trying to hook
>> a system call few days back in one of the t
Hi All,
As I read from Understanding The Linux Kernel for each process, Linux packs
two different data structures in a single per-process memory area: a small
data structure linked to the process descriptor, namely the thread_info
structure, and the Kernel Mode process stack. Here I am not underst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mulyadi Santosa wrote:
> Hi...
>
> On Mon, Nov 17, 2008 at 7:39 PM, Giannis Kozyrakis <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I'm doing some research, and i've noticed an odd thing in my opinion:
>>
>> 1. A
Hello,
as I got no response on my questions, I'd like to know why:
- did I post in the wrong list (but as a beginner in kernel programming - I
think, I'm a newbie)
- was my question so silly, that noone likes to reply? If so, I would
appreciate a hint on how to do it better.
- is noone out th
Hi...
On Mon, Nov 17, 2008 at 7:39 PM, Giannis Kozyrakis <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm doing some research, and i've noticed an odd thing in my opinion:
>
> 1. According to all references, the /proc/kallsyms file contains all the
> global kern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm doing some research, and i've noticed an odd thing in my opinion:
1. According to all references, the /proc/kallsyms file contains all the
global kernel symbols, and those of the modules too. [ NOT just the
exported symbols like /proc/ksyms used t
loody wrote:
> Dear all:
> I try to porting linux on my platform and I can successfully jump to
> start_kernel in init/main.c right now.
> But I want to use uart as my printk target such that I can debug by
> uart output messages.
> I have surveyed kernel/printk.c and it seems vprintk finally print
18 matches
Mail list logo