Re: need help with sg ioctls
From: Bernd Schubert <hidden>
Date: 2008-03-04 11:08:04
On Thursday 28 February 2008 17:43:51 Bernd Schubert wrote:
Hello, for some reasons the kernel.org qla4xxx driver doesn't work for us. Version 5.01.00.08 seems to work a bit better, but all default sg-ioctl's are not defined. Adding these manually as in scsi/sg.c works, but IMHO is rather stupid. Is there a sane way to call sg_ioctl()? I mean it's static and also not exported and the file_operations ioctl method is already taken by the qla4xxx driver. Do I miss something?
Enventually we found the reason for all the trouble. It was a bug in one of the debian udev scripts (scsi_devfs.sh), which made it to override /dev entries with wrong device major/minors (debian bug Bug#468939). Sorry for the noise. -- Bernd Schubert Q-Leap Networks GmbH