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): kernel-2.4.21-9.EL How reproducible: Always Steps to Reproduce: 1. Use ioctl_by_bdev() to call underlying (sd) driver's ioctl 2. 3. Actual Results: kernel panic Expected Results: Info is obtained from underlying driver Additional info:
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] driver code
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 output.
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.