Incorrect card recognition

Larry W. Finger Larry.Finger at
Mon Sep 8 17:11:56 BST 2003

I have been lurking on this list for about a week. I have not yet located 
any archives for this list, and I hope these problems have not been 
discussed and fixed earlier.

I am running Linux Kernel 2.6.0-test4 and cardmgr 2.3.4 and have two 
related problems. The first is that my Adaptec SlimSCSI APA-1460B is not 
recognized. The system tries to initialize an Anonymous Memory card and 
fails. The only way to get the system to recognize the card properly is to 
issue a 'kill -HUP' to cardmgr. Then the card is properly recognized; 
however, it takes one extra insertion/removal cycle for the card to be 
seen. On the first insertion, there is no beep and nothing in any of the logs.

I have applied the csmemory, cs-debug, and cs-race patches from the Web 
site; however, these had no effect on my system, which is an HP ze1115 
notebook with AMD processor. Below are excerpts of various files and logs:

Bootup detection of PCMCIA Hardware:

Yenta: CardBus bridge found at 0000:00:0a.0 [103c:0022]
Yenta IRQ list 0038, PCI irq11
Socket status: 30000007

Pertinent Section of .config:

# PCMCIA/CardBus support
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set

Output at end of 'dmesg' after cardmgr 3.2.4 is started:

cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x03e0-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0100-0x03af: excluding 0x2c8-0x2cf 0x378-0x37f
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.

End of /var/log/messages after Adaptec SlimSCSI APA-1460B is inserted:

Sep  8 13:40:15 lwflap cardmgr[1148]: watching 1 sockets
Sep  8 13:40:15 lwflap cardmgr[1149]: starting, version is 3.2.4
Sep  8 13:40:24 lwflap cardmgr[1149]: socket 0: Anonymous Memory
Sep  8 13:40:24 lwflap cardmgr[1149]: executing: 'modprobe memory_cs'
Sep  8 13:40:24 lwflap cardmgr[1149]: + FATAL: Module memory_cs not found.
Sep  8 13:40:24 lwflap cardmgr[1149]: modprobe exited with status 1
Sep  8 13:40:24 lwflap cardmgr[1149]: module 
/lib/modules/2.6.0-test4/pcmcia/memory_cs.o not available
Sep  8 13:40:24 lwflap cardmgr[1149]: bind 'memory_cs' to socket 0 failed: 
Invalid argument

Added to dmesg after 'kill -HUP `cat /var/run/`, card is 
removed, inserted, removed, and inserted again.

aha152x: resetting bus...
aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=3, scsiid=7, 
reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, 
extended translation=disabled
aha152x0: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 2.5 $
PM: Adding info for No Bus:host0
   Vendor: RICOH     Model: MP6200S           Rev: 2.20
   Type:   CD-ROM                             ANSI SCSI revision: 02
PM: Adding info for scsi:0:0:5:0

Added to the end of /var/log/messages after above steps are taken:

Sep  8 13:45:05 lwflap cardmgr[1149]: re-loading config file
Sep  8 13:45:13 lwflap cardmgr[1149]: socket 0: Adaptec APA-1460 SlimSCSI
Sep  8 13:45:13 lwflap cardmgr[1149]: executing: 'modprobe aha152x_cs'

Please inform me of any further information that would be helpful.

Thanks, Larry Finger

Larry W. Finger                     Larry.Finger at
1400 Colorado St.                    Phone: +1 (240) 463-2051
Boulder City, NV 89005              FAX:   +1 (775) 255-3087  

More information about the linux-pcmcia mailing list