Weird, we have several Sony SDX-300C and we just plugged them in andQuote:>I have recently purchased a Sony SDX-300C SCSI tape drive, having
>been led to believe that Linux supported it. I am very
>interested in hearing from anyone who has this device working
>under Linux, how they did it and the tools they use to read/write
>tapes. My problem is fundamental: I can't do a damn thing with
>the drive that involves writing.
they worked directly without any problem... Both using tar directly
and with Amanda.
SCSI tape is what I have used, on several different RedHatQuote:>The Linux module st.o (SCSI tape) would first appear to be the
>right driver. However, the tape drive always shows up as being
>write-protected:
installation (mainly 5.x installations), never had any problems with
that.
Weird, perhaps it has a write-protect DIP somewhere on the drive? IQuote:> % mt -f /dev/st0 status
> SCSI 2 tape drive:
> File number=-1, block number=-1, partition=0.
> Tape block size 512 bytes. Density code 0x30 (unknown to this mt).
> Soft error count since last status=0
> General status bits on (5010000):
> BOT WR_PROT ONLINE IM_REP_EN
>The WR_PROT flag is set regardless of the position of the
>write-protect tab on the tape, or even if there's a tape in the
>drive. Using tar or dd to write a file confirms this:
don't have the manual at hand so I can't check at the moment.
Double check all DIP setting first.. If that doesn't help perhaps you
should post details about your setup, such as how it's connected
(cabling, termination) and the messages from the syslog during startup
(and any error message logged when you access the drive).
I'm getting this from mt on one of the machines nearby, this was is a
pretty well updated RH 5.2 machine with 2.2.16:
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x30 (unknown to this mt).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
DR_OPEN IM_REP_EN
Is it on Channel A, SCSI ID 0? What does Linux says when you boot,Quote:> Detected Sony scsi tape sonyt0 at scsi 0, chan 0, id 0, lun 0
> Attempt to allocate device channel 0, target 0, lun 0
> Kernel panic: No device found in scsi_allocate_device
look via dmesg or in /var/log/messages.
It's always that way, if it workes flawless there probably won't beQuote:>Not very encouraging. In fact, a web search for anything related
>to this drive under Linux turns up precious little, and some of
>it isn't very flattering to the drive.
any postings about it, so most of what you find is bound to be people
with problems :-)
There are a lot of these out there, and problem with them seems to be
rare IMNSHO. Now most DAT drives on the other hand...
Hmm. 3940's in general is icky, older ones are fundamentally brokenQuote:>So that's my story. I have an Adaptec AHA-3940UW SCSI card that
>seems to work just fine otherwise. (It's listed in Sony's
>compatibility list, but not for Linux.) I'm running a RedHat 6.2
>system with kernel upgrade to 2.2.16, but this was happening at
>2.2.14 as well.
and can't be used reliably on a modern PC (it has a PCI bridge chip
that isn't PCI compatible IIRC, thought it sometimes happens to work,
at least as long as you don't stress it)...
If you have other devices on the SAME chain that is working in Linux
then the controller ought to be innocent though... But just to be
sure, can you find another more standardized controller and try if you
get the same effect there...
I'm not sure if I have seen any SDX-300C running on RH 6.2 machines
though, but I think there'll be one soon (I think it was 6.2 that was
going to be installed on the newest machine with AIT tape drive).