public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.8.1-mm3
@ 2004-08-21 18:38 Mikael Pettersson
  2004-08-21 19:14 ` 2.6.8.1-mm3 Patrick Mansfield
  0 siblings, 1 reply; 8+ messages in thread
From: Mikael Pettersson @ 2004-08-21 18:38 UTC (permalink / raw)
  To: James.Bottomley; +Cc: akpm, linux-kernel, linux-scsi

I wrote:
> > > This one is broken. It causes the kernel to emit a bogus
> > > "program $PROG is using a deprecated SCSI ioctl, please convert it to SG_IO"
> > > message whenever user-space open(2)s a SCSI block device, even
> > > though user-space never did any ioctl() on it.
> > 
> > A simple open of /dev/sda from userland doesn't exhibit this behaviour
> > for me.  What sort of device is this?  And what is the program?
> 
> It happens on my USB flash memory stick, which uses USB_STORAGE and BLK_DEV_SD.
> A simple open(2) is enough to trigger the message. I'm about to try -mm3 on a
> different machine which has a "true" SCSI controller/disk combo. (I should
> have checked that first, sorry.)

I checked now, and I can also trigger the message on ide-scsi + sr
(CD writer), but not on ide-scsi + st (ATAPI tape drive) or on
a SCSI disk on a SYM53C8XX controller.

So it seems both usb storage and ide-scsi (or the cdrom module)
generate these ioctls.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: 2.6.8.1-mm3
@ 2004-08-21 17:15 Mikael Pettersson
  0 siblings, 0 replies; 8+ messages in thread
From: Mikael Pettersson @ 2004-08-21 17:15 UTC (permalink / raw)
  To: James.Bottomley; +Cc: akpm, linux-kernel, linux-scsi

On 21 Aug 2004 12:02:24 -0400, James Bottomley wrote:
> On Sat, 2004-08-21 at 10:43, Mikael Pettersson wrote:
> > On Fri, 20 Aug 2004 03:19:19 -0700, Andrew Morton wrote:
> > >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm3/
> > ...
> > > bk-scsi.patch
> > 
> > This one is broken. It causes the kernel to emit a bogus
> > "program $PROG is using a deprecated SCSI ioctl, please convert it to SG_IO"
> > message whenever user-space open(2)s a SCSI block device, even
> > though user-space never did any ioctl() on it.
> 
> A simple open of /dev/sda from userland doesn't exhibit this behaviour
> for me.  What sort of device is this?  And what is the program?

It happens on my USB flash memory stick, which uses USB_STORAGE and BLK_DEV_SD.
A simple open(2) is enough to trigger the message. I'm about to try -mm3 on a
different machine which has a "true" SCSI controller/disk combo. (I should
have checked that first, sorry.)

/Mikael

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: 2.6.8.1-mm3
@ 2004-08-21 14:43 Mikael Pettersson
  2004-08-21 16:02 ` 2.6.8.1-mm3 James Bottomley
  0 siblings, 1 reply; 8+ messages in thread
From: Mikael Pettersson @ 2004-08-21 14:43 UTC (permalink / raw)
  To: akpm, linux-kernel; +Cc: linux-scsi

On Fri, 20 Aug 2004 03:19:19 -0700, Andrew Morton wrote:
>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm3/
...
> bk-scsi.patch

This one is broken. It causes the kernel to emit a bogus
"program $PROG is using a deprecated SCSI ioctl, please convert it to SG_IO"
message whenever user-space open(2)s a SCSI block device, even
though user-space never did any ioctl() on it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-08-25  3:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-21 18:38 2.6.8.1-mm3 Mikael Pettersson
2004-08-21 19:14 ` 2.6.8.1-mm3 Patrick Mansfield
2004-08-21 19:24   ` 2.6.8.1-mm3 James Bottomley
2004-08-21 21:47     ` 2.6.8.1-mm3 Matthew Wilcox
2004-08-25  3:50       ` 2.6.8.1-mm3 James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2004-08-21 17:15 2.6.8.1-mm3 Mikael Pettersson
2004-08-21 14:43 2.6.8.1-mm3 Mikael Pettersson
2004-08-21 16:02 ` 2.6.8.1-mm3 James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox