2.2.0pre7ac7/pre8ac1, writing to /dev/sg? from XCDRoast

Alex Butche (linkern@cocoa.demon.co.uk)
Tue, 19 Jan 1999 22:26:46 +0000 (GMT)


Hi -

When I start XCDroast 0.96e under kernel versions 2.2.0pre7ac7 or pre8ac1, it
hangs when it writes to /dev/sg1 after opening it O_RDWR:

open("/dev/sg0", O_RDWR) = 4
write(4, "*\0\0\0\204\0\0\0\0\0\0\0\0\0\0\0"..., 42) = 42
read(4, "\204\0\0\0\204\0\0\0\0\0\0\0\0\0"..., 132) = 132
close(4) = 0
open("/dev/sg1", O_RDWR) = 4
write(4, "*\0\0\0\204\0\0\0\0\0\0\0\0\0\0\0"..., 42

It's trying to probe attached SCSI devices by sending SCSI Inquiry commands.

It used to work OK on pre7ac4 at least (maybe later versions too...)

Any idea what's up? XCDroast problem or kernel booboo?

[root@cocoa /root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: D.09
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: MITSUMI Model: CR-4801TE Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02

The Mitsumi device is an ATAPI device on hdc using ide-scsi.

Best Regards,
Alex.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/