LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2004, 09:34 AM   #1
boym1
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
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
 
Old 01-19-2004, 01:58 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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).
 
Old 01-19-2004, 02:01 PM   #3
boym1
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Original Poster
Rep: Reputation: 0
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]#
 
Old 01-19-2004, 02:18 PM   #4
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

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

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).
 
Old 01-19-2004, 02:20 PM   #5
boym1
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Original Poster
Rep: Reputation: 0
/etc/init.d/pcmcia restart stops and starts it fine but it never sees the tape drive that is attached to the PCMCIA card
 
Old 01-19-2004, 02:28 PM   #6
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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)
 
Old 01-22-2004, 01:44 PM   #7
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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.

Last edited by superbondbond; 01-22-2004 at 01:47 PM.
 
Old 01-22-2004, 01:53 PM   #8
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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..
 
Old 01-22-2004, 02:03 PM   #9
boym1
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Original Poster
Rep: Reputation: 0
It is odd because somehow on an older kernel it worked - Thanks for the help.
 
  


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
386 + ISA-PCMCIA adapter + PCMCIA Ralink wifi card v6sa Linux - Newbie 0 05-19-2005 01:42 PM
16 bit pcmcia works - 32 bit pcmcia doesn't Nemi5150 Linux - Hardware 1 05-27-2004 10:03 AM
PCMCIA WPC11 driver and pcmcia-cs Marcusj2 Linux - Hardware 1 01-05-2003 09:47 AM
Using pcmcia-cs and kernel pcmcia jbanafato Linux - General 0 03-14-2002 03:09 PM
Pcmcia not working off pcmcia/pcmciadd.img mikeyt_333 Linux - Networking 0 02-06-2002 12:12 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration