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 timeout 200s
 
 The same error is returned with the more recent 2.01.01_alpha57.
 
 # uname -r 
 2.6.24-gentoo-r8
 
 Any clues as to the cause of the error.
Remember this one?

I used two solutions for this.  The first solution was to purchase an
old SCSI writer:
# cat /proc/scsi/scsi | grep Vendor
  Vendor: PLEXTOR  Model: CD-R   PX-W1210S Rev: 1.06

The second solution I used was to change the IDE driver on the burner
machines to libata:
# cat /proc/scsi/scsi | grep CD-RW
  Vendor: SONY Model: CD-RW  CRX175E   Rev: 1.0j

There is a strange unexpected aspect to the second solution.  With:
cdrecord dev=REMOTE:rs...@remote-host:0,1,0 -data dsl-4.4.10.iso
driveropts=burnfree
When:
# grep rscsi /etc/passwd
rscsi::1000:1000::/home/rscsi:/usr/sbin/rscsi
The disk burns fine and is then able to be mounted afterwards on
either SCSI or libata/ATAPI drives. When:
# grep rscsi /etc/passwd
rscsi::1000:1000::/home/rscsi:/bin/bash
The disk burns fine and is then only able to be mounted afterwards on
my SCSI drive.  

Interesting?

Solved.

Regards

Fog_Watch.

# uname -r
2.6.29-gentoo-r5


-- 
Lose wait.  Get Gentoo.


-- 
To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@other.debian.org



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 (i686-pc-linux-gnu) Copyright
(C) 1995-2008 Jörg Schilling scsidev: 'REMOTE:rs...@hostname:0,1,0'
devname: 'REMOTE:rs...@hostname:0,1,0'
scsibus: 0 target: 1 lun: 0
Warning: Using remote SCSI interface.
cdrecord: No such file or directory. Cannot open '/dev/pg1'. Cannot
open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root. 
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

 
 
 Have a nice day :)
 
 Thomas
 
 
Thanks for the help, Thomas.

Regards

Fog_Watch.

-- 
Lose wait.  Get Gentoo.


--
To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@other.debian.org



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 remains the same.



-- 
Lose wait.  Get Gentoo.


-- 
To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@other.debian.org



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 from this command ?
   cdrecord -scanbus
Full record.
 
 Does it work with programs which use the
 SCSI block device ?
   eject /dev/sr0
Yes.
   eject /dev/scd0
Don't have one.
 (I assume it is your only CD drive.
Yes
  Else try also 1, 2, ...)
 
 What do you get from this ?
   cat /proc/scsi/scsi
   cat /proc/sys/dev/cdrom/info
# pwd  find . | grep scsi  cat sys/dev/scsi/logging_level 
/proc
./sys/dev/scsi
./sys/dev/scsi/logging_level
0

Nothing untoward I would have thought.
 
 
 Have a nice day :)
 
 Thomas
 
 
Thanks for the replies.

-- 
Lose wait.  Get Gentoo.


-- 
To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@other.debian.org



Re: RSCSI and the 2.6 kernel?

2008-06-12 Thread Fog_Watch
On Thu, 12 Jun 2008 14:16:55 +0200
[EMAIL PROTECTED] (Joerg Schilling) wrote:

 install the rscsi program suid root
Thank you.  That is the nail hit on the head.

Regards

Fog_Watch.

-- 
Lose wait.  Get Gentoo.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RSCSI and the 2.6 kernel?

2008-06-12 Thread Fog_Watch
On Thu, 12 Jun 2008 18:59:55 -0400
Rob Bogus [EMAIL PROTECTED] wrote:


 Could you post the contents of /proc/scsi/scsi from the machine with
 the burner physically attached? Unless gentoo does some really odd
 things I would expect the burned to be /dev/scd0 or /dev/sr0. Of
 course between kernel options and udev config, anything if possible
 for a device name, but I'd like to see if it has a more typical 2.6
 name.
 
Rob, interesting:

hostname proc # pwd  find . | grep scsi
/proc
./sys/dev/scsi
./sys/dev/scsi/logging_level
hostname proc # ls -la /dev/sr0  
brw-rw 1 root cdrom 11, 0 Jun 13 07:33 /dev/sr0
hostname proc # 

Thanks for the reply.  Joerg's # chmod 4755 rscsi was the answer.

Regards

Fog_Watch.

-- 
Lose wait.  Get Gentoo.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RSCSI and the 2.6 kernel?

2008-06-11 Thread Fog_Watch
Hello,

I would like to burn from my client to my server.  I used to be
able to when the server was kernel 2.4, but it's changed recently to
2.6. The client refers to the burner as /dev/hda, but the server refers
to it as /dev/hdb.  There is clearly something wonky going on here.  The
story below tells the tale.  Any clues?

Regards

Fog_Watch.


CLIENT
2.6.22-gentoo-r8
cdrtools-2.01.01_alpha34
At the client machine I

$ cdrecord -dev=REMOTE:[EMAIL PROTECTED] -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 J��rg Schilling scsidev: 'REMOTE:[EMAIL PROTECTED]'
devname: 'REMOTE:[EMAIL PROTECTED]'
scsibus: -1 target: -1 lun: -1
Warning: Using remote SCSI interface.
cdrecord: Permission denied. Cannot open '/dev/hda'. Cannot open or use
SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'.
Make sure you are root. cdrecord: For possible transport specifiers try
'cdrecord dev=help'.

SERVER
2.6.24-gentoo-r8
cdrtools-2.01.01_alpha34

# dmesg | grep CD
hdb: SONY CD-RW CRX175E, ATAPI CD/DVD-ROM drive
scsi 0:0:0:0: CD-ROMSONY CD-RW  CRX175E   1.0j PQ: 0
ANSI: 0 Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0

# cat /tmp/RSCSI 
rscsid: user id 1000, name rscsi
rmt: peername 192.168.1.1
rmt: peername server
rscsid: O 
rscsid:E 13 (Permission denied) [Cannot open '/dev/hda']

Two relevant lines from /var/log/syslog:
Jun 12 12:38:41 server xinetd[4779]: START: shell pid=8011
from=192.168.1.1 
Jun 12 12:38:41 server xinetd[4779]: EXIT: shell
status=0 pid=8011 duration=0(sec)


-- 
Lose wait.  Get Gentoo.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]