Fedora Linux Support Community & Resources Center
  #1  
Old 28th July 2006, 09:22 PM
tc3driver Offline
Registered User
 
Join Date: Jun 2005
Age: 34
Posts: 19
Tape Drive, driving me nuts in fc5

Hi all...

trying to get a seagate scsi dat72 tape drive to function on FC5, and it is giving me more issues than I know what to do with it!


here is a quick rundown of the error messages :
Code:
dmesg
st0: Error with sense data: <6>st: Current: sense key: Aborted Command
    Additional sense: Scsi parity error
st0: Error with sense data: <6>st: Current: sense key: Aborted Command
    Additional sense: Scsi parity error
st0: Error with sense data: <6>st: Current: sense key: Aborted Command
    Additional sense: Scsi parity error
program lt.devcontrol is using a deprecated SCSI ioctl, please convert it to SG_IO
sg_write: data in/out 36/36 bytes for SCSI command 0x12--guessing data in;
   program lone-tar not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x1a--guessing data in;
   program lone-tar not setting count and/or reply_len properly
sg_write: data in/out 255/255 bytes for SCSI command 0x1a--guessing data in;
   program lone-tar not setting count and/or reply_len properly
st0: Error with sense data: <6>st: Current: sense key: Aborted Command
    Additional sense: Scsi parity error
and the errors as the come to the commands:
Code:
tar cvfb /dev/st0 20 /
tar: Removing leading `/' from member names
/
/bin/
/bin/setserial
tar: /dev/st0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now
Loaded Modules:
Code:
lsmod
Module                  Size  Used by
aic7xxx               143221  0
st                     41693  0
ipv6                  264033  74
autofs4                25925  1
dm_mirror              27025  0
dm_mod                 64217  1 dm_mirror
video                  20677  0
button                 10961  0
battery                14021  0
ac                      9157  0
lp                     17033  0
parport_pc             31205  0
parport                41225  2 lp,parport_pc
sg                     38493  0
e1000                 115385  0
floppy                 62789  0
ehci_hcd               36941  0
uhci_hcd               27981  0
hw_random              10329  0
e752x_edac             15173  0
edac_mc                18437  1 e752x_edac
ext3                  134857  2
jbd                    62549  1 ext3
mptspi                 21581  3
scsi_transport_spi     28865  2 aic7xxx,mptspi
mptscsih               27457  1 mptspi
sd_mod                 24385  4
scsi_mod              140009  7 aic7xxx,st,sg,mptspi,scsi_transport_spi,mptscsih,sd_mod
mptbase                57697  2 mptspi,mptscsih
and of course the scsi device listing :
Code:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: FUJITSU  Model: MAW3073NC        Rev: 5803
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PE/PV    Model: 1x6 SCSI BP      Rev: 1.0
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: DAT    DAT72-052 Rev: A16E
  Type:   Sequential-Access                ANSI SCSI revision: 03
and the full device listing for the aic7xxx:
Code:
cat /proc/scsi/aic7xxx/2
Adaptec AIC7xxx driver version: 7.0
Adaptec 3960D Ultra160 SCSI adapter
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
0x08f4 0x605d 0x2807 0x0010 0x0300 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0xca4f

Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
        Curr: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
        Channel A Target 4 Lun 0 Settings
                Commands Queued 125
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)

------- and 3

cat /proc/scsi/aic7xxx/3
Adaptec AIC7xxx driver version: 7.0
Adaptec 3960D Ultra160 SCSI adapter
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
0x08f4 0x605d 0x2807 0x0010 0x0300 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0xca4f

Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Permissions on the /dev files:
Code:
crw-rw---- 1 root disk 21, 2 Jul 28 12:15 /dev/sg2
crw-rw---- 1 root disk  9, 0 Jul 28 12:14 /dev/st0
also note that I have this exact configuration running on about 150 or so servers deployed on RHEL3

this is fun, I installed mt-st on it, and am able to send commands to the tape drive, like

mt -f /dev/st0 eject and it works O_O;; so I am at a total loss now
__________________
Completely Windows Free sense 2005-06-21
And never going back.

Last edited by tc3driver; 28th July 2006 at 10:22 PM.
Reply With Quote
  #2  
Old 28th July 2006, 11:14 PM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
Would seem odd why the mt command would work and others would not. If I remember the specs of that controller it is LVM correct? If so then are you using a LVM cable with a LVM terminator?

Only other thought is there may be an issue with the controller driver module with your kernel. Which kernel are you using?
Check out the changelog files on that kernel at www.kernel.org as well as a few previous ones and later versions. There may be an issue with that particular issue. If you are running say 2.6.16.7 then check that changelog as well as 2.6.16.4 - 2.6.16.10.

The thing I would try is download the latest kernel which last checked was 2.6.17.6 from www.kernel.org and build that one. See if that helps. Sometimes those precompiled kernel rpms if that is what you are using may lack certain things for high end type cards.

To build your own check this link out. http://www.linuxquestions.org/questi...36#post1401136

Brian1
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 1st August 2006, 04:45 PM
tc3driver Offline
Registered User
 
Join Date: Jun 2005
Age: 34
Posts: 19
Yes, it is the correct cable.

at this point it will be faster to just throw an ES image I have on it, than configuring, building, and loading a kernel.
__________________
Completely Windows Free sense 2005-06-21
And never going back.
Reply With Quote
Reply

Tags
drive, driving, fc5, nuts, tape

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Help!!! Driving me nuts!! marleighnah Installation, Upgrades and Live Media 7 27th February 2008 03:25 PM
Why Fedora is Driving me nuts. USACOMPUTERTEC Using Fedora 92 10th November 2006 09:12 PM
FC5 - iptables driving me nuts...> Psy_Ops Servers & Networking 8 13th April 2006 05:48 AM
ProFTPD HELP! Driving me nuts! taigon Servers & Networking 0 2nd March 2006 09:22 PM
pppd is driving me nuts jbarby Using Fedora 5 1st December 2005 03:28 AM


Current GMT-time: 07:03 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat