LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2005, 09:06 AM   #1
carroll
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
Sony ait-1 ide on Fedora


We are trying to run a Sony AIT-1 ide on fedora core 3. It is recognized and will respond but just hangs when you run backup.
 
Old 08-08-2005, 07:28 AM   #2
Justin Freeman
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Possible cause & solution

I had a similiar problem and the solution was this...

The Sony ATAPI SDX-420c tape backup drive was on a IDE cable shared with the CDROM drive. Removing the CDROM drive from the cable immediately resolved all problems.

dmesg reported the following when both the CDROM & Sony ATAP tape backup unit were connected.
Aug 7 17:30:49 tex kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Aug 7 17:30:49 tex kernel: hdc: Compaq CRD-8400B, ATAPI CD/DVD-ROM drive
Aug 7 17:30:49 tex rc: Starting lm_sensors: succeeded
Aug 7 17:30:49 tex kernel: hdd: �������������������, ATAPI TAPE drive
Aug 7 17:30:49 tex kernel: ide1 at 0x170-0x177,0x376 on irq 15
Aug 7 17:30:49 tex kernel: hda: max request size: 128KiB
Aug 7 17:30:49 tex kernel: hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(66)
Aug 7 17:30:49 tex kernel: hda: cache flushes not supported
Aug 7 17:30:49 tex kernel: hda: hda1 hda2 hda3
Aug 7 17:30:49 tex kernel: hdb: max request size: 1024KiB
Aug 7 17:30:49 tex kernel: hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(66)
Aug 7 17:30:49 tex kernel: hdb: cache flushes supported
Aug 7 17:30:49 tex kernel: hdb: hdb1
Aug 7 17:30:49 tex kernel: hdc: ATAPI 40X CD-ROM drive, 128kB Cache, DMA
Aug 7 17:30:49 tex kernel: Uniform CD-ROM driver Revision: 3.20
Aug 7 17:30:49 tex kernel: ide-tape: ht0: I/O error, pc = 12, key = 0, asc = c0, ascq = 81
Aug 7 17:30:49 tex kernel: ide-tape: hdd <-> ht0: ���� �������� rev ��
Aug 7 17:30:49 tex kernel: ide-tape: ht0: I/O error, pc = 1a, key = 0, asc = c0, ascq = 81
Aug 7 17:30:49 tex kernel: ide-tape: ht0: I/O error, pc = 1a, key = 0, asc = c0, ascq = 81
Aug 7 17:30:49 tex kernel: ide-tape: decreasing stage size
Aug 7 17:30:49 tex last message repeated 7 times
Aug 7 17:30:49 tex autofs: automount startup succeeded
Aug 7 17:30:49 tex kernel: ide-tape: decreasing stage size
Aug 7 17:30:49 tex kernel: ide-tape: hdd <-> ht0: 144KBps, 167*48kB buffer, 2646kB pipeline, 362ms tDSC


After removing the CDROM dmesg reports this:

hdc: SONY SDX-420C, ATAPI TAPE drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(66)
hda: cache flushes not supported
hda: hda1 hda2 hda3
hdb: max request size: 1024KiB
hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(66)
hdb: cache flushes supported
hdb: hdb1
ide-tape: hdc <-> ht0: SONY SDX-420C rev 0103
ide-tape: hdc: overriding capabilities->speed (assuming 650KB/sec)
ide-tape: hdc: overriding capabilities->max_speed (assuming 650KB/sec)
ide-tape: decreasing stage size
ide-tape: decreasing stage size
ide-tape: decreasing stage size
ide-tape: hdc <-> ht0: 650KBps, 62*32kB buffer, 6336kB pipeline, 100ms tDSC, DMA


We also had to compile the kernel with ide-tape as a module, since the standard Fedora kernel does not include it.

And change /etc/grub.conf as follows

title Fedora Core (2.6.12)
root (hd0,0)
kernel /vmlinuz-2.6.12 ro root=LABEL=/ rhgb quiet hdc=ide-tape
initrd /initrd-2.6.12.img


And finally, changed /etc/rc.local to create the devices.

echo "Loading IDE tape module"
modprobe ide-tape

echo "Creating tape devices"
#Rewind on close
mknod /dev/ht0 c 37 0
#No rewind on close device
mknod /dev/nht0 c 37 128

chmod 666 /dev/ht0
chmod 666 /dev/nht0

ln -s /dev/ht0 /dev/tape
ln -s /dev/nht0 /dev/tapenorewind


And it all works fantastically now. Hope these tips help someone resolve this issue.

Cheers
Justin Freeman
http://www.agileware.net
http://blog.agileware.net
 
Old 08-09-2005, 12:33 AM   #3
carroll
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy Thanks!

Thanks for the info! I have solved my problem (kind of). I found if I went back to the 2.6.9 kernel everything worked fine. I don’t know what exactly the difference is, but if I boot into 2.6.11 it does not work. I am still pretty new at this, so I will keep plugging away at it. Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIT 2 ATAPI drive is seen but no drivers seem to be loaded??? gizet Linux - Hardware 1 09-20-2005 04:46 PM
AIT 35 LVD tape drive driver. kyteoh Linux - Hardware 3 04-22-2004 11:05 PM
MT problem with Overland AIT LoaderXPress klnasveschuk Linux - Hardware 0 02-01-2004 08:14 AM
Help with mounting a SONY AIT USB tape drive? Falafel Linux - Hardware 1 11-29-2003 12:59 AM
How to install a Sony SDX-420 IDE Tape Drive rmdoyle75 Linux - Hardware 0 11-11-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration