public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can't find CDR device in -mm only
@ 2003-05-10  3:37 Shane Shrybman
  2003-05-10  3:41 ` Andrew Morton
  2003-05-10  9:20 ` Jens Axboe
  0 siblings, 2 replies; 8+ messages in thread
From: Shane Shrybman @ 2003-05-10  3:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, axboe

Hi,

The problem first appeared in 2.5.68-mm3 and is not in mainline 2.5.69.
It is present in all -mm releases since.

I have an IDE LG CDRW burner that has always worked fine both with
ide-scsi in 2.4 and without in 2.5. As can be seen in the inquiry out
put below the cdr device is not detected correctly by the -mm kernels.
It seems likely to be a kernel bug but I can't be certain.

Here is the inquiry output from cdrecord 2.0 from 2.5.69-mm3 which is
not working and 2.5.68-mm2 which is. I have straces of this too if that
would be useful. Same config was used for all kernels.

scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
scg__open(/dev/hdc) -2,-2,-2
Warning: Open by 'devname' is unintentional and not supported.
l1: 0x0 l2: 0x10
Bus: 0 Target: 0 Lun: 0 Chan: 0 Ino: 0
Linux sg driver version: 3.5.27
l1: 0x0 l2: 0x3
Bus: 0 Target: 0 Lun: 0 Chan: 0 Ino: 0
Target (0,0,0): DMA max 129024 old max: 64512
SCSI buffer size: 64512
Target (0,0,0): DMA max 129024 old max: 64512
scgo_getbuf: 64512 bytes
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
dev: '/dev/hdc' speed: -1 fs: 4194304 driveropts '(NULL POINTER)'
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Disk
Version        : 2
Response Format: 2
Capabilities   : 
Vendor_info    : 'ADAPTEC '
Identifikation : 'ACB-5500        '
Revision       : 'FAKE'
Device seems to be: Adaptec 5500.

scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
scg__open(/dev/hdc) -2,-2,-2
Warning: Open by 'devname' is unintentional and not supported.
l1: 0x0 l2: 0x10
Bus: 0 Target: 0 Lun: 0 Chan: 0 Ino: 0
Linux sg driver version: 3.5.27
l1: 0x0 l2: 0x3
Bus: 0 Target: 0 Lun: 0 Chan: 0 Ino: 0
Target (0,0,0): DMA max 129024 old max: 64512
SCSI buffer size: 64512
Target (0,0,0): DMA max 129024 old max: 64512
scgo_getbuf: 64512 bytes
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
ioctl ret: 0
host_status: 00 driver_status: 00
dev: '/dev/hdc' speed: -1 fs: 4194304 driveropts '(NULL POINTER)'
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : 
Vendor_info    : 'LG      '
Identifikation : 'CD-RW CED-8120B '
Revision       : '1.03'
Device seems to be: Generic mmc CD-RW.

Regards,

Shane


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

end of thread, other threads:[~2003-05-14 22:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10  3:37 Can't find CDR device in -mm only Shane Shrybman
2003-05-10  3:41 ` Andrew Morton
2003-05-10  3:50   ` Shane Shrybman
2003-05-10  9:20 ` Jens Axboe
2003-05-10 14:46   ` Shane Shrybman
2003-05-10 16:41     ` Jens Axboe
2003-05-14  7:43       ` Jens Axboe
2003-05-14 22:46         ` Shane Shrybman

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