Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Writing Kernel Module: Using Block Device Interfac, Linux kernel programming help required
post May 30 2004, 06:47 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 30-May 04
Member No.: 3,065

This may be an advanced question, but since I'm stuck, maybe by asking it I might get a pointer.

I'm writing a device driver that needs to interface (read/write) with block device drivers.
Basically I get data from a communication protocol, and I need to pass it to a block device (md, LVM, /dev/sda? etc.).

As a test case, I have a very simple driver that creates the data itself.
After allocating buffer_heads, and filling them up with pointers to teh data buffers, I
call generic_make_request with the buffer_heads list. I crash in blkdev_release_request.

The data is not in the buffer cache, so I don't turn BH_Mapped on.

I'm looking for a forum where I can talk about this. Also, any pointers to books, papers how-tos etc regarding how to use the block device request queue interface from the kernel will help me. [I found information how to implement a request queue but not how to use it].

Go to the top of the page
+Quote Post
post May 30 2004, 07:43 AM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

If you are really can follow Alesandro Rubinis book.You can download the book from here

Here you can ask your question and i hope you will get some reply from there.

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 23rd April 2018 - 02:36 PM