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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-10-2004, 08:54 AM
|
#1
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Rep:
|
Problem with SCSI tape drive on RH8 machine
Hi,
I have a problem using a SCSI DAT drive (ID 4) which I have just added to a PC running RH8.
The SCSI card is an AIC-7861
The tape drive is an HP C1554 which seems to be recognised as HP C1537A.
Although the tape drive is visible in the Gnome Hardware Browser I can't use /dev/nst0 (no such device or address).
I have tried modprobe st.
The problem appears to lie in the startup (i.e. pci_module_init failed) and I have included the relevant section of /var/log/messages below. The SCSI adaptor card is the only pci card present. I would be very grateful for some help.
Thanks
nick toop
Feb 10 13:40:45 linux2 kernel: PCI: Enabling device 02:02.0 (0116 -> 0117)
Feb 10 13:40:45 linux2 kernel: PCI: Found IRQ 10 for device 02:02.0
Feb 10 13:40:45 linux2 kernel: PCI: Sharing IRQ 10 with 00:1d.2
Feb 10 13:40:45 linux2 kernel: PCI: Sharing IRQ 10 with 00:1f.1
Feb 10 13:40:45 linux2 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Feb 10 13:40:45 linux2 kernel: <Adaptec 2940A Ultra SCSI adapter>
Feb 10 13:40:45 linux2 kernel: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Feb 10 13:40:45 linux2 kernel:
Feb 10 13:40:45 linux2 kernel: blk: queue c5e91814, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:41:02 linux2 kernel: Vendor: HP Model: C1537A Rev: L005
Feb 10 13:41:02 linux2 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Feb 10 13:41:02 linux2 kernel: blk: queue c5e91014, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:41:02 linux2 kernel: st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16
Feb 10 13:41:02 linux2 kernel: Attached scsi tape st0 at scsi1, channel 0, id 4, lun 0
Feb 10 13:41:02 linux2 kernel: scsi : 1 host left.
Feb 10 13:41:02 linux2 kernel: ohci1394: pci_module_init failed
Feb 10 13:42:42 linux2 kernel: PCI: Enabling device 02:02.0 (0116 -> 0117)
Feb 10 13:42:42 linux2 kernel: PCI: Found IRQ 10 for device 02:02.0
Feb 10 13:42:42 linux2 kernel: PCI: Sharing IRQ 10 with 00:1d.2
Feb 10 13:42:42 linux2 kernel: PCI: Sharing IRQ 10 with 00:1f.1
Feb 10 13:42:42 linux2 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Feb 10 13:42:42 linux2 kernel: <Adaptec 2940A Ultra SCSI adapter>
Feb 10 13:42:42 linux2 kernel: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Feb 10 13:42:42 linux2 kernel:
Feb 10 13:42:42 linux2 kernel: blk: queue c5e91614, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:42:59 linux2 kernel: scsi : 1 host left.
Feb 10 13:42:59 linux2 kernel: ohci1394: pci_module_init failed
Feb 10 13:43:30 linux2 kernel: PCI: Enabling device 02:02.0 (0116 -> 0117)
Feb 10 13:43:30 linux2 kernel: PCI: Found IRQ 10 for device 02:02.0
Feb 10 13:43:30 linux2 kernel: PCI: Sharing IRQ 10 with 00:1d.2
Feb 10 13:43:30 linux2 kernel: PCI: Sharing IRQ 10 with 00:1f.1
Feb 10 13:43:30 linux2 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Feb 10 13:43:30 linux2 kernel: <Adaptec 2940A Ultra SCSI adapter>
Feb 10 13:43:30 linux2 kernel: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Feb 10 13:43:30 linux2 kernel:
Feb 10 13:43:30 linux2 kernel: blk: queue c5e91614, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:43:46 linux2 kernel: Vendor: HP Model: C1537A Rev: L005
Feb 10 13:43:46 linux2 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Feb 10 13:43:46 linux2 kernel: blk: queue cf505c14, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:43:46 linux2 kernel: Attached scsi tape st0 at scsi1, channel 0, id 4, lun 0
Feb 10 13:43:46 linux2 kernel: scsi : 1 host left.
Feb 10 13:43:46 linux2 kernel: ohci1394: pci_module_init failed
|
|
|
02-10-2004, 11:29 AM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
The SCSI controller and the tape drive are recognized.
Does /dev/st0 exist?
Are the tape drive modues loading?
/sbin/lsmod
|
|
|
02-10-2004, 12:02 PM
|
#3
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Hi,
I am logged on as root.
ls -l /dev/st0 shows as
crw-rw---- 1 root disk 9, 0 Aug 31 2002 /dev/st0
unmame -r gives
2.4.18-27.8.0debug
/sbin/lsmod gives
Module Size Used by Not tainted
sg 36588 0
st 30768 0 (autoclean)
sr_mod 18168 0 (autoclean)
soundcore 6500 0 (autoclean)
radeon 93912 1
agpgart 43680 3
binfmt_misc 7528 1
nfsd 79920 8 (autoclean)
lockd 58096 1 (autoclean) [nfsd]
sunrpc 79324 1 (autoclean) [nfsd lockd]
parport_pc 19108 1 (autoclean)
lp 8996 0 (autoclean)
parport 37152 1 (autoclean) [parport_pc lp]
autofs 13348 0 (autoclean) (unused)
eepro100 23704 1
iptable_filter 2444 0 (autoclean) (unused)
ip_tables 15096 1 [iptable_filter]
microcode 4668 0 (autoclean)
ide-scsi 10512 0
scsi_mod 107240 4 [sg st sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33728 0 [sr_mod ide-cd]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5920 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
usbcore 77024 1 [hid usb-uhci]
ext3 70336 2
jbd 52212 2 [ext3]
and finally /sbin/lspci gives
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 01)
00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 01)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01)
00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon VE QY
02:02.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 81)
Thanks!!!!
|
|
|
02-10-2004, 12:06 PM
|
#4
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Sorry, I have to leave now.... back tomorrow!
|
|
|
02-10-2004, 04:51 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
At first glance everything looks ok. Have you tried writing to tape with /dev/st0?
|
|
|
02-11-2004, 06:07 AM
|
#6
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Yes,
[root@linux2 root]# echo hello > /dev/st0
bash: /dev/st0: No such device or address
[root@linux2 root]#
Can I safely ignore the "pci_module_init failed" message in /var/log/messages?
i.e.
--------------------------------------------------------------------------------------
Feb 10 13:40:45 linux2 kernel: PCI: Enabling device 02:02.0 (0116 -> 0117)
Feb 10 13:40:45 linux2 kernel: PCI: Found IRQ 10 for device 02:02.0
Feb 10 13:40:45 linux2 kernel: PCI: Sharing IRQ 10 with 00:1d.2
Feb 10 13:40:45 linux2 kernel: PCI: Sharing IRQ 10 with 00:1f.1
Feb 10 13:40:45 linux2 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Feb 10 13:40:45 linux2 kernel: <Adaptec 2940A Ultra SCSI adapter>
Feb 10 13:40:45 linux2 kernel: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Feb 10 13:40:45 linux2 kernel:
Feb 10 13:40:45 linux2 kernel: blk: queue c5e91814, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:41:02 linux2 kernel: Vendor: HP Model: C1537A Rev: L005
Feb 10 13:41:02 linux2 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Feb 10 13:41:02 linux2 kernel: blk: queue c5e91014, I/O limit 4095Mb (mask 0xffffffff)
Feb 10 13:41:02 linux2 kernel: st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16
Feb 10 13:41:02 linux2 kernel: Attached scsi tape st0 at scsi1, channel 0, id 4, lun 0
Feb 10 13:41:02 linux2 kernel: scsi : 1 host left.
Feb 10 13:41:02 linux2 kernel: ohci1394: pci_module_init failed
------------------------------------------------------------------------------
|
|
|
02-11-2004, 06:26 AM
|
#7
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Hi,
There is one further thing that seems strange...the contents of /proc/scsi/scsi are as follows:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: CD-RW GCE-8400B Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02
[root@linux2 root]#
Now, there is a CD ROM drive of this name in my system but it has an IDE cable and one can read MA,SL,CS (master slave,cable select) on the back of it!
The only SCSI device that the Hardware Browser shows in the Adaptec card..
AIC-7861
Thanks for you help
Nick
|
|
|
02-11-2004, 11:01 AM
|
#8
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Hi,
There was an entry for the tape drive in /etc/modules.conf i.e.
cat /etc/modules.conf | grep aic
alias scsi_hostadapter aic7xxx
However, there was no entry in /proc/scsi.
When I typed
modprobe aic7xxx
there was quite a long delay and then the tape drive appeared useable. An entry "aic7xxx" also appeared in /proc/scsi.
Should I be using mkinitrd to remake something or other? The reply to another question here another reply seems to imply it.
Regards,
Nick Toop
|
|
|
02-11-2004, 07:30 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,521
|
1394 is firewire. Do you have a firewire interface on this PC?
Based on the log linux recognized the tape drive but I do not understand why it doesn't show up under /proc/scsi.
Do you have the tape utility mt installed?
try
mt -f /dev/st0 status
http://linux.about.com/library/cmd/blcmdl1_mt.htm
Also try using the tar command to write to the tape drive. I have never used echo to write to a tape so I don't know if it is possible.
tar -cvf /dev/st0 somefile
Your CDRW is using SCSI emulation for writing so your drive will show up as a SCSI device
|
|
|
02-12-2004, 11:10 AM
|
#10
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Original Poster
Rep:
|
Hi,
Thanks for your help. My problem is basically solved.
All I need to do is type
modprobe scsi_adapter
to find the aic7xxx adapter and everything works OK. The only remaining question is whether I have to put a line to do this in my init sequences... and where.
Thanks again.
|
|
|
All times are GMT -5. The time now is 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|