[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RSCSI and the 2.6 kernel?



Fog_Watch wrote:
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:rscsi@server -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 J��rg Schilling scsidev: 'REMOTE:rscsi@server'
devname: 'REMOTE:rscsi@server'
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-ROM            SONY     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)


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.

--
E. Robert Bogusta
 It seemed like a good idea at the time



Reply to: