Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-07-14 Thread Joerg Schilling
Fog_Watch d...@exemail.com.au wrote: On Wed, 27 May 2009 22:26:34 +1000 Fog_Watch d...@exemail.com.au wrote: snip cdrecord: No such device or address. Cannot send SCSI cmd via ioctl. cdrecord: No such device or address. prevent/allow medium removal: scsi sendcmd: fatal error CDB: 1E

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-07-13 Thread Fog_Watch
On Wed, 27 May 2009 22:26:34 +1000 Fog_Watch d...@exemail.com.au wrote: snip cdrecord: No such device or address. Cannot send SCSI cmd via ioctl. cdrecord: No such device or address. prevent/allow medium removal: scsi sendcmd: fatal error CDB: 1E 00 00 00 00 00 cmd finished after 0.000s

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-31 Thread Rob Bogus
Joerg Schilling wrote: Rob Bogus ro...@tmr.com wrote: Unsupported, undocumented, self-written, run as root... for problems any method which provides useful information is appropriate. This is not I am sorry to see that you seem to be interested to further increase the confusion.

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Thomas Schmitt
Hi, ... # cdrecord dev=0,0,0 -dao -data dsl-1.1.iso # ls -d /sys/bus/scsi/devices/1\:0\:0\:0/*:* /sys/bus/scsi/devices/1:0:0:0/block:sr0 /sys/bus/scsi/devices/1:0:0:0/scsi_device:1:0:0:0 /sys/bus/scsi/devices/1:0:0:0/scsi_generic:sg0 Strange. On my system the first

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Fog_Watch
On Sat, 30 May 2009 11:50:13 +0200 Thomas Schmitt scdbac...@gmx.net wrote: Did you already disable ide-scsi and try dev=REMOTE:u...@host:ATA:0,1,0 dev=REMOTE:u...@host:/dev/hdb Maybe it works ... $ cdrecord dev=REMOTE:rs...@hostname:0,1,0 -scanbus Cdrecord-ProDVD-ProBD-Clone 2.01.01a51

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Joerg Schilling
Ian d...@exemail.com.au wrote: On Fri, 29 May 2009 08:40:24 +0200 Thomas Schmitt scdbac...@gmx.net wrote: ls -d /sys/bus/scsi/devices/0:0:0:0/*:* (it should tell the various addresses of the burner: sg?, sr0, 0:0:0:0 ) # ls -d /sys/bus/scsi/devices/1\:0\:0\:0/*:*

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Joerg Schilling
Fog_Watch d...@exemail.com.au wrote: On Sat, 30 May 2009 11:50:13 +0200 Thomas Schmitt scdbac...@gmx.net wrote: Did you already disable ide-scsi and try dev=REMOTE:u...@host:ATA:0,1,0 dev=REMOTE:u...@host:/dev/hdb Maybe it works ... $ cdrecord dev=REMOTE:rs...@hostname:0,1,0

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Thomas Schmitt
Hi, for me as bystander and programmer of burn software this is an interesting drama to watch. It might well be a futile effort, though. Especially since i do not know how crucial remote drive addressing is to you resp. whether remote burn program execution is an alternative for you. Whatever:

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote: for me as bystander and programmer of burn software this is an interesting drama to watch. It might well be a futile effort, though. Especially since i do not know how crucial remote drive addressing is to you resp. whether remote burn program

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Rob Bogus
Joerg Schilling wrote: Thomas Schmitt scdbac...@gmx.net wrote: Hi, Fog_Watch: cdrecord using ide-scsi returns an error that I don't understand. ... cdrecord: No such device or address. Cannot send SCSI cmd via ioctl. Joerg Schilling: This is a Linux kernel problem,

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Rob Bogus
Joerg Schilling wrote: Thomas Schmitt scdbac...@gmx.net wrote: cdrecord -scanbus Full record. Something like this ? scsibus0: 0,0,0 0) 'TSSTcorp' 'CDDVDW SH-S203B ' 'SB00' Removable CD-ROM 0,1,0 1) * .. (This is a SATA attached drive. It

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-30 Thread Joerg Schilling
Rob Bogus ro...@tmr.com wrote: Unsupported, undocumented, self-written, run as root... for problems any method which provides useful information is appropriate. This is not I am sorry to see that you seem to be interested to further increase the confusion. Let me try to help to reduce

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-29 Thread Thomas Schmitt
Hi, However, when legacy /proc/scsi support is enabled in a fresh kernel the performance and returned error remains the same. That /proc/scsi stuff is for diagnostics. So no remedy was to be expected. But what do you get now from this ? cat /proc/scsi/scsi And from this ? ls -d

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-29 Thread Joerg Schilling
Fog_Watch d...@exemail.com.au wrote: On Thu, 28 May 2009 10:26:13 -0700 Dave Platt dpl...@radagast.org wrote: Possibly the user's kernel was configured without the legacy /proc/scsi support feature being enabled? Correct. However, when legacy /proc/scsi support is enabled in a fresh

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-29 Thread Ian
On Fri, 29 May 2009 08:40:24 +0200 Thomas Schmitt scdbac...@gmx.net wrote: ls -d /sys/bus/scsi/devices/0:0:0:0/*:* (it should tell the various addresses of the burner: sg?, sr0, 0:0:0:0 ) # ls -d /sys/bus/scsi/devices/1\:0\:0\:0/*:* /sys/bus/scsi/devices/1:0:0:0/block:sr0

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Thomas Schmitt
Hi, cdrecord -scanbus Full record. Something like this ? scsibus0: 0,0,0 0) 'TSSTcorp' 'CDDVDW SH-S203B ' 'SB00' Removable CD-ROM 0,1,0 1) * .. (This is a SATA attached drive. It appears as SCSI without ide-scsi emulation.) eject /dev/sr0 Yes.

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote: cdrecord -scanbus Full record. Something like this ? scsibus0: 0,0,0 0) 'TSSTcorp' 'CDDVDW SH-S203B ' 'SB00' Removable CD-ROM 0,1,0 1) * .. (This is a SATA attached drive. It appears as SCSI without

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Thomas Schmitt
Hi, me: Then try cdrecord dev=/dev/sr0 -dao ... [...] This is deprecated too. But maybe it works. Joerg Schilling: Is there any reson to recommend _unsupported_ command line usage? For a test: yes. After all, eject was able to send a LOAD/UNLOAD MEDIUM command to the drive. If the

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote: Then try cdrecord dev=/dev/sr0 -dao ... [...] This is deprecated too. But maybe it works. Joerg Schilling: Is there any reson to recommend _unsupported_ command line usage? For a test: yes. Sorry but it does not help at all if you give

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Greg Wooledge
On Thu, May 28, 2009 at 11:49:13AM +0200, Thomas Schmitt wrote: Something appears wrong, indeed. The /proc tree seems truncated. My guess is he built his own custom kernel and left out a lot of drivers that he needs. -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Dave Platt
If it does not work this way, there is a bug in the kernel code. Something appears wrong, indeed. The /proc tree seems truncated. Possibly the user's kernel was configured without the legacy /proc/scsi support feature being enabled? The help data says In Linux 2.6 this has been

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Thomas Schmitt
Hi, Dave Platt wrote: Possibly the user's kernel was configured without the legacy /proc/scsi support feature being enabled? The help data says In Linux 2.6 this has been superseded by files in sysfs but many legacy applications rely on this. Being such a legacy entity myself i will now

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Dave Platt
Ahum ... lots of files ... lots, plethora, overabundance... yeah. $ ls /sys/bus/scsi/devices 0:0:0:0 2:0:0:0 21:0:0:0 28:0:0:0 85:0:0:0 $ cat /sys/bus/scsi/devices/28:0:0:0/model BD-RE GGW-H20L $ ls -d /sys/bus/scsi/devices/28:0:0:0/scsi_generic*

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote: Hi, Fog_Watch: cdrecord using ide-scsi returns an error that I don't understand. ... cdrecord: No such device or address. Cannot send SCSI cmd via ioctl. Joerg Schilling: This is a Linux kernel problem, please ask the related people.

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-28 Thread Fog_Watch
On Thu, 28 May 2009 10:26:13 -0700 Dave Platt dpl...@radagast.org wrote: Possibly the user's kernel was configured without the legacy /proc/scsi support feature being enabled? Correct. However, when legacy /proc/scsi support is enabled in a fresh kernel the performance and returned error

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-27 Thread Joerg Schilling
Fog_Watch d...@exemail.com.au wrote: cdrecord using ide-scsi returns an error that I don't understand. The burner can be used with dev=ATA:0,1,0, so I can't see how it is a device problem. I am using ide-scsi for rscsi compatibility and remote burning. The error follows: # cdrecord

Re: ide-scsi - write_g1: scsi sendcmd: fatal error

2009-05-27 Thread Fog_Watch
On Wed, 27 May 2009 16:43:44 +0200 Thomas Schmitt scdbac...@gmx.net wrote: snip Well, ide-scsi is said to be deprecated with kernel 2.6. One should at least find out a bit more before exposing oneself at LKML. Sound ominous, but it looks like that is where I am heading. What do you get