LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Pcmcia (https://www.linuxquestions.org/questions/linux-newbie-8/pcmcia-136328/)

boym1 01-19-2004 08:34 AM

Pcmcia
 
Please help..

I have a laptop with a Adaptec Slim SCSI card with a Sony SDT-D9000 attached and am unable to see the tape drive. Any assistance would be greatly appreciated...

[root@ttop01 log]# uname -a
Linux ttop01 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
[root@ttop01 log]#





Jan 19 09:11:22 ttop01 network: Bringing up interface eth0: succeeded
Jan 19 09:11:25 ttop01 cardmgr[701]: executing: 'modprobe aha152x_cs'
Jan 19 09:11:25 ttop01 kernel: SCSI subsystem driver Revision: 1.00
Jan 19 09:11:25 ttop01 kernel: aha152x: processing commandline: ok
Jan 19 09:11:25 ttop01 kernel: aha152x: BIOS test: passed, detected 1 controller(s)
Jan 19 09:11:25 ttop01 kernel: aha152x: resetting bus...
Jan 19 09:11:25 ttop01 kernel: aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=5, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
Jan 19 09:11:25 ttop01 kernel: aha152x0: trying software interrupt, lost.
Jan 19 09:11:25 ttop01 kernel: aha152x0: IRQ 5 possibly wrong. Please verify.
Jan 19 09:11:25 ttop01 kernel: aha152x_cs: no SCSI devices found
Jan 19 09:11:25 ttop01 cardmgr[701]: get dev info on socket 0 failed: No such device
Jan 19 09:11:25 ttop01 kernel: Trying to free nonexistent resource <00000340-0000035f>
Jan 19 09:11:26 ttop01 netfs: Mounting other filesystems: succeeded
Jan 19 09:11:26 ttop01 apmd[741]: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16)
Jan 19 09:11:26 ttop01 apmd: apmd startup succeeded
Jan 19 09:11:26 ttop01 autofs: automount startup succeeded
Jan 19 09:11:26 ttop01 sshd: Starting sshd:
Jan 19 09:11:26 ttop01 sshd: succeeded

tcaptain 01-19-2004 12:58 PM

what distro are you using?

If you do this (as root) what's the output?

1 - try "/etc/init.d/pcmcia status"
2 - try "cardctl status"
3 - try "cardctl ident"

This is to see if the problem is with PCMCIA itself or tape support (which I don't know a whole lot about).

boym1 01-19-2004 01:01 PM

Redhat 8

[root@ttop01 pcmcia]# /etc/init.d/pcmcia status
cardmgr is stopped
[root@ttop01 pcmcia]#

[root@ttop01 pcmcia]# cardctl status
Socket 0:
5V 16-bit PC Card
function 0: [ready], [wp]
Socket 1:
no card
[root@ttop01 pcmcia]#

[root@ttop01 pcmcia]# cardctl ident
Socket 0:
product info: "Adaptec, Inc.", "APA-1460 SCSI Host Adapter", "Version 0.01" manfid: 0x012f, 0x0002
Socket 1:
no product info available
[root@ttop01 pcmcia]#

tcaptain 01-19-2004 01:18 PM

Ok that's a start (and I'm hoping someone with more experience can jump in here and help out better than I can :D ).

Mmmm. Not sure what to make of the message "cardmgr is stopped"...what happens if you type in "/etc/init.d/pcmcia restart" ?

Otherwise, PCMCIA seems to detect your card (I'm assuming the info displayed is correct) so at this point it would only be a question of loading the appropriate module (ie: modprobe modulename).

boym1 01-19-2004 01:20 PM

/etc/init.d/pcmcia restart stops and starts it fine but it never sees the tape drive that is attached to the PCMCIA card

tcaptain 01-19-2004 01:28 PM

Ok...well basically (I THINK) you need to find out what kernel module needs to be loaded for that tape drive (google is pretty good for this) then when you find out you need to try 2 things...

One you can load it manually (assuming the pcmcia is started) by doing this:

"modprobe modulenamehere"

if that works, then you can set it to load automatically by making the proper entry in /etc/modules.conf (at least that's the file in Mdk 9.2 which should be similar)

superbondbond 01-22-2004 12:44 PM

Sounds like you're on the right track tcaptian.... if the correst module is present, then (in theory) it should be loaded automatically upon inserting the card/connecting the device. You can look through /etc/pcmcia/scsi, /etc/pcmcia/scsi.opts for any potential clues on how these types of devices are treated.

I've recently been reading alot on the topic of PCMCIA use in Linux. (though I don't have any SCSI devices myself)
Here's some well-written documentation to help

http://www.ibiblio.org/pub/Linux/doc...WTO.html#ss4.6

Though it's confusing that it is seen by cardctl and the module gets loaded, then it says it can't see the device.

superbondbond 01-22-2004 12:53 PM

update.

I just ran across this:

http://www.ibiblio.org/pub/historic-...A-HOWTO-3.html

(from the article)
Quote:

The Adaptec APA-460 SlimSCSI adapter is not supported. This card was originally sold under the Trantor name, and when Adaptec merged with Trantor, they continued to sell the Trantor card with an Adaptec label. The APA-460 is not compatible with any existing Linux driver. I'm not sure how hard it would be to write a driver; I don't think anyone has been able to obtain the technical information from Adaptec.
that's not good news..

boym1 01-22-2004 01:03 PM

:( It is odd because somehow on an older kernel it worked - Thanks for the help.


All times are GMT -5. The time now is 04:16 AM.