Use this page to discuss issues with ATA/IDE drives, CompactFlash, and Smartmedia cards. Before posting, be sure you've checked any relevant sections of the PCMCIA-HOWTO, such as: Particularly useful bits of information to post include your laptop's make and model; the type(s) of card(s) you are using; and, of course, any relevant system log messages.

Messages Inline: 0 All Outline: 1 2 All

Question Compact Flash on single-board computers

Date: 1999, Nov 02
From: smckown

I'm new to PCMCIA and CompactFlash.

I will be using an Advantech PCM-5820 SBC (single-board computer) to implement a small router using LRP. I have found other folks who have accomplished this task using other models of SBC's from the company. Now, to my question.

The 5820 has a CompactFlash slot. How can I determine if I can use a SanDisk (or M-Systems or similar) CompactFlash card in this slot as a bootable device under Linux?

I understand that CompactFlash is 100% compatible with the PC Card ATA standard, so would I simply use the PCMCIA package's ide_cs driver?

Thanks smckown@ctea.com

1. None Re: Question: Compact Flash on single-board computers by David Hinds, 1999, Nov 02

Question cdrecord possible with IDE/ATAPI adapter

Date: 1999, Dec 01
From: Dave Cook daverz

I've got a IDE/ATAPI card (an H45 QuickPcmcia card; cardctrl says it's a Shuttle Technology card) connected to an ATAPI cdrom burner. I can mount it for reading just fine (on hdk!) but it's not clear to me that it's possible to use this with cdrecord using SCSI emulation. Any hints, or is this just not possible?

1. None I'm not sure by David Hinds, 1999, Dec 01

Question EXP CDROM 940

Date: 1999, Dec 09
From: Paul Mc Clure pmcclure

I am desperatly trying to get this PC-Card Cdrom to work.
Cardmgr reports in syslog:
Unsupported card in socket 0
    product info: "EXP   ", "CDROM", "L2", ""

In the pcmcia docs it says that my card is supported but in paren's next to it is says not all of them. I have added an entry in /etc/pcmcia/config that matches this product info and binds it with ide_cs.

My question is, how can i find out where this is going wrong. It apears the card is "Seen" and reports it's "name" ok and there is an entry in the config file but i have no idea if the ide_cs driver is not seeing it or working with it. Any ideas on how to get this to work or to get more info?

Thanks Alot

1. Note Paul Mc Clure by Paul Mc Clure, 1999, Dec 09
2. None Sorry: you are out of luck by David Hinds, 1999, Dec 09

Question ide zip disk problem

Date: 1999, Dec 12
From: Max Lamb Max

When starting up, everything goes fine, the drive is recognised as an ide device, however when ide_info runs it gives the error message open () failed : device not configured. I'm not entirely sure whats happening, and some help would be appreciated.

Question IDE Card causing havoc with 3Com card.

Date: 1999, Dec 20
From: Chris N. Brown cnbrown

Hello,

I am having a devil of a problem with my PMCIA IDE card and I was hoping that you could help me out.... I've searched the FAQ and Deja and haven't been able to figure out my problem.

Dirst things first:

My system is: RedHat 6.1, kernel 2.2.12 with pcmcia package 3.0.14. No special modification has been done to the kernel, so it's a "standard" kernel that ships with RH 6.1.

I have the following PCMCIA cards:

	3COM 3C589  Ethernet card
	Apricorn EZ-Gig IDE card

Now, here is the problem that I'm having:

When I first installed my system, I was able to use both cards (meaning that I could talk to the outside world and access data on my external IDE drive) successfully for about 2 to 3 weeks. However, after shutting down my laptop and rebooting one day, wierd things started to happen.

The 3Com card successfully initialized, but the EZ-GIG card failed to initialize... the error message that pops out to the console states that the card in socket 1 (the IDE card) is timing out.

Output from "cardctl status" says:

Socket 0:
  5V 16-bit card present
  Function 0: ready
Socket 1:
  5V 16-bit card present
  Function 0: busy, battery dead, battery low

and "dmesg" says: cs: socket 1 timed out during reset

Also, inserting the IDE card causes my ethernet card to stop functioning altogether, and causes the following output with the "dmesg" command:

eth0: interrupt(s) dropped!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
eth0: command 0x5800 did not complete!
.... repeated forever, with the "link" light on my dongle flashing like a police siren.

I have to manually reset both pcmcia cards "via cardctl eject..." to get connected to the outside world again.

What could be causing this? I know that when the drive worked, it was using the ide_cs module. I don't think that I am having a hard drive problem, because I've tried this with 2 different drives both with the same results.

Thanks in advance, Chris Brown

1. None It certainly sounds like a hardware failure by David Hinds, 1999, Dec 20

Question Shuttle Tech PCMCIA IDE/ATA HDD

Date: 1999, Dec 21
From: Ronald Yeo ronyeo

Hi,
 I have a PCMCIA HDD, that I have not been able to get running
in Linux.  (Shuttle Technology) In Win, it is setup as a primary-slave
and it is seen when I insert the card.  
 FYI, the devs in my /dev/ dir only goes to hdh9.

Dec  6 01:40:15 pc15 cardmgr[342]: socket 0: ATA/IDE Fixed Disk
Dec  6 01:40:15 pc15 cardmgr[342]: executing: 'insmod /lib/modules/2.2.13-7mdk/pcmcia/ide_cs.o'
Dec  6 01:40:20 pc15 kernel: hdl: ST92130AG, ATA DISK drive
Dec  6 01:40:20 pc15 kernel: ide5 at 0x160-0x167,0x366 on irq 3
Dec  6 01:40:20 pc15 kernel: hdl: ST92130AG, 2062MB w/0kB Cache, CHS=4191/16/63
Dec  6 01:40:20 pc15 kernel:  hdl: [PTBL] [523/128/63] hdl1 < hdl5 hdl6 hdl7 hdl8 >
Dec  6 01:40:20 pc15 kernel: ide_cs: hdk: Vcc = 5.0, Vpp = 0.0
Dec  6 01:40:20 pc15 cardmgr[342]: executing: './ide start hdk'
Dec  6 01:40:20 pc15 cardmgr[342]: + ./MAKEDEV: don't know how to make device "hdk"
Dec  6 01:40:20 pc15 cardmgr[342]: + open() failed: No such file or directory
Dec  6 01:40:20 pc15 cardmgr[342]: + ./ide: ./ide.opts: No such file or directory
Dec  6 01:40:20 pc15 cardmgr[342]: start cmd exited with status 1  

When I have another card (modem/nic combo) in the socket, I get an additional 2 line :

Dec  6 00:50:07 pc15 kernel: ide2: ports already in use, skipping probe
Dec  6 00:50:08 pc15 kernel: ide2: ports already in use, skipping probe

Appreciate any pointers.

I'm at my wit's end as I have been struggling with this for a long time. It's also one of the few last things that's tying me to MS.

Kernel is 2.2.13-7mdk and kernel-pcmcia-cs-2.2.13-7mdk

Ronald

1. None MAKEDEV is not smart enough... by David Hinds, 1999, Dec 28

Warning Error in /etc/pcmcia/ide script

Date: 1999, Dec 21
From: Brian Mays brian

There is an error in the /etc/pcmcia/ide script. This script contains the following lines:

    27	if [ ! -b /dev/$DEVICE ] ; then
    28	    cd /dev
    29	    mknod $DEVICE b $MAJOR 0
    30	    for $minor in 1 2 3 4 5 6 7 8 ; do
    31		mknod ${DEVICE}$minor b $MAJOR $minor
    32	    done
    33	fi
    34	eval `/sbin/ide_info /dev/$DEVICE` || usage

The "$" in front of "minor" in line 30 should not be there.

Question Unable to mount CD-ROM drive

Date: 1999, Dec 30
From: gmoh

I have a ThinkPad 560X and an IBM 24X-10X CD-ROM drive (comes with the Portable Drive Bay). The card that comes with the drive bay says it's a "IDE PC Card". However, after I plugged the card in, I'm not able to mount to /mnt/cdrom. Could anyone help me with this? The machine is running RH 6.1. Any help is appreciated.

gary

1. None Need more information by David Hinds, 1999, Dec 30

Question SmartMedia card insert doesn't work

Date: 2000, Jan 15
From: Friedemann Baitinger baiti

I have a noname SmartMedia adapter. When I insert the adapter with a card inserted or insert a card while the adapter is already inserted, the adapter is not recognized.

 syslog messages indicate:

 get dev info on socket 0 failed: Resource temporarily unavailable

Now while the card is still inserted, if I then use the cardctrl GUI and manually do a 'eject' and then a 'insert' via the pulldown menu card insertion always works without problems. The situation is reproducable either way. Inserting mechanically always fails with the same message. eject/insert sequence using the cardctl program always works. It doesn't matter how long I wait between the eject and the insert sequence.

Any ideas why it works one way but not the other. BTW: a friend of mine has the same adapter but is using a different type of notebook. With his machine, the manual insert works just fine.

1. None More info needed by David Hinds, 2000, Jan 22
1. None requested info... by Friedemann Baitinger, 2000, Jan 22
2. None more of requested info by Friedemann Baitinger, 2000, Jan 22
1. None Something to try by David Hinds, 2000, Mar 29

Warning Another problem with the /etc/pcmcia/ide script.

Date: 2000, Jan 18
From: Brian Mays brian

This is another simple error in the /etc/pcmcia/ide script. This problem is caused by the following lines:

    27	if [ ! -b /dev/$DEVICE ] ; then
    28	    cd /dev
    29	    mknod $DEVICE b $MAJOR 0
    30	    for minor in 1 2 3 4 5 6 7 8 ; do
    31		mknod ${DEVICE}$minor b $MAJOR $minor
    32	    done
    33	fi

Therefore, if /dev/$DEVICE does not exist, the script goes to the /dev directory to create the device. Later, however, it tries to source the ide.opts file, which is no longer in the current directory:

    36	# Load site-specific settings
    37	ADDRESS="$SCHEME,$SOCKET,$SERIAL_NO"
    38	. $0.opts

The script somehow needs to return to the /etc/pcmcia directory after creating the device.

Brian

1. None Ok, I'll fix for 3.1.9 by David Hinds, 2000, Jan 18

Question Recommendation for CompactFlash Reader ?

Date: 2000, Jan 31
From: Ian Thurlbeck IanThurlbeck

Hi There!

I have a user who has been using a SanDisk ImageMate parallel port device to read his camera's CompactFlash disks (he's Win NT based).

I'm going to move him to a Linux based desktop PC (i.e. not a laptop) soon and I was wondering if you can get, say, an IDE card/device that would allow him to read these CompactFlash cards under Linux's PCMCIA Card Services.

Any thoughts/pointers gratefully received!

Many thanks

Ian

-- Ian Thurlbeck

Question PCMCIA ATA/IDE card detected but not mounted

Date: 2000, Feb 04
From: Achim Spangler spangler

System:
* SUSE 6.3
* kernel 2.2.14
* pcmcia 3.1.10
* SunDisk SDP3B-4, ATA DISK drive

If I insert the mentioned ATA disk in my pcmcia 1 slot (network card in slot 0), I hear TWO high beeps (all o.k.). But the msdos filesystem on hde1 is not automatically mounted.

IMPORTANT: Later manually mounting "by hand" ("mount /dev/hde1") allow me to mount and access the drive -> only the automatic mount doesn't work

Gratulation: With an earlier version of kernel and pcmcia I had to remove my network card before inserting the ide card, because all irq's was used. But now pcmcia can use not active used irq (occupied by inactive systems like serial port). ==> THANKS

Looking in /var/log/messages I get the following: -------------------------------------------------

kernel: Linux PCMCIA Card Services 3.1.10
kernel:   kernel build: 2.2.14 #2 Mon Jan 10 10:46:39 CET 2000
kernel:   options:  [pci] [cardbus] [apm]
kernel: PCI routing table version 1.0 at 0xfe840
kernel: Intel PCIC probe: 
kernel:   TI 1225 PCI-to-CardBus at slot 00:0a, mem 0x68000000
kernel:     host opts [0]: [serial pci & irq] [no pci irq] [lat 168/176] [bus 32/34]
kernel:     host opts [1]: [serial pci & irq] [no pci irq] [lat 168/176] [bus 35/37]
kernel:     ISA irqs (scanned) = 3,4,7,9,11 polling interval = 1000 ms
cardmgr[1815]: starting, version is 3.1.10

cardmgr[1815]: watching 2 sockets

kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x103f 0x1400-0x140f
kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x378-0x37f 0x4d0-0x4d7
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[1815]: initializing socket 0 kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. cardmgr[1815]: socket 0: 3Com 589 Ethernet

cardmgr[1815]: executing: 'insmod /lib/modules/2.2.14/pcmcia/3c589_cs.o'

kernel: eth0: 3Com 3c589, io 0x310, irq 3, hw_addr 00:60:08:BA:87:80
kernel:   8K FIFO split 5:3 Rx:Tx, auto xcvr
cardmgr[1815]: executing: './network start eth0'

cardmgr[1815]: + Shutting down INET services (inetd)^[[71G^[[32mdone^[[m

cardmgr[1815]: + Starting INET services (inetd)^[[71G^[[32mdone^[[m ...

cardmgr[1815]: initializing socket 1

cardmgr[1815]: socket 1: ATA/IDE Fixed Disk

cardmgr[1815]: executing: 'insmod /lib/modules/2.2.14/pcmcia/ide_cs.o'

kernel: hde: SunDisk SDP3B-4, ATA DISK drive
kernel: ide2 at 0x100-0x107,0x10e on irq 3
kernel: hde: SunDisk SDP3B-4, 3MB w/1kB Cache, CHS=123/2/32
kernel:  hde: hde1
kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
cardmgr[1815]: executing: './ide start hde'
kernel: VFS: Disk change detected on device ide2(33,0)
kernel:  hde: hde1
kernel: hde: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
kernel: hde: drive_cmd: error=0x04 { DriveStatusError }
-------------------------------------------------

My ide.opts:
-------------------------------------------------
case "$ADDRESS" in
*,*,*,1)
    DO_FSTAB="y" ; DO_FSCK="y" ; DO_MOUNT="y"
    FSTYPE="msdos"
    #OPTS=""
    MOUNTPT="/mnt/ide_pcmcia_1"
    ;;
*,*,*,2)
    DO_FSTAB="y" ; DO_FSCK="y" ; DO_MOUNT="y"
    FSTYPE="msdos"
    #OPTS=""
    MOUNTPT="/mnt/ide_pcmcia_2"
    ;;
*,*,*,*)
    PARTS="1"
    ;;
esac
-------------------------------------------------

The relevant lines in /etc/fstab: -------------------------------------------------

/dev/hde1 /mnt/ide_pcmcia_1 msdos noauto,rw,user,exec,suid,umask=000 0 0

/dev/hde2 /mnt/ide_pcmcia_2 msdos noauto,rw,user,exec,suid,umask=000 0 0

-------------------------------------------------

Achim

1. None Just a ide.opts glitch by David Hinds, 2000, Feb 04

Question Iomega 250MB PCMCIA-->USB problem?

Date: 2000, Feb 05
From: Michael Marder marder

I have a PCMCIA --> USB converter for a 250 MB zip drive.

All at first appears to work. I can mount the drive, have created a Linux partition with fdisk followed by mkfs, and can write files to the disk. However, I find the all long files copied to the disk are corrupt, with occasional binary garbage injected into the files.

Guesses are that either I've done something dumb with the filesystem, or else there is some sort of buffering problem.

Diagnostics: cardctl version 3.0.9

from cardctl config
Socket 1:
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Interface type is memory and I/O
  IRQ 10 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x0400
      Option = 0x41, status = 0000, pin = 0000, copy = 0000
    I/O window 1: 0x0100 to 0x010f, auto sized

kernel version 2.2.5-15 (Red Hat 6.0)

From /var/log/messages:

Feb  5 11:30:44 gimou cardmgr[535]: socket 1: ATA/IDE Fixed Disk
Feb  5 11:30:44 gimou cardmgr[535]: executing: 'insmod /lib/modules/2.2.5-15/pcmcia/ide_cs.o'
Feb  5 11:30:54 gimou kernel: hde: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive 
Feb  5 11:30:54 gimou kernel: ide2 at 0x100-0x107,0x10e on irq 10 
Feb  5 11:30:54 gimou kernel: hde: 244766kB, 489532 blocks, 512 sector size 
Feb  5 11:30:54 gimou kernel: hde: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm 
Feb  5 11:30:54 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  5 11:30:54 gimou kernel:  hde: hde1 
Feb  5 11:30:54 gimou kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0 
Feb  5 11:30:54 gimou cardmgr[535]: executing: './ide start hde'
Feb  5 11:30:54 gimou cardmgr[535]: + ./ide: /sbin/ide_info: No such file or directory
Feb  5 11:34:45 gimou kernel: hde: The drive reports both 250609664 and 250640384 bytes as its capacity 
Feb  5 11:34:49 gimou kernel:  hde: hde1 

That comment about two sizes of the disk doesn't sound too good, but apart from deleting old partition and creating new one and formatting it, which I did, I'm not sure what else to check. Could absence of ide_info cause problem? Are there any places to look for buffer overflows of some sort?

Thanks! Michael Marder

1. More More information by Michael Marder, 2000, Feb 08
(_ None Maybe some useful information by David Hinds, 2000, Feb 08
(_ Ok Untitled by Michael Marder, 2000, Feb 09

Sad CARDport 2X CDROM - resource conflict?

Date: 2000, Feb 10
From: Mike Miller Mike_Miller

I'm trying to use a CARDport 2X CDROM with RedHat 6.1.  
Unfortunately, it seems that Linux perceives a resource
conflict.

RedHat 6.1 doesn't include dump_cis, and it appears that
the only way I'd get it is to recompile the kernel.  As
I'm new to Linux, I'd prefer to avoid that, at least for
now.  What I have been able to find out follows.  Any
suggestions as to how to proceed will be gratefully
accepted!

Mike Miller

-----------
My machine is a Libretto 50.
My Linux kernel version is 2.2.12-20.
My PCMCIA driver version is 3.0.14.
------------
The CDROM works fine on the same machine (dual boot)
with Windows 95, where it's listed as using only the
i/o ports 360-363 as resources (i.e. no IRQ is used).
------------
I altered /etc/pcmcia/config to contain the lines

card "CNF CARDport CD-ROM"
  manfid 0x00aa, 0x0096
#  version "CNF CD-M", "CD-ROM"
  bind "ide_cs"

(without the alteration, the card was recognised only
as "ATA/IDE Fixed Disk")
------------
/etc/pcmcia/config.opts is the original

include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
include port 0xa00-0xaff
exclude irq 4
exclude irq 7
----------
/var/run/stab has

Socket 0: CNF CARDport CD-ROM
Socket 1: empty
-----------
/var/log/messages includes the (possibly relevant) lines

Feb  7 11:00:05 localhost kernel: PCI: No PCI bus detected 
Feb  7 11:00:06 localhost kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A 
Feb  7 11:00:06 localhost kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A 
Feb  7 11:00:06 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 
Feb  7 11:00:08 localhost pcmcia: Starting PCMCIA services:
Feb  7 11:00:08 localhost pcmcia:  modules
Feb  7 11:00:09 localhost kernel: Linux PCMCIA Card Services 3.0.14 
Feb  7 11:00:09 localhost kernel:   kernel build: 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 
Feb  7 11:00:09 localhost kernel:   options:  [pci] [cardbus] [apm] 
Feb  7 11:00:09 localhost kernel: Intel PCIC probe:  
Feb  7 11:00:09 localhost kernel:   Intel i82365sl B step ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets 
Feb  7 11:00:09 localhost kernel:     host opts [0]: none 
Feb  7 11:00:09 localhost kernel:     host opts [1]: none 
Feb  7 11:00:09 localhost kernel:     ISA irqs (scanned) = 7,9,10,11,12,15 status change on irq 15 
Feb  7 11:00:09 localhost pcmcia:  cardmgr.
Feb  7 11:00:09 localhost cardmgr[324]: starting, version is 3.0.14
Feb  7 11:00:09 localhost cardmgr[324]: watching 2 sockets
Feb  7 11:00:09 localhost kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Feb  7 11:00:09 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x240-0x24f 0x340-0x347 0x378-0x38f 0x480-0x48f 
Feb  7 11:00:09 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Feb  7 11:00:09 localhost rc: Starting pcmcia succeeded
Feb  7 11:05:42 localhost cardmgr[324]: initializing socket 0
Feb  7 11:05:42 localhost cardmgr[324]: socket 0: CNF CARDport CD-ROM
Feb  7 11:05:42 localhost kernel: cs: memory probe 0x0d0000-0x0dffff: clean. 
Feb  7 11:05:42 localhost cardmgr[324]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/ide_cs.o'
Feb  7 11:05:42 localhost kernel: ide_cs: GetNextTuple: No more items 
Feb  7 11:05:43 localhost cardmgr[324]: get dev info on socket 0 failed: Resource temporarily unavailable
-------------
/sbin/cardctl ident says

Socket 0:
  product info: "CDROM                  ", "PLAYER  ", "001", "A"
  manfid: 0x00aa, 0x0096
  function: 4 (fixed disk)
Socket 1:
  no product info available
------------
/sbin/cardctl status says

Socket 0:
  5V 16-bit card present
  Function 0: ready, write protect
Socket 1:
  no card
----------
/sbin/cardctl config says
Socket 0:
  Vcc = 5.0, Vpp1 = 5.0, Vpp2 = 5.0
Socket 1:
  not configured
----------
/proc/ioports has the lines

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
03c0-03df : vga+
03e0-03e1 : i82365
03f6-03f6 : ide0
03f8-03ff : serial(auto)
-------------
1. Sad may be the same with Zenith CD by Christian Gennerat, 2000, Feb 16

Feedback Amacom Baby DVD on a Thinkpad 240

Date: 2000, Feb 14
From: Wasim wasim

Just to update the SUPPORTED.CARDS.

Tried out the Amacom baby DVD drive which comes with an Amacom PCMCIA card connector. This works fine (I guess the Baby CD drive should also work) on 2 separate laptops.

However, on a Thinkpad 240, I have only got it recognised twice. Once as a "OTI-SCYLLA ATAPI CD-ROM" and once as a generic ATAPI CDROM. Unfortunately, I cannot reproduce this. With the same memory range, I get varying results.

For the record, the details are - Gateway 2000SOLO: No problems.

Thinkpad240: The machine now runs the 2.2.15 kernel (as from RH6.2 beta) and the associated pcmcia bits (3.1.8). From /var/log/messages some reasonably typical messages:

--------------------------------------------------------------

Feb 14 19:25:25 localhost kernel: Intel PCIC probe:
Feb 14 19:25:25 localhost kernel:   TI 1211 PCI-to-CardBus at bus 0 slot 10, mem 0x68000000, 1 socket
Feb 14 19:25:25 localhost kernel:     host opts [0]: [ring] [pwr save] [pci + serial irq] [pci irq 11] [lat 168/176] [bus 32/34]
Feb 14 19:25:25 localhost kernel:     ISA irqs (scanned) = 3,9,10,15 status change on irq 15
Feb 14 19:25:25 localhost cardmgr[1003]: starting, version is 3.1.8
Feb 14 19:25:25 localhost cardmgr[1003]: watching 1 sockets
Feb 14 19:25:25 localhost kernel: cs: IO port probe 0x1000-0x17ff: clean.
Feb 14 19:25:25 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377
Feb 14 19:25:25 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Feb 14 19:25:27 localhost cardmgr[1003]: initializing socket 0
Feb 14 19:25:27 localhost kernel: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
Feb 14 19:25:27 localhost kernel: cs: warning: no high memory space available!
Feb 14 19:25:27 localhost kernel: cs: memory probe 0x0d0000-0x0dffff: excluding 0xd0000-0xdffff
Feb 14 19:25:27 localhost kernel: cs: memory probe 0x0e0000-0x0effff: excluding 0xe0000-0xeffff
Feb 14 19:25:27 localhost kernel: cs: memory probe 0x0f0000-0x0fffff: excluding 0xf0000-0xfffff
Feb 14 19:25:27 localhost kernel: cs: unable to map card memory!
Feb 14 19:25:27 localhost kernel: cs: unable to map card memory!
Feb 14 19:25:27 localhost cardmgr[1003]: socket 0: Anonymous Memory
Feb 14 19:25:27 localhost cardmgr[1003]: executing: 'insmod /lib/modules/2.2.15-2.5.0/pcmcia/memory_cs.o'
Feb 14 19:25:27 localhost kernel: memory_cs: RequestWindow: Resource in use
Feb 14 19:25:28 localhost cardmgr[1003]: get dev info on socket 0 failed: Resource temporarily unavailable 

None IDE drive addition failure

Date: 2000, Feb 18
From: zvi zvi

I am trying to use an IDE disk drive on a desktop machine. The
pcmcia card reader is by ActionTec - PC700:

Interface:              16-bit ISA
Chipset:                Vadem VG-469
Configuration Modes:    Plug-N-Play compatible

The disk drive, in the sample data below, is an IDE disk drive by
Integral Peripherals - Viper 340. But I have tried also a drive
by Calluna (520Mb) that failed similarly.

The PC is running SuSE 6.2.

(Both drives work well in a laptop running windows 98 and the
 card reader works fine under windows 98)


Following is various data I hope will give some clues as
to the problem.

Last comment, the Viper drive works every now an then (one in 50 insertions`
after a reboot)...


Thanks in advance

zvi    

----Start Data
                         
lore2:/etc/pcmcia # uname -rv
2.2.10 #1 Tue Jul 20 16:32:24 MEST 1999

lore2:/etc/pcmcia # cardctl -V
cardctl version 3.0.13

lore2:~ # cardctl ident 0
  product info: "INTEGRAL PERIPHERALS", "ATA CARD"
  manfid: 0x0106, 0x0000
  function: 4 (fixed disk)

lore2:~ # cardctl status 0
  5V 16-bit card present
  Function 0: ready

lore2:~ # cardctl config 0
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Interface type is memory and I/O
  IRQ 3 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x0200
      Option = 0x41, status = 0000, pin = 0000, copy = 0000
    I/O window 1: 0x0100 to 0x010f, auto sized

lore2:/etc/pcmcia # fdisk /dev/hde

The number of cylinders for this disk is set to 8963.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hde: 16 heads, 54 sectors, 8963 cylinders
Units = cylinders of 864 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1        621388   1251730 272307445   83  Linux
Partition 1 does not end on cylinder boundary:
     phys=(1023, 47, 54) should be (1023, 15, 54)

Command (m for help):


messages file during insertion and intialization:               

Jan  6 08:43:13 lore2 cardmgr[109]: initializing socket 0
Jan  6 08:43:13 lore2 cardmgr[109]: socket 0: ATA/IDE Fixed Disk
Jan  6 08:43:13 lore2 cardmgr[109]: executing: 'insmod /lib/modules/2.2.10/pcmcia/ide_cs.o'
Jan  6 08:43:33 lore2 kernel: hde: integral Peripherals 8340Pa, ATA DISK drive                  
Jan  6 08:43:33 lore2 kernel: hdf: no response (status = 0xa1), resetting drive
Jan  6 08:43:33 lore2 kernel: hdf: no response (status = 0xa1)
Jan  6 08:43:33 lore2 kernel: ide2 at 0x100-0x107,0x10e on irq 3
Jan  6 08:43:33 lore2 kernel: hde: integral Peripherals 8340Pa, 3781MB w/4128kB Cache, CHS=8963/
16/54                                                                                           
Jan  6 08:43:33 lore2 kernel:  hde: hde1 hde2 hde3 hde4
Jan  6 08:43:33 lore2 kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0                                 
Jan  6 08:43:33 lore2 cardmgr[109]: executing: './ide start hde'
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }                                                                                         
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0                                                                                       
 Jan  6 08:43:33 lore2 kernel: ide2: reset: success
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }                                                                                         
Jan  6 08:43:33 lore2 kernel: hde: read_intr: error=0x10 { SectorIdNotFound }, CHS=31563/14/35, sector=0
Jan  6 08:43:33 lore2 kernel: ide2: reset: success    
Jan  6 08:43:33 lore2 kernel: hde: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }



lore2:/etc/pcmcia # lsmod
Module                  Size  Used by
ide_cs                  3324   1
sd_mod                 15408   0  (autoclean) (unused)
vmnet                   9552   3
vmmon                  10528   0  (unused)
3c59x                  17388   1  (autoclean)
ds                      6144   4  [ide_cs]
i82365                 23308   2
pcmcia_core            41656   0  [ide_cs ds i82365]
serial                 41940   0  (autoclean)
memstat                 1412   0  (unused)
pnp                    45736   1
uart401                 6740   1
opl3                   13228   1
ad1848                 49144   1
midi                   27560   1  [pnp uart401 opl3 ad1848]
soundbase             479212   1  [pnp uart401 opl3 ad1848 midi]
sndshield               4732   0  [pnp uart401 opl3 ad1848 midi soundbase]     


----End

Sad SmartMedia Adaptor causes Kernel Oops

Date: 2000, Feb 19
From: Brian Mays brian

SmartMedia Adaptor causes Kernel Oops

When the card is inserted, everything locks up for several seconds, and the following is logged in kern.log:

    ===========================================================================
    Jan 22 20:21:31 nermal kernel: hdc: , ATA DISK drive 
    Jan 22 20:21:31 nermal kernel: hdd: no response (status = 0xa1), resetting drive 
    Jan 22 20:21:31 nermal kernel: hdd: no response (status = 0xa1) 
    Jan 22 20:21:31 nermal kernel: ide2: ports already in use, skipping probe 
    Jan 22 20:21:31 nermal kernel: ide1 at 0x100-0x107,0x10e on irq 10 
    Jan 22 20:21:31 nermal kernel: hdc: , 7MB w/1kB Cache, CHS=250/4/16 
    Jan 22 20:21:31 nermal kernel:  hdc: hdc1 
    Jan 22 20:21:31 nermal kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0 
    Jan 22 20:21:32 nermal kernel: VFS: Disk change detected on device ide1(22,0) 
    Jan 22 20:21:32 nermal kernel:  hdc: hdc1 
    Jan 22 20:21:32 nermal kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error } 
    Jan 22 20:21:32 nermal kernel: hdc: drive_cmd: error=0x04 { DriveStatusError } 
    Jan 22 20:22:04 nermal kernel: VFS: Disk change detected on device ide1(22,1) 
    Jan 22 20:22:04 nermal kernel:  hdc: hdc1 
    Jan 22 20:22:04 nermal kernel: VFS: Disk change detected on device ide1(22,1) 
    Jan 22 20:22:04 nermal kernel:  hdc: hdc1 
    Jan 22 20:28:31 nermal kernel: VFS: Disk change detected on device ide1(22,0) 
    Jan 22 20:28:31 nermal kernel:  hdc: hdc1 
    Jan 22 20:28:31 nermal kernel: VFS: Disk change detected on device ide1(22,0) 
    Jan 22 20:28:31 nermal kernel:  hdc: hdc1 
    ===========================================================================

Shortly after the SmartMedia Adaptor is ejected, programs start crashing or locking up randomly and one or more kernel Oopses are logged (occasionally this does not happen - probably less than 10% of the time):

    ===========================================================================
    Jan 22 20:28:42 nermal kernel: Unable to handle kernel paging request at virtual address 01ee77f8 
    Jan 22 20:28:42 nermal kernel: current->tss.cr3 = 006a3000, %cr3 = 006a3000 
    Jan 22 20:28:42 nermal kernel: *pde = 00000000 
    Jan 22 20:28:42 nermal kernel: Oops: 0000 
    Jan 22 20:28:42 nermal kernel: CPU:    0 
    Jan 22 20:28:42 nermal kernel: EIP:    0010:[free_wait+44/108] 
    Jan 22 20:28:42 nermal kernel: EFLAGS: 00010007 
    Jan 22 20:28:42 nermal kernel: eax: 00004000   ebx: 01ee77f4   ecx: c1fbc000   edx: 80000400 
    Jan 22 20:28:42 nermal kernel: esi: 01ee77f0   edi: c1fbc000   ebp: 00000207   esp: c06a5f38 
    Jan 22 20:28:42 nermal kernel: ds: 0018   es: 0018   ss: 0018 
    Jan 22 20:28:42 nermal kernel: Process kfm (pid: 282, process nr: 38, stackpage=c06a5000) 
    Jan 22 20:28:42 nermal kernel: Stack: 00000007 00000000 c012d6e0 c1fbc000 00000004 00000001 c0e1fbf8 00000000  
    Jan 22 20:28:42 nermal kernel:        00000040 00000304 c06a4000 00000000 00000000 c1fbc000 c012da69 00000007  
    Jan 22 20:28:42 nermal kernel:        c06a5fa8 c06a5fa4 c06a4000 00000000 40309c48 bffffabc c012d050 c06a5fa8  
    Jan 22 20:28:42 nermal kernel: Call Trace: [do_select+512/536] [sys_select+881/1176] [sys_ioctl+420/444] [system_call+52/56]  
    Jan 22 20:28:42 nermal kernel: Code: 8b 4e 08 89 ca 8b 41 04 39 d8 74 09 89 c2 8b 42 04 39 d8 75  
    Jan 22 20:28:55 nermal kernel: Unable to handle kernel paging request at virtual address 006c5000 
    Jan 22 20:28:55 nermal kernel: current->tss.cr3 = 00eb9000, %cr3 = 00eb9000 
    Jan 22 20:28:55 nermal kernel: *pde = 00000000 
    Jan 22 20:28:55 nermal kernel: Oops: 0000 
    Jan 22 20:28:55 nermal kernel: CPU:    0 
    Jan 22 20:28:55 nermal kernel: EIP:    0010:[__wake_up+30/72] 
    Jan 22 20:28:55 nermal kernel: EFLAGS: 00013216 
    Jan 22 20:28:55 nermal kernel: eax: c16e10a8   ebx: 80001000   ecx: c12f5080   edx: 006c5000 
    Jan 22 20:28:55 nermal kernel: esi: c16e10a4   edi: 00000001   ebp: c0ebde6c   esp: c0ebde68 
    Jan 22 20:28:55 nermal kernel: ds: 0018   es: 0018   ss: 0018 
    Jan 22 20:28:55 nermal kernel: Process XF86_SVGA (pid: 221, process nr: 30, stackpage=c0ebd000) 
    Jan 22 20:28:55 nermal kernel: Stack: 00000020 c0ebdea0 c014b329 c0814f40 c0172a81 c12f4dc0 00000020 c0ebded0  
    Jan 22 20:28:55 nermal kernel:        c0ebdf00 c0172844 00003246 00000000 c12f5080 c08140e0 c16e0f7c c014901e  
    Jan 22 20:28:55 nermal kernel:        c16e0f7c c0ebdf00 00000020 c0ebded0 c16e0f7c c16e0f7c 00000020 00000001  
    Jan 22 20:28:55 nermal kernel: Call Trace: [sock_def_readable+25/44] [unix_stream_sendmsg+573/604] [unix_stream_sendmsg+0/604] [sock_sendmsg+138/176] [unix_stream_sendmsg+0/604] [sock_readv_writev+136/148] [do_readv_writev+326/496]  
     Jan 22 20:28:55 nermal kernel:        [schedule+334/636] [sys_writev+106/144] [system_call+52/56]  
    Jan 22 20:28:55 nermal kernel: Code: 8b 02 85 c7 74 f1 39 f3 74 0c 89 d0 e8 29 f9 ff ff eb e4 8d  
    ===========================================================================

I have checked:

  *  The Card is unmounted before ejecting
  *  I use cardinfo or cardctl to eject the card before removing it
  *  The card operates correctly in a Windoze 98 machine
  *  The card operates correctly with the 2.0.38 kernel & version 3.0.5 of the PCMCIA modules

I am currently using a custom 2.2.14 kernel, however the problem seems to have existed with all 2.2 series kernels I have tried with the card (I started with 2.2.10). The laptop is a Dell Latitude XPi P133ST.

This problem is known to exist with version 3.1.8 and 3.1.10 of PC Card Services.

1. None Doesn't seem to be a common problem by David Hinds, 2000, Feb 28

Question PCMCIA ATAPI CDROM burners?

Date: 2000, Feb 24
From: miles tenhand

I've got a EXT brand ATAPI cdrom burner that is recognized just fine as a cd drive, but I can't figure out how to use it as a burner.

I know that I need to use the ATAPI scsi emulation, but I'm not sure how or if that can be done with the pcmcia software.

Has this been done before?

1. None There's actually a new document about this by David Hinds, 2000, Feb 24

Question PCMCIA card reader problems with ISA controller

Date: 2000, Feb 25
From: Steve McClure smcclure

I can't get my card reader to work correctly on my desktop machine.  I get a high low beep sequence whenever I insert a CompactFlash card.

dmesg output:
Linux PCMCIA Card Services 3.1.10
  kernel build: 2.0.36 #3 Sat Oct 2 12:56:34 EDT 1999
  options:  [pci] [cardbus]
Intel PCIC probe:
  VIA VT83C469 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
    host opts [0]: [ring]
    host opts [1]: [ring]
    ISA irqs (default) = none! polling interval = 1000 ms
cs: IO port probe 0x03e0-0x03e1: clean.
cs: memory probe 0x0d0000-0x0dffff: clean.

When I insert the card I get this from dmesg:
ide_cs: GetNextTuple: No more items

cardctl ident reports:
Socket 0:
  product info: "CL ATA FLASH CARD LEXAR  ", "TORNADO", "V.00E"
  manfid: 0x4e01, 0x0200  function: 4 (fixed disk)
Socket 1:
  no product info available

etc/sysconfig/pcmcia:
PCMCIA=yes
PCIC=i82365
PCIC_OPTS="irq_list=, poll_interval=100"
CORE_OPTS=
CARDMGR_OPTS=""

etc/pcmcia/config.opts:
#
# Local PCMCIA Configuration File
#
# System resources available for PCMCIA devices
##include port 0x100-0x4ff, port 0x1000-0x17ff
#include memory 0xc0000-0xfffff, memory 0xa0000000-0xa0ffffff
include port 0x3e0-0x3e1
include memory 0xd0000-0xdffff
#
# Extra port range for IBM Token Ring#
#include port 0xa00-0xaff
## Resources we should not use, even if they appear to be available
#
# First built-in serial portexclude irq 4
# Second built-in serial port
#exclude irq 3# First built-in parallel port
exclude irq 7
## Options for loadable modules
#
# To fix sluggish network with IBM ethernet adapter...#module "pcnet_cs" opts "mem_speed=600"
#
# Options for Xircom Netwave driver...#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"

#module "ide_cs" opts "irq_list=10,11,14"module "ide_cs" opts "irq_list=14"



and finally strace reports this which looks the ioctl in cardmgr.c for DS_GET_DEVICE_INFO:
ioctl(1, 0xc050643d, 0x8059bd8)         = -1 EAGAIN (Resource temporarily unavailable)

I've tried different incantations of irq_list, poll_interval, etc.  It does work in Win95 with the port and memory listed above. It uses IRQ 14 in Win95.

I have my second serial and both IDE controllers disabled in my BIOS.

Any help would be greatly appreciated.
1. None Two separate issues by David Hinds, 2000, Feb 25
(_ Note Re: two separate issues by Steve McClure, 2000, Feb 26
(_ None Re: Note: Re: two separate issues by David Hinds, 2000, Feb 26

Question cannot mount cdrom

Date: 2000, Feb 28
From: Robert Rosenbaum rrosen

when I try to mount my cdrom, it says: mount: /dev/cdrom is not a valid block device

It sure looks like a block device:

$ls -l /dev/cdrom /dev/hdc
 ... /dev/cdrom -> /dev/hdc
 brwx-rw---- 1 root 22, 0 May 5 1998 /dev/hdc

The strange thing is that it worked fine under Red Hat 5 (Linux 2.0.36), but it stopped working when I upgraded. I am running Red Hat 6.1 , on a Toshiba Portege 300CT. The BIOS is set for PCIC mode.

$uname -a
 Linux umbar 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 i586 unknown
$cat /proc/devices
 Character devices
 ...
 254 pcmcia
 Block Devices
 ...
 3 ide0
 ...
 22 ide1
$cat /proc/modules
 ide_cs 2916 1
 pcnet_cs 7572 1
 8390 5920 0 [pcnet_cs]
 ds 5740 2 [ide_cs pcnet_cs]
 i82365 22640 2
 pcmcia_core 39912 0 [ide_cs pcnet_cs ds i82365]
$cat /proc/interrupts
 ...
 5: 8 XT-PIC ide1
 ...
$cat /var/run/stab
 Socket 0:KTI ETHER-C16 Fast ethernet
 0 network pcnet_cs 0 eth0
 Socket 1:ATA/IDE Fixed Disk
 1 ide ide_cs 0 hdc 22 0
$cardctl status
 Socket 0:
  5V 16-bit card present
  Function 0: ready
 Socket 1:
  5V 16-bit card present
  Function 0: ready, battery low 
   {cdrom using AC adaptor, but can use batteries}
$dmesg
 hdd: CRN-8240, ATAPI CDROM drive
 ide1 at 0x100-0x107,0x10e on irq 5
 hdd: ATAPI 24X CDROM drive, 128kB Cache
 ide_cs: hdc: Vcc = 5.0, Vpp = 0.0

One odd thing... The file /sbin/ide_info was missing from my distribution. I grabbed the latest source, compiled it, and copied it to /sbin. Then when I insert the card, I see in /var/log/messages:

 /sbin/ide_info /dev/hdc
 open() failed: Device not configured.

So the open() call is returning EXNIO, but /proc/devices says it exists.

1. None A closer look by David Hinds, 2000, Feb 28
(_ Ok success! by Robert Rosenbaum, 2000, Mar 01

Question Problems with IBM Portable Drive Bay and CD-ROM

Date: 2000, Mar 18
From: Sten Drescher StenD

I'm attempting to use a CD-ROM drive in an IBM Portable Drive Bay with my ThinkPad 600. SUPPORTED.CARDS indicates that this has been tested, but I'm having problems with it. The HOWTO indicates that there may be problems configuring the drive if there is no media present at insertion time, but I'm still having problems despite having a CD in the drive. I typically have to issue `cardctl eject 0; cardctl insert 0` to get the ide channel recognized:

 Mar 17 16:39:54 sybil kernel: Linux PCMCIA Card Services 3.1.13 
 Mar 17 16:39:54 sybil kernel:   kernel build: 2.2.14 #1 Fri  Mar 17 15:41:52 CST 2000 
 Mar 17 16:39:54 sybil kernel:   options:  [pci] [cardbus] [apm] 
 Mar 17 16:39:54 sybil kernel: PCI routing table version 1.0 at 0xf9e10 
 Mar 17 16:39:54 sybil kernel:   00:02.0 -> irq 11 
 Mar 17 16:39:54 sybil kernel:   00:02.1 -> irq 11 
 Mar 17 16:39:54 sybil kernel: Intel PCIC probe:  
 Mar 17 16:39:54 sybil kernel:   TI 1250A PCI-to-CardBus at slot 00:02, mem 0x20301000 
 Mar 17 16:39:54 sybil kernel:     host opts [0]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 1/3] 
 Mar 17 16:39:54 sybil kernel:     host opts [1]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 4/6] 
 Mar 17 16:39:55 sybil kernel:     ISA irqs (scanned) = 3,4,7,9,10 PCI status changes 
 Mar 17 16:39:55 sybil kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x15e8-0x15ef 
 Mar 17 16:39:55 sybil kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x388-0x38f 0x3b8-0x3
df 0x4d0-0x4d7 
 Mar 17 16:39:55 sybil kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
 Mar 17 16:39:55 sybil kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. 
 Mar 17 16:40:20 sybil kernel: ide_cs: ide_register() at 0x320 & 0x32e, irq 3 failed 
 Mar 17 16:40:22 sybil kernel: eth0: 3Com 3c589, io 0x300, irq 3, hw_addr 00:10:4B:EC:D7:A1 
 Mar 17 16:40:22 sybil kernel:   8K FIFO split 5:3 Rx:Tx, auto xcvr 
 Mar 17 16:40:23 sybil kernel: eth0: flipped to 10baseT 
 Mar 17 16:40:27 sybil kernel: eth0: flipped to 10baseT 
 Mar 17 16:41:29 sybil kernel: hde: CRN-8241B, ATAPI CDROM drive 
 Mar 17 16:41:29 sybil kernel: ide2 at 0x320-0x327,0x32e on irq 3 
 Mar 17 16:41:29 sybil kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0 
 Mar 17 16:41:29 sybil kernel: hde: bad special flag: 0x03 

Things seem to work fine after this, but I have trouble later unmounting the CD. I see the following messages in /var/log/messages at that point:

 Mar 17 20:50:18 sybil kernel: hde: irq timeout: status=0xd0 { Busy } 
 Mar 17 20:50:48 sybil kernel: hde: ATAPI reset timed-out, status=0xd0 
 Mar 17 20:51:19 sybil kernel: ide2: reset timed-out, status=0xd0 
 Mar 17 20:51:19 sybil kernel: hde: status timeout: status=0xd0 { Busy } 
 Mar 17 20:51:19 sybil kernel: hde: drive not ready for command 
 Mar 17 20:51:53 sybil kernel: hde: ATAPI reset timed-out, status=0xd0 
 Mar 17 20:52:24 sybil kernel: ide2: reset timed-out, status=0xd0 
 Mar 17 20:52:24 sybil kernel: hde: status timeout: status=0xd0 { Busy } 
 Mar 17 20:52:24 sybil kernel: end_request: I/O error, dev 21:00 (hde), sector 0 
 Mar 17 20:52:24 sybil kernel: hde: drive not ready for command 

As I said, this is an IBM ThinkPad 600, type 2645-85U. I'm using the IBM Portable Drive Bay (FRU 37L1513) with the IBM IDE PC Card (33L5033) and an UltraslimBay CD-ROM (05K9267). Any assistance anyone can provide would be welcomed.

Question Problems with Archos MiniZip 100

Date: 2000, Mar 21
From: Claudio Weidmann cweidmann

I don't get it to work... Google pointed me to the old groups
on hyper.stanford.edu, but they disappeared. My main problem
is that I have kernel 2.0.38 and don't have the time to
upgrade right now. pcmcia is 3.1.13. I'm trying to use
ide-scsi, since ide-floppy crashes sometimes, and never lets
me access /dev/hde.

Relevant info:

append = "SCHEME=home,hde=noprobe,hde=ide-scsi"

Kernel config:
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
CONFIG_BLK_DEV_IDE_PCMCIA=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y

/var/log/messages:
Mar 21 11:13:15 lcavpc26 cardmgr[71]: socket 1: ATA/IDE Fixed Disk
Mar 21 11:13:15 lcavpc26 cardmgr[71]: executing: 'insmod /lib/modules/2.0.38/pcmcia/ide_cs.o'
Mar 21 11:13:18 lcavpc26 kernel: hde: probing with STATUS instead of ALTSTATUS
Mar 21 11:13:18 lcavpc26 kernel: hde: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive - enabling SCSI emulation
Mar 21 11:13:18 lcavpc26 kernel: ATAPI overlap supported: No
Mar 21 11:13:18 lcavpc26 kernel: ide2 at 0x11f0-0x11f7,0x13f6 on irq 10
Mar 21 11:13:18 lcavpc26 kernel: ide_cs: hde: Vcc = 5.0, Vpp = 12.0
Mar 21 11:13:18 lcavpc26 cardmgr[71]: executing: './ide start hde'

cat /proc/scsi/scsi 
Attached devices: none

How can I force the SCSI subsystem to scan for new devices?
Thanks for any help

Claudio
1. None A possible workaround for the ide-scsi issue by David Hinds, 2000, Mar 21

None Smartmedia 15 second freeze

Date: 2000, Apr 02
From: J. Schmid jds

Each time a smartmedia card is inserted, my system "freezes" for approx. 15 seconds (no mouse or keyboard activity except vt-switching; display corruption in the case of switching to X). After the freeze smart media mounting, reading, writing works without (known) problems.

Hardware:

Sony-Vaio 737, simple Technology SmartMediaAdapter, OLYMPUS M-8P D3V10 SmartMedia

Software:

linux 2.2.12+patch irda3

pcmcia-packages tried: pcmcia-cs.12-Jan-00.tar.gz, pcmcia-cs-3.1.13.tar.gz, pcmcia-cs.31-Mar-00.tar.gz

The freezing is the same with all tested versions of "pcmcia"
the message:
  Apr  2 11:37:40 heidi kernel:     PCI irq 9 test failed
occurs only for the two latest versions tested.

Because of 
  Apr  2 12:03:17 heidi cardmgr[199]: error parsing CIS on socket 0: Invalid argument
I have attached the output of dump-cis.
Several error messages regarding ide follow the insertion
and a missed interrupt follows the ejection.
From the syslog:

Apr  2 11:37:40 heidi kernel: Linux PCMCIA Card Services 3.1.14
Apr  2 11:37:40 heidi kernel:   kernel build: 2.2.12 #1 Sun Mar 19 09:33:26 /etc/localtime 2000
Apr  2 11:37:40 heidi kernel:   options:  [pci] [cardbus] [apm]
Apr  2 11:37:40 heidi kernel: PCI routing table version 1.0 at 0xfdf80
Apr  2 11:37:40 heidi kernel: Intel PCIC probe: 
Apr  2 11:37:40 heidi kernel:   Ricoh RL5C478 rev 03 PCI-to-CardBus at slot 00:0a, mem 0x68000000
Apr  2 11:37:40 heidi kernel:     host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [pci irq 9] [lat 168/176] [bus 32/34]
Apr  2 11:37:40 heidi kernel:     host opts [1]: [isa irq] [io 3/6/1] [mem 3/6/1] [pci irq 9] [lat 168/176] [bus 35/37]
Apr  2 11:37:40 heidi kernel:     PCI irq 9 test failed
Apr  2 11:37:40 heidi kernel:     ISA irqs (default) = 3,4,5,7,10,11,12 polling interval = 1000 ms
Apr  2 11:37:41 heidi cardmgr[199]: starting, version is 3.1.14
Apr  2 11:37:42 heidi kernel: IrDA (tm) Protocols for Linux-2.3 (Dag Brattli)
Apr  2 11:37:42 heidi cardmgr[199]: config error, file './config.opts' line 45: module name not found!
Apr  2 11:37:42 heidi kernel: IrCOMM protocol (Dag Brattli)
Apr  2 11:37:42 heidi kernel: cs: IO port probe 0x1000-0x17ff: clean.
Apr  2 11:37:42 heidi kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x140-0x147 0x220-0x22f 0x320-0x327 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
Apr  2 11:37:42 heidi kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Apr  2 11:37:42 heidi cardmgr[199]: watching 2 sockets
[...]
Apr  2 12:03:17 heidi kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Apr  2 12:03:17 heidi cardmgr[199]: initializing socket 0
Apr  2 12:03:17 heidi cardmgr[199]: error parsing CIS on socket 0: Invalid argument
Apr  2 12:03:17 heidi cardmgr[199]: socket 0: ATA/IDE Fixed Disk
Apr  2 12:03:17 heidi cardmgr[199]: executing: 'insmod /lib/modules/2.2.12/pcmcia/ide_cs.o'
Apr  2 12:03:34 heidi kernel: hde: , ATA DISK drive
Apr  2 12:03:34 heidi kernel: hdf: no response (status = 0xeb), resetting drive
Apr  2 12:03:34 heidi kernel: hdf: no response (status = 0xeb)
Apr  2 12:03:34 heidi kernel: ide2 at 0x100-0x107,0x10e on irq 3
Apr  2 12:03:34 heidi kernel: hde: , 7MB w/1kB Cache, CHS=250/4/16
Apr  2 12:03:34 heidi kernel:  hde: hde1
Apr  2 12:03:34 heidi kernel: ide_cs: hde: Vcc = 5.0, Vpp = 12.0
Apr  2 12:03:34 heidi cardmgr[199]: executing: './ide start hde'
Apr  2 12:03:35 heidi kernel: VFS: Disk change detected on device ide2(33,0)
Apr  2 12:03:35 heidi kernel:  hde: hde1
Apr  2 12:03:35 heidi kernel: hde: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Apr  2 12:03:35 heidi kernel: hde: drive_cmd: error=0x04 { DriveStatusError }
********ejection***************
Apr  2 12:04:31 heidi kernel: ide2: unexpected interrupt, status=0xff, count=1
Apr  2 12:04:31 heidi cardmgr[199]: shutting down socket 0
Apr  2 12:04:31 heidi cardmgr[199]: executing: './ide stop hde'
Apr  2 12:04:31 heidi cardmgr[199]: + open() failed: No such device
Apr  2 12:04:32 heidi cardmgr[199]: executing: 'rmmod ide_cs'

*******************************
/home/jschmid/software/pcmcia-cs-3.1.14/debug-tools/dump_cis -v
*******************************
Socket 0:
  offset 0x02, tuple 0x01, link 0x04
    df 4a 01 ff 
  dev_info
    fn_specific 400ns, 2kb

  offset 0x08, tuple 0x18, link 0x02
    df 01 
  common_jedec 0xdf 0x01

  offset 0x0c, tuple 0x20, link 0x02
    df 01 
  parse error: Invalid argument

  offset 0x10, tuple 0x15, link 0x15
    04 01 20 20 20 20 20 00 20 20 20 20 20 20 20 20 
    20 20 00 00 ff 
  vers_1 4.1, "     ", "          ", ""

  offset 0x27, tuple 0x21, link 0x02
    04 01 
  funcid fixed_disk [post]

  offset 0x2b, tuple 0x22, link 0x02
    01 01 
  disk_interface [ide]

  offset 0x2f, tuple 0x22, link 0x03
    02 0d 0f 
  disk_features [silicon] [unique] [single]
    [sleep] [standby] [idle] [low power]

  offset 0x34, tuple 0x1a, link 0x05
    01 03 00 02 0f 
  config base 0x0200 mask 0x000f last_index 0x03

  offset 0x3b, tuple 0x1b, link 0x0a
    c0 c0 a2 01 55 01 0e 08 00 20 
  cftable_entry 0x00 [default]
    [rdybsy] [mwait] [pwrdown]
    Vcc Vnom 5V
    Vpp1 Vnom 12V
    memory 0x0000-0x07ff @ 0x0000

  offset 0x47, tuple 0x1b, link 0x0c
    c1 41 9a 01 55 01 0e 64 f0 ff ff 20 
  cftable_entry 0x01 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V
    Vpp1 Vnom 12V
    io 0x0000-0x000f [lines=4] [8bit] [16bit]
    irq mask 0xffff [level] [pulse] [shared]

  offset 0x55, tuple 0x1b, link 0x0c
    82 41 18 ea 61 f0 01 07 f6 03 01 ee 
  cftable_entry 0x02
    [rdybsy]
    io 0x01f0-0x01f7, 0x03f6-0x03f7 [lines=10] [8bit] [16bit] [range]
    irq 14 [level] [pulse] [shared]

  offset 0x63, tuple 0x1b, link 0x0c
    83 41 18 ea 61 70 01 07 76 03 01 ee 
  cftable_entry 0x03
    [rdybsy]
    io 0x0170-0x0177, 0x0376-0x0377 [lines=10] [8bit] [16bit] [range]
    irq 14 [level] [pulse] [shared]

  offset 0x71, tuple 0x14, link 0x00
  no_long_link

Socket 1:
  no CIS present

1. None For now, that's just the way it is by David Hinds, 2000, Apr 03
(_ None kernel knows about flash by J. Schmid, 2000, Apr 05
(_ None Changes to the IDE driver that should help by David Hinds, 2000, Apr 05
(_ None 15 second freeze solved, lockups remain by J. Schmid, 2000, Apr 08
(_ None I don't know what to suggest for the lockups by David Hinds, 2000, Apr 10

Question Can a card permenantly damage a particular IRQ?

Date: 2000, Apr 02
From: John Ruttenberg rutt

I have this Olympus MA-2E smartmedia adaptor and I also have a history of notebook computers with pcmcia that didn't seem to work quite right. I recently got a new Dell inspiron 5k. After a little work (the scan didn't seem to work right.) I was able to get pcmcia working with my network cards on IRQ 9. (My wavelan card hated IRQ 3 but my 3com card worked on both IRQ 3 and IRQ 9. The wavelan card would cause the system to freeze when used on IRQ3.)

Anyway after a few days of using the computer, I tried to insert my Olympus card. My computer instantly hung (nothing in the SYSLOG.) Fine. I can understand that. So I restarted without the Olympus card and just the wavelan card. It froze as soon as it tried to use the network. Eventually I limited the irq_list to just 10 and now the wavelan card works again.

Could I have zapped IRQ 9 with the Olympus card? Does this story make any sense?

1. None I can't really tell what's going on here by David Hinds, 2000, Apr 03

None smartmedia adaptor w dell inspiron 5k

Date: 2000, Apr 04
From: John Ruttenberg rutt

I have:

	pcmcia-3.1.13 + a patch
            (so that pci status changes work)
	linux-2.2.14
	dell inspiron 5k
	simple technology smartmedia adaptor

When I insert this card (with no other cards inserted) it
makes the two good beeps, but it doesn't actually work.
Here is what the syslog shows:

Apr  4 18:21:30 alice kernel: Linux PCMCIA Card Services 3.1.13 
Apr  4 18:21:30 alice kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 
Apr  4 18:21:30 alice kernel:   options:  [pci] [cardbus] [apm] [pnp] 
Apr  4 18:21:30 alice kernel: PCI routing table version 1.0 at 0xfdf50 
Apr  4 18:21:30 alice kernel: PnP: PNP BIOS installation structure at 0xc00f7220 
Apr  4 18:21:30 alice kernel: PnP: PNP BIOS version 1.0, entry at f0000:a77c, dseg at 400 
Apr  4 18:21:30 alice kernel: Intel PCIC probe:  
Apr  4 18:21:30 alice kernel:   TI 1225 PCI-to-CardBus at slot 00:04, mem 0x68000000 
Apr  4 18:21:30 alice kernel:     host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 168/32] [bus 32/34] 
Apr  4 18:21:30 alice kernel:     host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 168/32] [bus 35/37] 
Apr  4 18:21:30 alice kernel:     ISA irqs (scanned) = 9,10 PCI status changes 
Apr  4 18:21:30 alice cardmgr[1081]: starting, version is 3.1.13
Apr  4 18:21:30 alice cardmgr[1081]: watching 2 sockets
Apr  4 18:21:30 alice kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Apr  4 18:21:30 alice kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377 
Apr  4 18:21:30 alice cardmgr[1081]: could not adjust resource: IO ports 0x300-0x3ff: Device or resource busy
Apr  4 18:21:30 alice cardmgr[1081]: could not adjust resource: IO ports 0x200-0x27f: Device or resource busy
Apr  4 18:21:57 alice cardmgr[1081]: initializing socket 1
Apr  4 18:21:57 alice kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. 
Apr  4 18:21:57 alice cardmgr[1081]: error parsing CIS on socket 1: Invalid argument
Apr  4 18:21:57 alice cardmgr[1081]: socket 1: ATA/IDE Fixed Disk
Apr  4 18:21:57 alice cardmgr[1081]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/ide_cs.o'
Apr  4 18:22:02 alice kernel: hdc: , ATA DISK drive 
Apr  4 18:22:02 alice kernel: ide1 at 0x100-0x107,0x10e on irq 9 
Apr  4 18:22:02 alice kernel: hdc: , 31MB w/1kB Cache, CHS=500/8/16 
Apr  4 18:22:02 alice kernel:  hdc: hdc1 
Apr  4 18:22:02 alice kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0 
Apr  4 18:22:02 alice cardmgr[1081]: executing: './ide start hdc'
Apr  4 18:22:02 alice kernel:  hdc: hdc1 
Apr  4 18:22:02 alice kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error } 
Apr  4 18:22:02 alice kernel: hdc: drive_cmd: error=0x04 { DriveStatusError } 
Apr  4 18:22:34 alice cardmgr[1081]: shutting down socket 1
Apr  4 18:22:34 alice cardmgr[1081]: executing: './ide stop hdc'
Apr  4 18:22:34 alice modprobe: modprobe: Can't locate module block-major-22
Apr  4 18:22:34 alice cardmgr[1081]: + open() failed: No such device
Apr  4 18:22:34 alice cardmgr[1081]: executing: 'rmmod ide_cs'

1. Ok The card actually works by David Hinds, 2000, Apr 04

Question IRQ changes each time card it ejected

Date: 2000, Apr 10
From: Tony Sciortino tsciortino

I am using cargmgr 3.1.14 with kernel 2.2.14 mainly a mandrake 7 laptop. I have a Calluna ATA/IDE card that works great under normal circumstances. Here is my main issue. With the filesystem on the card mounted, I just pull the card out without unmounting the filesystem or using cardctl -eject. Cardmgr seems to take care of the unmount, mount and /etc/mtab no longer show the mount. If I put the card back in, cardmgr detects and activates the card. But, the first time card is used, it is /dev/hdc1 IRQ 3 After the removal and reinsertion of the card, it is now going after IRQ 9 and is /dev/hde1 I can not just pull the card out anymore times than this because it then can not find a free IRQ. Why is IRQ 3 nolonger able to be used? Is there a way to free or reset IRQ3 when the card is just pulled out? If not how about manualy.

Also, anyone have any luck using supermount with ATA/IDE card device, I get a kernel panic when I do...

1. None You are doing a bad bad thing by David Hinds, 2000, Apr 10

Question CardBus EIDE interface

Date: 2000, Apr 19
From: Nicko van Someren Nicko

I have recently purchased a MiniDVD drive from Archos and it comes with a neat little PCMCIA addaptor card. The card is made by Shining and it has a little switch on the side. In one position the card operates as a standard PCMCIA card and under Linux it shows as a product info: "Shining", "PMIDE-ASC", "Rev 1.04" and works just fine with the ide_cs driver. In the other position the card is a CardBus device. The output of /proc/pci shows:

    Unknown mass storage controller: Unknown vendor Unknown device (rev 0).
      Vendor id=14e6. Device id=1.
      Medium devsel.  

In this mode the PCMCIA system sees it as a CardBus card but it does not really know what to do with it.

So, my question is this: is anyone working on any drivers for and CardBus IDE controlers? If so, how advanced are they? If not, if someone would care to give me pointers as to where to start I'll have a go at writing them (or hacking them to bit so that someone else can fix the mess that I make; it's 10 years since I wrote drivers for Unix :-)

Any help would be, well, helpful really.

	Nicko

Question problem with IDE and Linux SMP

Date: 2000, Apr 24
From: Peter A. Castro doctor

About 6 months ago I added a second processor to my system and rebuilt a linux 2.2.14 kernel with SMP. I'd rebuild PCMCIA-CS 3.1.14 under this config. Since then, I've been experiencing hangs when I do large or continuous file copies from either a SanDisk PC Card II (ATA Flash) or a SanDisk CF in a SanDisk CF Adapter. Both appear to the system as ATA/IDE drives. At the moment I'm only reading data from these cards. I haven't tried writing to them for fear that they will be trashed. I've loaded a large file (test1.dat) onto the card from a friends machine for testing. This file is about 20Mb. I also have a bunch of smaller files (~512k) whose sum totals more that 20Mb. If I attempt to copy anything that takes more that 3-4 seconds or totals more than 8Mb in size, I get into a condition where the device no longer responds; the console keeps saying that some operation timed-out (see logs below) because the resource was busy. I also see in the process list what looks like an attempt by the system to umount the card! At this point, I must reboot to clear the condition, and because of the resource problem a clean shutdown isn't possible.

If I take the same kernel config and rebuild without SMP (and rebuild PCMCIA-CS under the non-SMP config) things work normally. Large copies complete without any problems.

Has anyone else experienced this? Any ideas as to what's going on? Below are logs of a copy of the large file. I suspect a race condition having to do with SMP, but where I couldn't really guess. I don't really want to have to go back to a single-processor config. Any help would be greatly appreciated!

The PCMCIA card reader is an Antec DataChute PCMCIA ISA reader/writer. It's based on the VIA83C469 chipset. As my config shows below, I use the i82365 module. I've tried every changing every config parameter available, in various combinations, for the i82365 without any real success.

My /etc/pcmcia.conf is pretty simple:
 ------------------------------------------------------------
 PCMCIA=yes
 PCIC=i82365
 PCIC_OPTS="irq_list=5"
 CARDMGR_OPTS="-v"
 ------------------------------------------------------------

Here's the syslog of what happened.  This card has always
reported a status=0x51 and error=0x04 apon insertion, but has
never given me any problems (under a UP kernel).  Any idea
what these errors represent??
 ------------------------------------------------------------
 Linux PCMCIA Card Services 3.1.14
   kernel build: 2.2.14 #3 SMP Sun Feb 27 19:54:47 PST 2000
   options:  [pci] [cardbus] [pnp]
 PnP: PNP BIOS installation structure at 0xc00f7430
 PnP: PNP BIOS version 1.0, entry at f0000:6d84, dseg at f0000
 Intel PCIC probe:
   VIA VT83C469 rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
     host opts [0]: [ring]
     host opts [1]: [ring]
     ISA irqs (default) = 5 polling interval = 1000 ms
 cs: IO port probe 0x1000-0x17ff: clean.
 cs: IO port probe 0x0100-0x04ff: excluding 0x140-0x15f
 cs: memory probe 0x0d0000-0x0dffff: excluding 0xd0000-0xd3fff
 hde: SunDisk SDP3B-220, ATA DISK drive
 ide2 at 0x100-0x107,0x10e on irq 5
 hde: SunDisk SDP3B-220, 210MB w/1kB Cache, CHS=840/16/32
  hde: hde1
 ide_cs: hde: Vcc = 5.0, Vpp = 0.0
 VFS: Disk change detected on device ide2(33,0)
  hde: hde1
 hde: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
 hde: drive_cmd: error=0x04 { DriveStatusError }
 VFS: Disk change detected on device ide2(33,1)
  hde: hde1
 VFS: Disk change detected on device ide2(33,1)
  hde: hde1
 hde: irq timeout: status=0xff { Busy }
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 end_request: I/O error, dev 21:01 (hde), sector 68276
 hde: drive not ready for command
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 end_request: I/O error, dev 21:01 (hde), sector 68277
 hde: drive not ready for command
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ide2: reset timed-out, status=0xff
 hde: status timeout: status=0xff { Busy }
 end_request: I/O error, dev 21:01 (hde), sector 68278
 hde: drive not ready for command
 hde: status timeout: status=0xff { Busy }
 hde: drive not ready for command
 ------------------------------------------------------------

Part of a process list at the time of the first Busy message:
 ------------------------------------------------------------
  433  ?  S    0:01 /sbin/cardmgr -v
  468   1 D    0:00 cp /pcmcia/test1.dat .
  469  ?  S    0:00 sh -c ./ide stop hde 2>&1
  470  ?  S    0:00 sh ./ide stop hde
  481  ?  D    0:00 umount -v /dev/hde1
 ------------------------------------------------------------

1. None I have not heard this one before by David Hinds, 2000, Apr 24
(_ None Have done extensive testing, still have problems. by Peter A. Castro, 2000, Apr 26
(_ None Re: Have done extensive testing, still have problems. by David Hinds, 2000, Apr 26
(_ Ok That works! by Peter A. Castro, 2000, May 02

Question ide_cs tells me ide_register failed

Date: 2000, May 06
From: Fabian Wenzel tigerente

Hi there!

I just upgraded my system and suddenly my Microdrive and CompactFlash Cards doesn't get registered anymore.
Everything else works fine, e.g. Network or SCSI - Cards.

This is the output that I got:

May  5 21:55:25 troll kernel: ds_open(socket 0)
May  5 21:55:25 troll kernel: ds_open(socket 1)
May  5 21:55:25 troll kernel: ds_open(socket 2)
May  5 21:55:25 troll kernel: ds_release(socket 0)
May  5 21:55:25 troll kernel: ds_release(socket 1)
May  5 21:55:25 troll cardmgr[84]: initializing socket 1
May  5 21:55:25 troll cardmgr[84]: socket 1: ATA/IDE Fixed Disk
May  5 21:55:25 troll cardmgr[84]: executing: 'insmod /lib/modules/2.2.14/pcmcia/ide_cs.o pc_debug=1'
May  5 21:55:25 troll kernel: ide_cs.c 1.26 1999/11/16 02:10:49 (David Hinds)
May  5 21:55:25 troll kernel: ds: register_pccard_driver('ide_cs')
May  5 21:55:25 troll kernel: ide_attach()
May  5 21:55:25 troll kernel: ide_config(0xc556ca20)
May  5 21:55:26 troll kernel: ide_cs: ide_register() at 0x100 & 0x10e, irq 3 failed
May  5 21:55:26 troll kernel: ide_release(0xc556ca20)
May  5 21:55:28 troll cardmgr[84]: get dev info on socket 1 failed: Resource temporarily unavailable
May  5 21:55:28 troll kernel: ide_detach(0xc556ca20)

Which is very strange as e.g. the SCSI card works using that IRQ.
I also tried to exclude most of the IRQs leaving only 11 which is also used by the Microdrive under Windows98 (just to be sure that this is not the problem)
and I still get the same errors.

Does anybody have an idea?

Thanks,

                    Fabian

1. Ok Fixed: Use now ide-probe.c from 2.2.13 instead of 2.2.14 by Fabian Wenzel, 2000, May 06
(_ None Please forward to the IDE driver maintainer by David Hinds, 2000, May 08

Question SanDisc make troubles

Date: 2000, May 17
From: Rüdiger Gubler ruediger.gubler

Hello,


First my system:

    Controller: i82365
    Kernel: 2.2.15
    PCMCIA: 3.1.14


Now the  troubles:

If I insert a SanDisk (ATA/IDE) with 16MB Capacity
it would recognised well (two high sounds).

If I insert a SanDisk (ATA/IDE) with 96MB Capacity
at the active console the following message appears:

    cs: socket 0 timed out during reset

After a

    cardctl reset

as root I will get a high and a low Sound.
The stab-file is empty. But a

    mount -t msdos /dev/hde1 /mnt/mem

works.

Whats wrong?
My Canon S20 camera works very well with these card.


  Rüdiger
1. None Your system log is your friend by David Hinds, 2000, May 17
(_ More "If there a message stands i'll be happy" by Rüdiger Gubler, 2000, May 18
(_ Ok Lucky you -- I just solved this problem (in ide script) **FIX** by Tom Hundt, 2000, Jun 07

Question problem with Archos Zip100

Date: 2000, Jun 09
From: Ulrich Lauther lauther

Linux 2.2.13 Slackware 7.0, but self-compiled pcmcia 3.1.15 (3.1.14 crashes the kernel when hot swapping cards) Siemens-Fujitsu Lifebook E 6540

when I insert the Archos Zip100 Minidrive (carries a Fujitsu label) I hear a high and after quite a while a low beep. The logfile says:

Jun  9 12:35:30 newnote kernel: Linux PCMCIA Card Services 3.1.15
Jun  9 12:35:30 newnote kernel:   kernel build: 2.2.13 #22 Wed Oct 20 17:32:52 CDT 19
99
Jun  9 12:35:30 newnote kernel:   options:  [pci] [cardbus]
Jun  9 12:35:30 newnote kernel: PCI routing table version 1.0 at 0xfdf50
Jun  9 12:35:30 newnote kernel:   00:0f.0 -> irq 9
Jun  9 12:35:30 newnote kernel:   00:0f.1 -> irq 9
Jun  9 12:35:30 newnote kernel: Intel PCIC probe: 
Jun  9 12:35:30 newnote kernel:   Ricoh RL5C476 rev 80 PCI-to-CardBus at slot 00:0f, 
mem 0x68000000 Jun 9 12:35:30 newnote kernel: host opts [0]: [serial irq] [io 3/6/1] [mem 3/6/1 ] [pci irq 9] [lat 64/176] [bus 2/2] Jun 9 12:35:30 newnote kernel: host opts [1]: [serial irq] [io 3/6/1] [mem 3/6/1 ] [pci irq 9] [lat 64/176] [bus 3/3] Jun 9 12:35:30 newnote kernel: ISA irqs (default) = 3,4,5,7,10,11 PCI status cha nges
Jun  9 12:35:30 newnote cardmgr[1464]: starting, version is 3.1.15
Jun  9 12:35:30 newnote cardmgr[1464]: watching 2 sockets
Jun  9 12:35:30 newnote kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcf
f
Jun  9 12:35:30 newnote kernel: cs: IO port probe 0x0800-0x08ff: clean.
Jun  9 12:35:30 newnote kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x118-0x11
f 0x4d0-0x4d7
Jun  9 12:35:30 newnote kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jun  9 12:35:48 newnote cardmgr[1464]: initializing socket 0
Jun  9 12:35:48 newnote kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jun  9 12:35:48 newnote cardmgr[1464]: socket 0: Xircom CEM56 Ethernet/Modem
Jun  9 12:35:48 newnote cardmgr[1464]: executing: 'modprobe xirc2ps_cs'
Jun  9 12:35:48 newnote kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh)
Jun  9 12:35:48 newnote cardmgr[1464]: executing: 'modprobe serial_cs'
Jun  9 12:35:53 newnote kernel: eth1: autonegotiation failed; using 10mbs
Jun  9 12:35:53 newnote kernel: eth1: MII selected
Jun  9 12:35:53 newnote kernel: eth1: media 10BaseT, silicon revision 5
Jun  9 12:35:53 newnote kernel: eth1: Xircom: port 0x300, irq 3, hwaddr 00:10:A4:04:E
7:B5
Jun  9 12:35:53 newnote kernel: tty00 at 0x0ae8 (irq = 3) is a 16550A
Jun  9 12:35:53 newnote cardmgr[1464]: executing: './network start eth1'
Jun  9 12:35:53 newnote cardmgr[1464]: executing: './serial start ttyS0'
Jun  9 12:36:52 newnote cardmgr[1464]: initializing socket 1
Jun  9 12:36:52 newnote cardmgr[1464]: socket 1: ATA/IDE Fixed Disk
Jun  9 12:36:52 newnote cardmgr[1464]: executing: 'modprobe ide_cs'
Jun  9 12:37:07 newnote kernel: ide_cs: ide_register() at 0x100 & 0x10e, irq 5 failed
Jun  9 12:37:08 newnote cardmgr[1464]: get dev info on socket 1 failed: Resource temp
orarily unavailable

What can I do?

1. None More information? by David Hinds, 2000, Jun 09
(_ Feedback more on Zip100 problem by Ulrich Lauther, 2000, Jun 10
(_ None Re: Feedback: more on Zip100 problem by David Hinds, 2000, Jun 13

Question SmartMedia fails after a few retries

Date: 2000, Jun 17
From: Benjamin Fuhrmannek BeF

HI

It seems that the devicename of my SmartMedia adaptor counts
 up and doesn't work after a few retries.

This is my log:
----------------------------------------------------
Jun 17 15:39:40 lap cardmgr[51]: initializing socket 0
Jun 17 15:39:40 lap cardmgr[51]: error parsing CIS on socket 0: Invalid argument
Jun 17 15:39:40 lap cardmgr[51]: socket 0: ATA/IDE Fixed Disk
Jun 17 15:39:40 lap cardmgr[51]: executing: 'modprobe ide_cs'
Jun 17 15:39:43 lap cardmgr[51]: executing: './ide start hdc'
Jun 17 15:39:44 lap cardmgr[51]: + /dev/hdc1 on /mnt2 type msdos (rw)
Jun 17 15:40:04 lap cardmgr[51]: shutting down socket 0
Jun 17 15:40:04 lap cardmgr[51]: executing: './ide stop hdc'
Jun 17 15:40:05 lap cardmgr[51]: + /dev/hdc1 umounted
Jun 17 15:40:05 lap cardmgr[51]: executing: 'modprobe -r ide_cs'
Jun 17 15:40:12 lap cardmgr[51]: initializing socket 0
Jun 17 15:40:12 lap cardmgr[51]: error parsing CIS on socket 0: Invalid argument
Jun 17 15:40:12 lap cardmgr[51]: socket 0: ATA/IDE Fixed Disk
Jun 17 15:40:12 lap cardmgr[51]: executing: 'modprobe ide_cs'
Jun 17 15:40:15 lap cardmgr[51]: executing: './ide start hde'
Jun 17 15:40:15 lap cardmgr[51]: + /dev/hde1 on /mnt2 type msdos (rw)
Jun 17 15:40:27 lap cardmgr[51]: shutting down socket 0
Jun 17 15:40:27 lap cardmgr[51]: executing: './ide stop hde'
Jun 17 15:40:28 lap cardmgr[51]: + /dev/hde1 umounted
Jun 17 15:40:28 lap cardmgr[51]: executing: 'modprobe -r ide_cs'
Jun 17 15:40:42 lap cardmgr[51]: initializing socket 0
Jun 17 15:40:42 lap cardmgr[51]: error parsing CIS on socket 0: Invalid argument
Jun 17 15:40:42 lap cardmgr[51]: socket 0: ATA/IDE Fixed Disk
Jun 17 15:40:42 lap cardmgr[51]: executing: 'modprobe ide_cs'
Jun 17 15:41:24 lap cardmgr[51]: executing: './ide start hdg'
Jun 17 15:45:35 lap cardmgr[51]: + /dev/hdg1 on /mnt2 type msdos (rw)
Jun 17 15:45:46 lap cardmgr[51]: shutting down socket 0
Jun 17 15:45:46 lap cardmgr[51]: executing: './ide stop hdg'
Jun 17 15:45:47 lap cardmgr[51]: + /dev/hdg1 umounted
Jun 17 15:45:47 lap cardmgr[51]: executing: 'modprobe -r ide_cs'
Jun 17 15:46:05 lap cardmgr[51]: initializing socket 0
Jun 17 15:46:05 lap cardmgr[51]: error parsing CIS on socket 0: Invalid argument
Jun 17 15:46:05 lap cardmgr[51]: socket 0: ATA/IDE Fixed Disk
Jun 17 15:46:05 lap cardmgr[51]: executing: 'modprobe ide_cs'
Jun 17 15:46:06 lap cardmgr[51]: get dev info on socket 0 failed: Resource temporarily unavailable
Jun 17 15:46:15 lap cardmgr[51]: shutting down socket 0
Jun 17 15:46:15 lap cardmgr[51]: executing: 'modprobe -r ide_cs'
-------------------------------------------

Any ideas?
1. None Do not "hot eject" IDE devices by David Hinds, 2000, Jun 19
(_ Feedback OK, but... by Benjamin Fuhrmannek, 2000, Jun 19
(_ None Of course by David Hinds, 2000, Jun 19

Feedback PCMCIA to ribbon-cable IDE

Date: 2000, Jun 27
From: Heather Stern starshine

I have at this point two PCMCIA-to-raw-IDE-pins devices which only work up to a certain point in Linux. Specifically, these gadgets allow me to attach any normal laptop drive to its pins, then insert the PCMCIA cable and voila! IDE mounting of a drive should occur. However, it seems to only work if the drive I am so attaching is sufficiently small and old. It works great for my old 528 MB drives (the original reason for buying the first one). One is a raw PCMCIA card with ribbon cable attachment (to IDE pinout matching 2.5" drives); the other is a pcmcia card to special plug, whose mate is on a small IDE bay (same pinout, just includes blinky-lights for power and access). Both behave similarly under Linux...

If I attach the card to a modern drive (eg 4 Gb, 12 Gb) and then insert its PCMCIA adapter to a 2.2.16 system, I get
  cs: socket 0 timed out during reset
although the drive does power up.  I then eject it because I don't want to harm the drives (though re-introducing them to their ordinary brackets shows them to be fine).

Under MSwin it mounts up correctly (verified using explore2fs, my drives don't tend to have vfat much anymore) using the utterly generic MSHDC driver ("generic IDE/ESDI"). Under OpenBSD it misbehaves a bit differently (and I'm in e-chat with them seperately). The point is that it's very clear that it is only a driver update that's needed. I'll be glad to send one of these "CarryDisk" adapters to the applicable developer if he or she would update it for modern use. They're pleasantly inexpensive for a multipurpose PCMCIA card. Its not-really-bright documentation is dated August 1998, and it doesn't seem to be a newer/cardbus device.

Since I don't have one I couldn't test this, but I'm wildly guessing that it would work correctly for IDE drives under 2 Gb. Thanks in advance!

Heather Stern -*- starshine

1. None Maybe a timing issue by David Hinds, 2000, Jul 07

Question unreliable compact flash transfer

Date: 2000, Jul 05
From: Reinoud Lamberts Reinoud

Hi,

Reading from one of my compact flash cards results in corrupted data.
When the system is cold, it often can't even mount (probably reading a
corrupted boot block: "hdc: unknown partition table"), and when it
mounts it can hardly read a file without corruption.  Once things warm
up, these corruptions only happen occasionally.  It should be noted
that everything else seems to work just fine with the PCMCIA,
including reading another CF card, and the troubling CF card works
flawless in a digicam.

System:
- PCMCIA Card Services 3.1.8
- Linux kernel 2.2.14 (kernel and pcmcia from Red Hat 2.2.14-12 rpm's).
- Toshiba portege 620CT notebook (oldish p100, no PCI I think)
- PCIC logs as "Intel i82365sl B step ISA-to-PCMCIA at port 0x3e0 ofs
  0x00, 2 sockets"
- CF card from 'CUBE memory / dane-elec' which logs as "Hitachi CV
  6.1.2, 30MB w/1kB Cache, CHS=492/4/32"; http://www.cubememory.com/
- Sandisk CF card adapter

The manufacturer boasts on its website that the Hitachi chipset they
use allows really fast transfer; maybe this doesn't mix well with my
old notebook hardware (unreliable signal timing)?

I tried slowing down the access to the card (not knowing what these
options really do) by setting (in /etc/sysconfig/pcmcia on Red Hat
6.0) PCIC_OPTS="cycle_time=n" and CORE_OPTS="io_speed=n" for various
values of n (0..10000), without noticeable result (in reliability,
transfer speed, or log messages).

Any comments greatly appreciated!

- Reinoud

Question ide_register() failed for SmartMedia Adapter

Date: 2000, Jul 11
From: Steffen Neumann sneumann

Hi,

I have the problem 
Hi there, I have a problem with the 
   ide_cs: ide_register() at 0x100 & 0x10e, irq 3 failed
error. I tried to exclude some IRQs, even though #3 is not listed
in /proc/interrupts. Some info is attached below, I'd be greatful
for any help or further hints where to look.

Cheers,
Steffen

------------------

System is
Compaq Armada 1750
SmartMedia Adapter MA-2E from Olympus camera kit

SuSE6.3
Kernel2.2.13 ( File: 25842 Nov  8  1999 ide-probe.c,
               Version 1.05  July 3, 1999)
               recompiled with APM Support turned on)

PCMCIA Tools 3.1.3

Cardctl ident tells me about that "disk": 
        Socket 0:
        product info: "       ", "    ", "0.0"
        manfid: 0x0000, 0x0000
        function: 4 (fixed disk)         

But no devices are available.

And the full messages are:

kernel: Linux PCMCIA Card Services 3.1.3
kernel:   kernel build: 2.2.13 #1 Mon Nov 8 18:28:35 GMT 1999
kernel:   options:  [pci] [cardbus] [pnp]
kernel: Intel PCIC probe:
kernel:   TI 1225 PCI-to-CardBus at bus 0 slot 17, mem 0x7fffe000, 2 sockets
kernel:     host opts [0]: [ring] [pwr save] [pci + serial irq] [pci irq 11] [lat 66/176] [bus 2/2]
kernel:     host opts [1]: [ring] [pwr save] [pci + serial irq] [pci irq 11] [lat 66/176] [bus 3/3]
kernel:     ISA irqs (scanned) = 3,4,7,9,10,15 PCI status changes
cardmgr[744]: starting, version is 3.1.3
cardmgr[744]: watching 2 sockets
kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x10ff
kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x250-0x257 0x378-0x37f 0x4d0-0x4d7
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[744]: initializing socket 0
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[744]: socket 0: ATA/IDE Fixed Disk
cardmgr[744]: executing: 'insmod /lib/modules/2.2.13/pcmcia/ide_cs.o'
kernel: ide_cs: ide_register() at 0x100 & 0x10e, irq 3 failed
cardmgr[744]: get dev info on socket 0 failed: Ressource unavailable

1. None Re: Question: ide_register() failed for SmartMedia Adapter by David Hinds, 2000, Jul 11
2. Ok Problem avoided by Steffen Neumann, 2000, Jul 12

Sad ATA Flash card fails on Thinkpad 240

Date: 2000, Jul 13
From: Eric Smith brouhaha

I have an old 10 megabyte IBM "ThinkPad File" PCMCIA flash card (IBM P/N 66G3014, FRU P/N 48G9900). It works fine with Red Hat 6.1 on my desktop computer at home, using an SCM interface (Vadem chip). This is using whatever version of pcmcia-cs Red Hat shipped with 6.1.

But on my ThinkPad 240 which apparently uses a TI PC1211 Cardbus bridge, the flash card isn't recognized. I get no beeps when I insert the card. On the ThinkPad I'm running Red Hat 6.2 with their kernel-2.2.14-5.0 updates, so it has pcmcia-cs version 3.1.8.

On insertion, the kernel logs:

Jul 13 16:35:35 zorac kernel: cs: socket 0 timed out during reset

Cardctl status reports:

Socket 0:
  3.3V 16-bit PC Card
  function 0: [busy]

Cardctl control reports:

Socket 0:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V

I strongly suspect that those voltages are wrong. When I go home tonight I'll see what the desktop machine reports.

A week ago I borrowed a SanDisk 48M CF card with a PCMCIA adapter, and it worked fine in the ThinkPad.

All of my other PCMCIA and CardBus cards seem to work fine in the ThinkPad, including:

  • Linksys PCMPC200 CardBus 10/100 Ethernet
  • Adaptec SlimSCSI 1480A CardBus (works great even though the support is experimental, I can write CD-R at 8X!)
  • IBM Home & Away 10 Mbps Ethernet/14.4 Modem
  • an OEM'd New Media Bus Toaster SCSI card
  • several different Megahertz modems
1. Note slightly more info by Eric Smith, 2000, Jul 14
2. Note Log of same card working on desktop computer by Eric Smith, 2000, Jul 14
1. None I'm not sure what's wrong on the Thinkpad by David Hinds, 2000, Jul 15

Question Compact Flash Hangs old Laptop

Date: 2000, Jul 14
From: Rui-Tao Dong rdong

I have an old NEC Versa 25c, which is was retired from its
Xterminal duty. (Replaced by an I-Opener :-).  I thought it
would be a good storage device (1.3GB) for my digital camera
for trips.  Unfortunately, it doesn't quite work.

The symptom is that inserting the CF card (w/ PCMCIA adapter)
completely hangs the machine, no message, no log, no response.

I am running RH 6.2 with CS 3.12 on a 25MHz i486.  The PCMCIA
slot works fine w/ a network card (Thomas Conrad), wireless
card (Wavelan) and sram card (Fuji).  The Nikon CF card
(SanDisk?) works fine on my UDB (Alpha Multia) with RH 6.2
CS 3.12 and my Zoomer.

This may not be a Linux problem.  I notice that the BIOS
wouldn't even run on poweron when the CF card is in
the slot.  However, I was hoping that the Kernel has more
control than the BIOS.

1. None It is a hardware incompatibility by David Hinds, 2000, Jul 14
(_ More Is there a reference? by Rui-Tao Dong, 2000, Jul 14
(_ None Again, I don't recommend this at all by David Hinds, 2000, Jul 14
(_ More Almost worked by Rui-Tao Dong, 2000, Jul 19

Question Problems with PCI to PCMCIA Adpater

Date: 2000, Aug 10
From: Nicolas Malsch nick

Hi guys,

I have a couple of issues with PCMCIA related stuff. One of them is urgent and about the PCMCIA Adapter. The Adapter is from Quatech. It is a PCD2-F/PCI. The configuration of the Card drive seems to be PCI bridge probe:

Ricoh RL5C476 found, 2 sockets.fine. 'probe' gives:

I am running RedHat 6.2 on a Dell Dimension XPS T600r. I upgraded from RedHat 6.1 a couple of weeks ago.

The problems start when I insert cards. It is not like he doesn't recognize them. Linux actually configures them properly but it takes a realy long time and I get some funky error messages in the /var/log/messages files:

When I insert a SunDisk 10 MB compact flash card, i get the following messages...

Aug  9 14:25:38 idefix cardmgr[450]: initializing socket 1
Aug  9 14:25:38 idefix cardmgr[450]: socket 1: ATA/IDE Fixed Disk
Aug  9 14:25:38 idefix kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Aug  9 14:25:39 idefix cardmgr[450]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/ide_cs.o'
Aug  9 14:25:41 idefix kernel: hde: SunDisk SDCFB-10, ATA DISK drive
Aug  9 14:25:41 idefix kernel: ide2 at 0x100-0x107,0x10e on irq 3
Aug  9 14:25:41 idefix kernel: hde: SunDisk SDCFB-10, 10MB w/1kB Cache, CHS=320/2/32
Aug  9 14:25:51 idefix kernel:  hde:hde: lost interrupt
Aug  9 14:26:01 idefix kernel: hde: lost interrupt
Aug  9 14:26:41 idefix last message repeated 4 times
Aug  9 14:26:41 idefix kernel:  unknown partition table
Aug  9 14:26:41 idefix kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
Aug  9 14:26:41 idefix cardmgr[450]: executing: './ide start hde'
Aug  9 14:26:41 idefix cardmgr[450]: + ./ide: /sbin/ide_info: No such file or directory

When I try my LinkSys EtherFast 10/100 PC Card, I get the following log...

ug 9 15:21:49 idefix cardmgr[449]: initializing socket 0

Aug  9 15:21:49 idefix cardmgr[449]: socket 0: NE2000 Compatible Ethernet
Aug  9 15:21:49 idefix cardmgr[449]: executing: 'insmod /lib/modules/2.2.14-5.0/net/8390.o'
Aug  9 15:21:49 idefix cardmgr[449]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/pcnet_cs.o'
Aug  9 15:21:49 idefix kernel: eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:E0:98:82:4A:71
Aug  9 15:21:49 idefix cardmgr[449]: executing: './network start eth0'
Aug  9 15:21:49 idefix pumpd[1327]: starting at (uptime 0 days, 0:14:17) Wed Aug  9 15:21:49 2000
Aug  9 15:21:51 idefix kernel: eth0: interrupt(s) dropped!
Aug  9 15:21:53 idefix kernel: eth0: interrupt(s) dropped!
Aug  9 15:21:53 idefix pumpd[1327]: configured interface eth0
Aug  9 15:21:53 idefix cardmgr[449]: + Determining IP information for eth0... done.
Aug  9 15:22:31 idefix last message repeated 6 times

I don't really know what is going on. It seems to "send a packet and them time out". I would appreciate help on that issue. Perhaps some explanation on the PCIC_OPTS with regards to PCI. If you need more info, feel free to ask.

Cheers, Nick

1. None Interrupt configuration issue: driver upgrade needed by David Hinds, 2000, Aug 10
(_ More upgrade didn't solve all issues... :- by Nicolas Malsch, 2000, Aug 22
(_ None Hmmm, I think this is an IDE driver bug by David Hinds, 2000, Aug 23

Question Archos CDRW irq timeout

Date: 2000, Sep 03
From: Matt Sexton sexton

I'm trying to use an Archos CDRW drive that came with an ATA/IDE PCMCIA card, under Linux 2.2.16 with pcmcia-cs-3.1.20 on a Dell Latitude CPi. I have successfully gotten the card recognized by the SCSI host adapter emulator (thanks to the PCMCIA CD-Writer HOWTO). IO ports and an interrupt are assigned, but the driver fails communitcating with the device. Initially, there are a series of:

Sep  2 23:56:56 pc-admin238 kernel: SCSI bus is being reset for host 0 channel 0. 
Sep  2 23:56:56 pc-admin238 kernel: scsi : aborting command due to timeout : pid 1, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00  
Sep  2 23:56:56 pc-admin238 kernel: SCSI host 0 abort (pid 1) timed out - resetting 

Eventually, there is this message:

Sep  2 23:57:21 pc-admin238 kernel: hdc: irq timeout: status=0xd0 { Busy } 
Sep  2 23:57:21 pc-admin238 kernel: hdc: DMA disabled 
Sep  2 23:57:21 pc-admin238 kernel: hdc: ATAPI reset complete 
Sep  2 23:57:21 pc-admin238 kernel: hdc: irq timeout: status=0x80 { Busy } 
Sep  2 23:57:21 pc-admin238 kernel: hdc: ATAPI reset complete 
Sep  2 23:57:22 pc-admin238 kernel: hdc: irq timeout: status=0x80 { Busy } 

The error is much the same when I use the ide-cd module instead of ide-scsi.

I have tried three different interrupts, all of which work fine for my PCMCIA ethernet (3c589) card. /proc/interrupts reports a nonzero number of interrupts being counted for the interrupt assigned to the driver.

I've tried changing the irq_mode for the CardBus controller (a TI 1131), with no effect.

Suggestions anyone?

Thanks, Matt

Here is the log from starting up pcmcia-cs

Sep  2 23:56:44 pc-admin238 kernel: Intel PCIC probe:  
Sep  2 23:56:44 pc-admin238 kernel:   TI 1131 rev 01 PCI-to-CardBus at slot 00:03
, mem 0xf8000000 
Sep  2 23:56:44 pc-admin238 kernel:     host opts [0]: [ring] [pci + serial irq] 
[pci irq 11] [lat 32/32] [bus 32/34] 
Sep  2 23:56:44 pc-admin238 kernel:     host opts [1]: [ring] [pci + serial irq] 
[pci irq 11] [lat 32/32] [bus 35/37] 
Sep  2 23:56:44 pc-admin238 kernel:     ISA irqs (scanned) = 3,9,10,15 PCI status
 changes 
Sep  2 23:56:44 pc-admin238 cardmgr[442]: starting, version is 3.1.20
Sep  2 23:56:44 pc-admin238 cardmgr[442]: watching 2 sockets
Sep  2 23:56:44 pc-admin238 kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Sep  2 23:56:44 pc-admin238 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x
170-0x177 0x290-0x297 0x370-0x37f 
Sep  2 23:56:44 pc-admin238 kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Sep  2 23:56:45 pc-admin238 cardmgr[442]: initializing socket 1
Sep  2 23:56:45 pc-admin238 kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean
. 
Sep  2 23:56:45 pc-admin238 cardmgr[442]: socket 1: ATA/IDE Fixed Disk
Sep  2 23:56:45 pc-admin238 cardmgr[442]: executing: 'modprobe ide_cs'
Sep  2 23:56:50 pc-admin238 kernel: hdc: probing with STATUS(0x80) instead of ALT
STATUS(0xa0) 
Sep  2 23:56:50 pc-admin238 kernel: hdc: ARCHOS MiniCDRW XS4424, ATAPI CDROM driv
e 
Sep  2 23:56:50 pc-admin238 kernel: ide2: ports already in use, skipping probe 
Sep  2 23:56:50 pc-admin238 kernel: ide1 at 0x11f0-0x11f7,0x13f6 on irq 10 
Sep  2 23:56:50 pc-admin238 kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0 
Sep  2 23:56:50 pc-admin238 cardmgr[442]: executing: './ide start hdc'
Sep  2 23:56:51 pc-admin238 kernel: ide-cd: ignoring drive hdc 
Sep  2 23:56:51 pc-admin238 kernel: hdc: driver not present 
Sep  2 23:56:51 pc-admin238 cardmgr[442]: + open() failed: Device not configured
Sep  2 23:56:51 pc-admin238 kernel: scsi0 : SCSI host adapter emulation for IDE A
TAPI devices 
Sep  2 23:56:51 pc-admin238 kernel: scsi : 1 host. 
Sep  2 23:56:53 pc-admin238 kernel: scsi : aborting command due to timeout : pid 
1, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00  
Sep  2 23:56:55 pc-admin238 kernel: scsi : aborting command due to timeout : pid 
1, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00  
Sep  2 23:56:55 pc-admin238 kernel: SCSI host 0 abort (pid 1) timed out - resetti
ng 

1. None I'd also try fiddling with IO port windows by David Hinds, 2000, Sep 07
(_ None no luck with I/O ports by Matt Sexton, 2000, Sep 09
PCMCIA ATA/IDE Device Issues


Add Message to: "PCMCIA ATA/IDE Device Issues"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10