Linux - HardwareThis 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.
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.
I am installing a Adpatec 2940UW SCSI PCI card into a machine with redhat 7.3 and kernel 2.4.23. When the machine boots, it sees the card and also lists the tape drive attached to the controller correctly.
Code:
SCSI ID: 6 Seagate DAT 9SP40-000
Once in Redhat the machine dosen't see any trace of the card. I have complied support for SCSI devices as well as SCSI tape support in the kernel. This system has another Adaptec IDE RAID card it sees as a SCSI device. That card works without a hitch.
Here is cat /proc/scsi/scsi ( Keep in mind it sees one controller fine.)
Hmm, a 2490 is a 79xx card I think. What's the output of /sbin/lspci?
Also, when you recompiled, did you build the SCSI low driver into the kernel or as a module, RH9 didn't have hotplugging at the time, but it should have gotten that one... hmm, I guess figuring out the exact chipset would be the important part first. Yeah, the lspci line is the big part.
lspci just gives a read of what's on the PCI bus, it doesn't tell if its actually loaded any support for any of it.
The proper driver seems to be the old adapter aic7xxx driver, from the kernel options for the new one it doesn't seem as if it covers the 2940, just the 27xx and 28xx series. So under a make menuconfig it would seem that it should be this one:
Code:
< > Adaptec AIC7xxx support │ │
│ │< > Adaptec AIC79xx support │ │
│ │<M> Old Adaptec AIC7xxx support │ │
│ │[ ] Enable Tagged Command Queueing (TCQ) by default │ │
│ │(8) Maximum number of TCQ commands per device │ │
│ │[ ] Collect statistics to report in /proc
At least, that's my first guess... googling on this thing brings up too much garbage to be done quickly.
I would try it first as a module, newer kernels were bugging out on this card, at least that's the problem I had with an old VA server and a AIC-7896U2/7897U2
OK, im stupid. I didnt have support for the chipset complied. Now that I have recompiled it sees the SCSI card and the Tape drive I have hooked to it. From here, how can I see where in /dev/ the tape drive is? Keep in mind, sda1 and sda2 are taken by the HDD's. I ran mt -f /dev/st0 status as a test and it locked up the term, and wouldnt allow it to kill the PID of mt. Also, the tape will not eject. Is that a software thing? (Like when a mounted CD-ROM wont eject). Sorry, I'm new to this side of Linux. Thanks again for your help!
EDIT:
ok, i ran the mt command again and it didnt lockup. I guess it didnt lock up the first time, it just takes a long time to run. anyways, here is the output:
Code:
[root@localhost root]# mt -f /dev/st0 status
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 (1010000):
ONLINE IM_REP_EN
Thats good, right? haha.
Im still worried about the device not ejecting.
Oh, and when writting to the tape, I can just "tar -zcvf /dev/st0 /usr/backup"...right? Thanks again!
oh...last...do I have to format the tape for it's use?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.