Red Hat Bugzilla – Bug 119567
passing ioctl to lower layer sd driver using ioctl_by_bdev does not work
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
Description of problem:
We are currently developing a driver over sd. This driver handles
certain driver specific ioctls and the rest are passed down to the
underlying sd device using ioctl_by_bdev.
On RedHat AS3.0 (2.4.21-9.0.1.EL) UP and SMP this is working
correctly. However on the hugemem kernel there is a kernel panic. The
hugemem kernel for AS3.0 has a 4GB-4GB split patch for the kernel and
user memory. Can you please tell me if this is the reason for the
crash and if so how I can avoid it.
Please let me know if I am using the correct logic to pass the ioctls
down to the lower layer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use ioctl_by_bdev() to call underlying (sd) driver's ioctl
Actual Results: kernel panic
Expected Results: Info is obtained from underlying driver
please provide an URL to the (GPL) source code of your driver so that
we can see what you are doing...
Created attachment 99036 [details]
Created attachment 99037 [details]
driver code, makefile, logs and dumps
Driver code, makefile, logs and netdumps on both smp and HUGEMEM are
attached. Run the scsi_unique_id /dev/sampledev command to get the
This is a very old and obviously stale issue. I'm assuming the reported found
the answer to their query sometime before now. Closing this issue out.