lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 8 Nov 2006 12:42:46 +0530
From:	"Palakodeti, Srinivasa Rao (STSD)" <palakodetisrinivasa.rao@...com>
To:	<linux-kernel@...r.kernel.org>
Subject:  Need help in writing Layered driver in Linux


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


Download attachment "InterSbull.c" of type "application/octet-stream" (3927 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ