Need help in writing Layered driver in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: InterSbull.c
Description: InterSbull.c


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux