lkml.org 
[lkml]   [2006]   [Nov]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectNeed help in writing Layered driver in Linux
DateWed, 8 Nov 2006 12:42:46 +0530
From"Palakodeti, Srinivasa Rao (STSD)" <>
Hi,

I have attached InterSbull.c. I have sbull and sbull1 block drivers with
major number 254, 253 respectively. 
In InterSbull.c, in init_module, I am replacing sbull's ( major 254  )
make_request_fn with my kti_make_request_fn. Everything is going fine
with this. 

But when I want to write same data to other sbull1 (major number 253 ).
I am getting kernel panic. When I do an I/O to sbull device ( major
number 254 ). In WRITE, in kti_make_request_fn I am using brw_kiovec to
send I/O to 253 device

Could you help me what can be the issue in this? Any help is
appreciated.


Thanks and regards,
Srinivas

[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2006-11-08 07:17    [from the cache]
©2003-2008