Use this page to discuss PCMCIA driver development. Appropriate topics could include suggesting patches, or requests for new features; discussion of changes in beta versions of the PCMCIA package; and PCMCIA programming questions and discussion of driver internals. Beta releases of the PCMCIA drivers are kept here.

Messages Inline: 0 All Outline: 1 2 All

Sad Trouble with Cirrus ctlr & multiple PCI busses

Date: 1999, Oct 30
From: Dave Tuttle Dave_T

It looks like I am going to have to dive into the source code, but perhaps someone can help. I have an 'industrial PC' system based on a Force CPCI-730 processor board in a CompactPCI backplane. My PCMCIA slot (not CardBus) is via a Ramix PMC230 mezzanine card with a Cirrus PD6729 controller. There is a middling-complicated bus structure, such that the Cirrus chip is behind a DEC PCI Bridge.

For reasons unknown, everything appears to work except for card recognition. The system cannot read the CIS for any card that I insert, in spite of getting the insertion signal. The Ramix people suggested that I have to reprogram the PCI bus bridge to create a memory window (to something, for somewhere) to access the CIS. Is there something else I am missing?

The processor is a Pentium Pro Mobile (low power) at 333 MHz, with a system bus at 100 MHz, 128MB of SDRAM with ECC. The PCI busses all run at 33 MHz. Here is a listing of the PCI structure, from /proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (no AGP) (rev 3).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xfe800000 [0xfe800008].
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcd0 [0xfcd1].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=64.  
      I/O at 0xfce0 [0xfce1].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   8, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xfc00 [0xfc01].
      Non-prefetchable 32 bit memory at 0xfedffc00 [0xfedffc00].
  Bus  3, device   4, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xdc00 [0xdc01].
      Non-prefetchable 32 bit memory at 0xfcdff800 [0xfcdff800].
  Bus  3, device   5, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xd880 [0xd881].
      Non-prefetchable 32 bit memory at 0xfcdff400 [0xfcdff400].
  Bus  3, device   6, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xd800 [0xd801].
      Non-prefetchable 32 bit memory at 0xfcdff000 [0xfcdff000].
  Bus  3, device   7, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 5.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xd480 [0xd481].
      Non-prefetchable 32 bit memory at 0xfcdfec00 [0xfcdfec00].
  Bus  0, device   9, function  0:
    PCI bridge: DEC DC21150 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=99.  Min Gnt=12.
  Bus  0, device  10, function  0:
    PCI bridge: DEC DC21150 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min Gnt=4.
  Bus  1, device  12, function  0:
    PCMCIA bridge: Cirrus Logic CL 6729 (rev 7).
      Slow devsel.  IRQ 5.  
      I/O at 0xecfc [0xecfd].
  Bus  1, device  13, function  0:
    VGA compatible controller: Chips & Technologies Unknown device (rev 100).
      Vendor id=102c. Device id=c0.
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfd000000].
  Bus  2, device  13, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min Gnt=4.
  Bus  2, device  14, function  0:
    Bridge: Tundra Unknown device (rev 2).
      Vendor id=10e3. Device id=860.
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xfcffe000 [0xfcffe000].
      Non-prefetchable 32 bit memory at 0xfcf00000 [0xfcf00000].

> --------------

I have tried this on RedHat Linux 5.2 with Pcmcia 3.0.9, on RedHat Linux 6.0 with 3.0.9, and on RedHat 6.1 with both 3.0.9 and 3.1.3. Nothing works. Here is the typical system log, the last entry following insertion of a SanDisk SDP3B FlashDisk ATA card:

 Linux PCMCIA Card Services 3.1.3
   kernel build: 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999
   options:  [pci] [cardbus] [apm] [pnp]
 PnP: PNP BIOS installation structure at 0xc00f7170
 PnP: PNP BIOS version 1.0, entry at f0000:a317, dseg at 400
 PCI routing table version 1.0 at 0xfded0
 Intel PCIC probe: 
   Cirrus PD6729 PCI-to-PCMCIA at bus 1 slot 12, port 0xecfc, 2 sockets
     host opts [0]: [ring] [6/16/2] [6/36/2]
     host opts [1]: [ring] [6/16/2] [6/36/2]
     ISA irqs (default) = 11 polling interval = 1000 ms
 cs: IO port probe 0x1100-0x17ff: clean.
 cs: IO port probe 0x0110-0x04ff: excluding 0x158-0x15f 0x290-0x297 0x378-0x37f
 cs: IO port probe 0x0a00-0x0aff: clean.
 memory_cs: mem0: anonymous: unknown size

/etc/sysconfig/pcmcia:

 PCMCIA=yes
 PCIC="i82365"
 PCIC_OPTS="cycle_time=10 fast_pci=1 cmd_time=16 setup_time=6 recov_time=2 poll_interval=100 irq_list=11,12"
 CORE_OPTS="cis_speed=350 probe_mem=0"
 CARDMGR_OPTS=
 SCHEME=

/etc/pcmcia/config.opts:

 #
 # Local PCMCIA Configuration File
 #
 # System resources available for PCMCIA devices
 #
 include port 0x110-0x4ff, port 0x1100-0x17ff
 include memory 0xc8000-0xcffff
 include memory 0xa0000000-0xa0ffffff
 #include memory 0x60000000-0x60ffffff
 #
 # 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 port
 exclude irq 4
 # Second built-in serial port
 exclude irq 3
 # First built-in parallel port
 exclude irq 7

> ----------

Dave Tuttle, NorthStar Internetworking

1. Note I think you're right about the bridge being the issue by David Hinds, 1999, Nov 02
(_ Agree Thanks for the reply; "Have doc, will travail" by Dave Tuttle, 1999, Nov 02
(_ None It doesn't need to be fancy... by David Hinds, 1999, Nov 02

Question Are pcmcia clients in the kernel supported?

Date: 1999, Nov 05
From: Bas Vermeulen TallGuy

I've been using kernel 2.3.18 on my laptop, with the pcnet_cs and a custom driver compiled into the kernel. This worked very well (no more need for modules), until I upgraded to 2.3.25, where the cardmgr couldn't find the correct driver any more.
I upgraded the cardmgr to 3.1.3 (I was using 3.0.7 for 2.3.18), and it still wouldn't work.

So my question is this: Is it officially supported to compile pcmcia client drivers into the kernel? (If it is, it ain't working at the moment, at least not for me).

Regards,

Bas Vermeulen
1. None The kernel PCMCIA system is incomplete and experimental by David Hinds, 1999, Nov 05

Feedback Bugfix for debugging code

Date: 1999, Nov 14
From: Steve Bonds sbonds

While trying to debug a PCMCIA installation problem, I discovered that several of the PCMCIA modules were segfaulting when pc_debug=<number> was used. I went through the code and discovered that in many modules (i82365.c, tcic.c, others) there is the following declaration:

static int pc_debug = PCMCIA_DEBUG;
followed by:
MODULE_PARM(pc_debug, "i");
which tries to change the value of the static variable. This causes segfaults.

I'm currently using version 3.0.14, though I have checked and the bug appears to still be present in version 3.1.4.

1. None I don't think that's the problem by David Hinds, 1999, Nov 15
(_ None Wierd... by Steve Bonds, 1999, Nov 20

Question Accessing mapped memory of a cardbus pc-card

Date: 1999, Nov 19
From: Patrick Osterloh p_osterloh

Hi folks!

I wondered if there is an other possibiliy of accessing
the mapped memory of a cardbus pc-card than writing/reading
to/from the device node (e.g /dev/cbmem0s1). The reason
for my question: I developed a CardBus PC Card that
implements a 32 MByte memory. When I write a 32-bit data
word to the device node (/dev/cbmem0s1), the data appears 
on the CardBus in two consecutive 16-bit memory transfers.
I´m not sure, wether the socket controller (TI 1131) or 
file handling in the operating system is responsible for
splitting one 32-bit transfer into two 16-bit transfers.
I´d like to write the 32-bit data directly into the 
mapped memory of my CardBus card, but I actually don´t
know how to manage it. I already tried something like

extern volatile u_int *mem_start = 0xa0000000;
*memstart = 0x12345678;

but without succes, since the second line produces a
segmentation fault.

Perhaps someone of you out there has a solution for this
problem? 

Regards

Patrick
1. None The memory_cb driver is not very bright by David Hinds, 1999, Nov 19

Warning cardmgr.c Patch - Linux 2.2.14pre9 patch to /usr/src/linux/include/scsi/scsi.h adds spinlocks

Date: 1999, Nov 27
From: Todd A. Wood tawman

Built a 2.2.14pre9 kernel and had problems compiling pcmcia-cs-3.0.14. Then I grabbed pcmcia-cs-3.1.4 and had the same problem.

This problem did not exist with 2.2.14pre8.

make[1]: Entering directory `/usr/local/src/pcmcia-cs-3.1.4/cardmgr'
cc  -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c cardmgr.c
In file included from cardmgr.c:201:
/usr/src/linux/include/scsi/scsi.h:21: parse error before `scsi_malloc_lock'
/usr/src/linux/include/scsi/scsi.h:21: warning: data definition has no type or storage class
make[1]: *** [cardmgr.o] Error 1

I took a look at scsi/scsi.h and some other files in the kernel 2.2.14pre9 patch which had spinlocks added. The end result is to modify cardmgr.c and include the proper spinlocks.h file for the kernel version.

Apply the following patch to cardmgr and it will compile with 2.2.14pre9:

# diff -urN cardmgr/cardmgr.c.orig cardmgr/cardmgr.c
--- cardmgr/cardmgr.c.orig	Tue Nov  9 00:37:34 1999
+++ cardmgr/cardmgr.c	Sat Nov 27 23:49:12 1999
@@ -198,8 +198,13 @@
 #ifdef __linux__

 #include 
-#include 
 #define VERSION(v,p,s) (((v)<<16)+(p<<8)+s)
+#if LINUX_VERSION_CODE >= VERSION(2,3,18)
+#include 
+#elif LINUX_VERSION_CODE >= VERSION(2,1,95)
+#include 
+#endif /* version >= 2.1.95 */
+#include 
 #if (LINUX_VERSION_CODE < VERSION(2,1,126))
 #define SCSI_DISK0_MAJOR SCSI_DISK_MAJOR
 #endif
1. None This is really a bug in the header, not in PCMCIA by David Hinds, 1999, Nov 29

Warning Cardmgr compilation problem under 2.0.38 kernel with pcmcia-cs-3.1.6

Date: 1999, Dec 11
From: Stephane COLIN bigbob

I've just checked to switch from v3.1.4 to v3.1.6 and since, the compilation doesn't finish properly.

Here is the error in the cardmgr directory :

make[1]: Entering directory `/usr/src/pcmcia-cs-3.1.6/cardmgr' cc -O -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c lex_config.c lex_config.l: In function `do_source': lex_config.l:190: `GLOB_NOMAGIC' undeclared (first use this function) lex_config.l:190: (Each undeclared identifier is reported only once lex_config.l:190: for each function it appears in.) make[1]: *** [lex_config.o] Error 1 make[1]: Leaving directory `/usr/src/pcmcia-cs-3.1.6/cardmgr' make: *** [all] Error 2

Some idea ???

PS : I use kernel 2.0.38 ...

Thanks in advance ...

1. None My mistake, it's a glibc thing by David Hinds, 1999, Dec 12
2. Feedback How i can fix the compilation problem of cardmgr under libc5+2.0.38 by Stephane COLIN, 1999, Dec 12
3. Feedback Temporary tips ... by Stephane COLIN, 1999, Dec 12

Question Does the tcic.o module support multiple cards/controllers?

Date: 1999, Dec 15
From: Dan dan

Hi,

I noticed that the i82365 module supports multiple controllers with the extra_sockets(?) option.

Does the tcic module support more than one card/controller? Upon quick perusal of the sources, there didn't seem to be an equivalent option.

Maybe this is just a module-loading/linux issue... Any tips are appreciated.

Lastly, has anyone had any luck using two different controller types in the same machine? (e.g. tcic and i82365, both? - don't ask...)

thanks,

danno
1. None Not directly, but there's a workaround by David Hinds, 1999, Dec 15

Question Difference between pcmcia-cs and RedHat's kernel-pcmcia-cs??

Date: 1999, Dec 26
From: Scott Petrack scott.petrack

I need to start looking at the pcmcia sources in order to solve a problem I posted elsewhere. I am running RedHat 6.1. The first thing I notice is that David Hind's package is called pcmcia-cs, and what I have installed seems to be kernel-pcmcia-cs:

[root@scott /tmp]# rpm -qa | grep pcmcia

kernel-pcmcia-cs-2.2.12-20

I'm about to go get the source from RedHat, but perhaps you could save me some trouble by telling me how I use your code on a RedHat system? Is it as simple as uninstalling the RedHat kernel-pcmcia-cs package and then compiling/installing the pcmcia-cs package?

The only reason I'm doing this is

a) to get some debug information about why my system won't recognize my modem card. The kernel-pcmcia-cs drivers seem to be compiled with no debug info.

b) to fix the problem if I can. I assume that the RedHat release doesn't use the latest sources.

Thanks

1. None No difference by David Hinds, 1999, Dec 27

Question Problems with compiling cs-3.1.9 under K 2.3.38

Date: 2000, Jan 09
From: Stefan Kapfhammer StefanKapfhammer

Hello everyone,

I have problems compiling pcmcia-cs 3.1.8/9 with Kernel 2.3.38 (no problems with K 2.2.14). I disabled all static in-kernel pcmcia features (see below .config) but tried also with enabled serial_cb, tulip_cb, cardbus. Everytime it results in stopping the compile process. What did I wrong?

Every help is welcome.

Regards,

Stefan

--------------- Hard-/software profile ----------------

Toshiba Tecra 8000 - 256 MB RAM - ToPIC97 enabled - Xircom RBEM56G-100BTX Tecra Bios: 8.20

SuSE Linux 6.3 - gcc 2.95.2 - make 3.78.1 - glibc 2.1.2 - modutils 2.3.7

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users. Consult the PCMCIA-HOWTO for additional info about each option.

Linux source directory [/usr/src/linux]:

The kernel source tree is version 2.3.38. The current kernel build date is Sun Jan 9 15:20:42 2000.

Alternate target install directory []:
  Module install directory [/lib/modules/2.3.38]:
Build 'trusting' versions of card utilities (y/n) [n]:
Include 32-bit (CardBus) card support (y/n) [y]:
Include PnP BIOS resource checking (y/n) [n]:

The PCMCIA drivers need to be compiled to match the kernel they will be used with, or some or all of the modules may fail to load. If you are not sure what to do, please consult the PCMCIA-HOWTO.

How would you like to set kernel-specific options?
    1 - Read from the currently running kernel
    2 - Read from the Linux source tree
Enter option (1-2) [2]:

Kernel configuration options:
    Static in-kernel PCMCIA support is disabled.
    Symmetric multiprocessing support is disabled.
    PCI BIOS support is enabled.
    Advanced Power Management (APM) support is enabled.
    SCSI support is disabled.
    Networking support is enabled.
     Radio network interface support is disabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
    Module version checking is disabled.
    /proc filesystem support is enabled.

It looks like you have a System V init file setup.

------------------ Output of 'make all' ----------------

make[1]: Entering directory `/usr/src/pcmcia-cs-3.1.9/modules' cc -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -D__KERNEL__ -DMODULE -c i82365.c i82365.c: In function `set_bridge_opts': i82365.c:1236: incompatible types in assignment i82365.c:1236: structure has no member named `next' i82365.c:1235: warning: `p' might be used uninitialized in this function i82365.c: In function `add_cb_bridge': i82365.c:1759: incompatible types in assignment i82365.c:1759: structure has no member named `next' i82365.c:1772: structure has no member named `next' i82365.c:1773: incompatible types in assignment i82365.c:1758: warning: `child' might be used uninitialized in this function i82365.c:1763: warning: `s' might be used uninitialized in this function i82365.c:1763: warning: `s' might be used uninitialized in this function i82365.c:1763: warning: `s' might be used uninitialized in this function i82365.c:1763: warning: `s' might be used uninitialized in this function make[1]: *** [i82365.o] Error 1 make[1]: Leaving directory `/usr/src/pcmcia-cs-3.1.9/modules' make: *** [all] Error 2

--------- /usr/src/linux/.config (Kernel 2.3.38) ---------

#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y CONFIG_ISA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
CONFIG_M686=y # CONFIG_MK7 is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_TSC=y CONFIG_X86_GOOD_APIC=y CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y # CONFIG_SMP is not set

#
# Loadable module support
#
CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y

#
# General setup
#
CONFIG_NET=y # CONFIG_VISWS is not set CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_NAMES=y # CONFIG_MCA is not set

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_SYSVIPC=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_SYSCTL=y CONFIG_KCORE_ELF=y # CONFIG_KCORE_AOUT is not set CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y # CONFIG_ACPI is not set CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_IGNORE_MULTIPLE_SUSPEND is not set
# CONFIG_APM_IGNORE_SUSPEND_BOUNCE is not set
# CONFIG_APM_RTC_IS_GMT is not set
CONFIG_APM_ALLOW_INTS=y
# CONFIG_APM_BAD_ENTRY_OFFSET is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set CONFIG_IDEDMA_PCI_EXPERIMENTAL=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_AEC6210 is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_CMD646 is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
CONFIG_BLK_DEV_PIIX=y CONFIG_BLK_DEV_PIIX_TUNING=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDEDMA_AUTO=y
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_CPQ_DA is not set
CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_PARIDE_PARPORT=m # CONFIG_PARIDE is not set CONFIG_BLK_DEV_IDE_MODES=y # CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
CONFIG_PACKET=m CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_ALIAS is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_RTL8139 is not set
# CONFIG_DM9102 is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_YELLOWFIN is not set
# CONFIG_ACENIC is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_SLIP=m
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring driver support
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
CONFIG_IRDA=m # CONFIG_IRLAN is not set CONFIG_IRCOMM=m # CONFIG_IRDA_ULTRA is not set CONFIG_IRDA_OPTIONS=y CONFIG_IRDA_CACHE_LAST_LSAP=y # CONFIG_IRDA_FAST_RR is not set CONFIG_IRDA_DEBUG=y CONFIG_IRDA_COMPRESSION=y CONFIG_IRDA_DEFLATE=m

#
# Infrared-port device drivers
#
CONFIG_IRTTY_SIR=m CONFIG_IRPORT_SIR=m
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
CONFIG_TOSHIBA_FIR=m
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_DONGLE is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Character devices
#
CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=m CONFIG_SERIAL_EXTENDED=y # CONFIG_SERIAL_MANY_PORTS is not set CONFIG_SERIAL_SHARE_IRQ=y
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=0 CONFIG_PRINTER=m # CONFIG_LP_CONSOLE is not set CONFIG_PPDEV=m

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=m CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set

#
# Joysticks
#
# CONFIG_JOYSTICK is not set
# CONFIG_QIC02_TAPE is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set

#
# Video For Linux
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_DRM is not set
# CONFIG_DRM_TDFX is not set
CONFIG_AGP=m CONFIG_AGP_INTEL=y
# CONFIG_AGP_I810 is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set

#
# USB support
#
CONFIG_USB=m CONFIG_USB_UHCI=m # CONFIG_USB_OHCI_HCD is not set CONFIG_USB_PROC=y # CONFIG_USB_PRINTER is not set CONFIG_USB_SCANNER=m
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_CPIA is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_SCSI is not set
# CONFIG_USB_EZUSB is not set
# CONFIG_USB_USS720 is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_HID is not set
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set

#
# Misc devices
#

#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_UMSDOS_FS=m CONFIG_VFAT_FS=m
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_MINIX_FS=m
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SUNRPC is not set
# CONFIG_LOCKD is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y # CONFIG_NLS_KOI8_R is not set

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VIDEO_SELECT is not set
# CONFIG_MDA_CONSOLE is not set

#
# Frame-buffer support
#
# CONFIG_FB is not set

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=y
# CONFIG_SOUND_DMAP is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SOFTOSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_VIA82CXXX is not set
CONFIG_SOUND_YM3812=m # CONFIG_SOUND_OPL3SA1 is not set CONFIG_SOUND_OPL3SA2=y CONFIG_OPL3SA2_CHIPSET=-1 CONFIG_OPL3SA2_BASE=530 CONFIG_OPL3SA2_IRQ=5 CONFIG_OPL3SA2_DMA=1 CONFIG_OPL3SA2_DMA2=0 CONFIG_OPL3SA2_CTRL_BASE=538 CONFIG_OPL3SA2_MPU_BASE=330 CONFIG_OPL3SA2_MPU_IRQ=5 # CONFIG_SOUND_UART6850 is not set

#
# Additional low level sound drivers
#
# CONFIG_LOWLEVEL_SOUND is not set

#
# Kernel hacking
#
CONFIG_MAGIC_SYSRQ=y

1. None Hazards of being on the cutting edge by David Hinds, 2000, Jan 09
1. Feedback cardctl/cardmgr separately available? by Stefan Kapfhammer, 2000, Jan 10
1. None You will need to be more self sufficient by David Hinds, 2000, Jan 10
2. Question Could you provide some hints? by Paul Koning, 2000, Jan 27
1. None Well, I can't get it to work either by David Hinds, 2000, Jan 27
... 4 Message(s)

Idea 2 little ideas for pcmcia-cs

Date: 2000, Jan 18
From: Stefan Kapfhammer StefanKapfhammer

Hi David,

on your last reply I stopped using DVLP-kernels. But there are also 2 little problems (ideas) in version up to 3.1.9.

1. If /sbin/setserial has not the modes "a-x" the port gives
   a input/output error. This could be fixed if the       config-script checks for the modes and if wrong set to       them.

2. I set the irq exclusion to 3,4,5,7,9 in       /etc/pcmcia/config.opts, but cardservices tells in startup
   ISA irqs 3,10 status changes. This can only be fixed if
   I set PCIC_OPTS="irq_list=10" in /sbin/init.d/pcmcia every
   time I compile and install the package. Also input/output
   error in this point.

My configuration: Xircom RBEM-56G-100BTX Toshiba Tecra 8000 / ToPIC97 enabled using pci irq 11 - SuSE Linux 6.3 with Kernel 2.2.14 - serial.o compiled as module with share_irq enabled

make config using cardbus and pnp resource checking enabled.

Hope this helps a bit getting the the package more perfect. ;)

Regards,

Stefan

None xircom realport ethernet 10/100 (RE-100)

Date: 2000, Jan 24
From: spendabuck sab

Hi all,

I am trying to install a PCMCIA network card on my laptop (specs at bottom)i have un compressed my kernel (2.3.24) and pcmcia-cs-3.0.14.tar.gz into /usr/src. when i
 make config in the pcmcia dir. everthing goes fine, but when i do make all a whole lot of
 errors come up, which finishs with:

 ../include/pcmcia/k_compat.h:271: parse error before 'unsigned'
 ../include/pcmcia/k_compat.h:273: parse error before '&'
 ../include/pcmcia/k_compat.h:273: warning: function declaration isn't a prototype
 ../include/pcmcia/k_compat.h:273: parse error before 'unsigned'
 make[1]: *** [i82365.o] Error 1
 make[1]: Leaving directory '/usr/src/pcmcia-cs-3.0.14/modules'
 make: *** [all] Error 2

i decided to try a new version, and when i try the 3.1.8 PCMCIA package i get the error:
make[1]: *** No rule to make target '/usr/src/linux/drivers/net/ibmtr.c', needed by ibmtr.o' Stop.
make[1]: Leaving directory '/usr/src/pcmcia-cs-3.1.8/clients'
make: *** [all] Error 2

when i upgrade the kernel to 2.3.40 i get this error:

i82365.c: In function 'set_bridge_opts':
i82365.c:1249: incompatible types in assignment
i82365.c:1249: structure has no member named 'next'
i82365.c:1248: warning: 'p' might be used uninitialized in this function
i82365.c: In function 'add_cb_bridge':
i82365.c:1768: incompatible types in assignment
i82365.c:1768: structure has no member named 'next'
i82365.c:1781: structure has no member named 'next'
i82365.c:1783: incompatible types in assignment
i82365.c:1767: warning: 'child' might be used unitnitialized in this function
i82365.c:17672: warning: 's' might be used uninitialized in this function
i82365.c:17672: warning: 's' might be used uninitialized in this function
i82365.c:17672: warning: 's' might be used uninitialized in this function
i82365.c:17672: warning: 's' might be used uninitialized in this function
make[1]: *** [i82365.o] Error 1
make[1]: Leaving directory '/usr/src/pcmcia-cs-3.1.8/modules'
make : *** [all] Error 2


Any ideas? I am I using buggy/unstable versions of the kernel/pcmcia package? if so which versions of both pcmcia and kernel do you advise that are stable and compatible?

Thanks,
From Spendabuck

 my laptops specs:
 Intel Pentium 266 MXX, 32MB RAM
 Partitions: 2gb linux, 1.8gb W'98
 Redhat Linux 6.0
 PCMCIA network card (this is the one i'm trying to install): xircom realport ethernet
 10/100 (RE-100)

1. None Incompatible versions: 3.0.14 is too old by David Hinds, 2000, Jan 24

Question Problems with TI PCI1031 PCMCIA-Controller

Date: 2000, Jan 27
From: Armand Portmann <portmann@omnisec.ch>

On my PC I've installed SuSE Linux 6.0 (Kernel 2.0.36). I tried to install an SCM PC-Card Reader (PCI-SwapBox SBP-D2) with the PCI1031 controller. Since Linux declared the reader as 'unknown PCI-to-PCMCIA' I installed a newer PCMCIA-package (3.0.14). Unfortunately without success, in the PCMCIA-HOW-TO I finally found a list with the recognized controllers. The PCI1031 doesn't figure. So, is that controller really not supported and if not, is it planned to support it soon? And will it work in my system with Kernel 2.0.36?

Thanks

Armand

1. None It is really unsupported by David Hinds, 2000, Jan 27
(_ Feedback No other cards tested by Armand Portmann, 2000, Jan 28
(_ None Have you tried any cards at all? by David Hinds, 2000, Jan 28
(_ None More info about the PCI1031 by Armand Portmann, 2000, Jan 31

Question PCMCIA and NFSROOT

Date: 2000, Feb 01
From: Fabrice Clement Fabrice.Clement

I wish to put the kernel with ip auto config enable (BOOTP 
/ ipconfig.c) and root on NFS to make laptops diskless (to 
install/backup them).

Using cardmgr, I succeed by recalling ip_auto_config in the
init function of the nfsroot.c code. This is necessary because
ip auto config code is called before I can run cardmgr in the  
linuxrc script (kernel 2.2). But I don't want to change the
kernel sources.

I have tried kernel 2.3.40 with support of PCMCIA and PCMCIA
network cards support : it seems nice for what I want...
(it's experimental, ok, but I don't need perfect stability!)
but I don't succeed to make ip auto config detect my
PCMCIA network card. I probably made a mistake in the
configuration. I just want to know if I can use bootp during
the boot having a network PCMCIA card (is the PCMCIA drivers
are loaded before ipconfig.c?).

Thanks for your time & work
1. Note I'm not really sure by David Hinds, 2000, Feb 01

Note typo at line 45 of etc/network in 3.1.10 dist

Date: 2000, Feb 07
From: Matthew Clarke clamat

Missing space between "[" and "-x" in "if [-x /sbin/bootpc ]". This leads to the shell complaining "[-x: not found" and a less than optimal network configuration. :)

1. None Thanks for the fix by David Hinds, 2000, Feb 07

Question PCMCIA / linux kernel sync process?

Date: 2000, Feb 08
From: bob kuehne 3bob

dave, et al,

[note - i just wrote this gigantic email. if you want
the question, skip to the bottom]

i have been using the pcmcia stuff from you for a bit now,
and have just downloaded the latest linux (2.3.42 at this
point in time) kernel to play with. the pcmcia stuff there
seems different than in the latest from the pcmcia tree
(i use 3.1.9, but i'm getting around to 3.1.10).

my question stems from the fact that under the 2.3.42 kernel,
i experience different/broken pcmcia behavior which i didn't
when i used a 2.2 kernel with pcmcia 3.1.9. (if anyone is
interested, i have an oem ecom 10/100 pc card which is
recognized, works, etc, under the kernel 2.3.42, but
when i eject it, the system hangs. other issues include
that my aironet4800 card, which _allegedly_ has drivers
in the 2.3.42 stuff, doesn't get recognized. ok, so this
is a long-winded way of getting to the point/question.
which is:

what process do you use to merge the pcmcia tree, and
the linux kernel tree. will we see the two merged in
the 2.3 timeframe? secondly, are 3.odd.* pcmcia
kernels labeled similarly as the linux kernel convention,
that is, that 3.odd.* is development, and 3.even.* is 
stable?

thanks for the newbie q/a.
bob
1. None The process is still being worked out by David Hinds, 2000, Feb 08
(_ None more kernel 2.3.42 vs pcmcica 3.1.10 by bob kuehne, 2000, Feb 09
(_ None Where I think things stand now by David Hinds, 2000, Feb 09

Question Problems with kingmax 10/100 - Driver fails to compile

Date: 2000, Mar 09
From: Pedro Alves capella

      Greetings.
        I'll try to be straight so I don't take much of your time. I bought a ethernet pcmcia adaptor (Kingmax 10/100 Mbps,
 it does not say much else, any other relevant information
 please ask me). It sais linux compatible and comes with a
 driver (sent to David, not to here). The problem is that the
 driver is a little old (they say it requires at least pcmcia
 module version 3.0.9 (I got 3.1.11). This driver makes some
 changes to pcnet_cs.c and to 8309.c. Compiling, I get errors
 of undefined funcions in /usr/include/asm/uaccess.h, which I
 think is due to my kernel version (2.2.13) being higher than
 the one the driver was developed for. I might be wrong.
        Anyway, using your module and just adding to config.opts the lines:

        card "10/100Mbps Ethernet Card"
           manfid 0x8a01, 0xc1ab
           bind "pcnet_cs"

the result is a "pcnet_cs: unable to read hardware net address". Even trying to follow the steps in PCMCIA-HOWTO and using memory_cs, I get an error regarding "memory_cs: mem0: no regions found" and "./memory start mem0" "cat: /var/state/pcmcia/scheme: no such file or dir"

        I would appreciate any point to the solution.

1. None You've got to get a fixed driver from the vendor by David Hinds, 2000, Mar 09

Question Must use UNSAFE_TOOLS or DS_BIND_REQUEST got EPERM ?

Date: 2000, Mar 11
From: Yui-Wah Lee clement

Hi,

Not sure if this is a bug or a misunderstanding of mine.  However, I find
that I must choose UNSAFE_TOOLS in "make config" or my cardmgr cannot
successfully make a bind (an ioctl of DS_BIND_REQUEST).  Syslog got
something like the following:

Mar 11 15:18:27 cadenza cardmgr[198]: initializing socket 0
Mar 11 15:18:27 cadenza cardmgr[198]: socket 0: Xircom CE3-10/100 Fast Ethernet
Mar 11 15:18:27 cadenza cardmgr[198]: executing: 'insmod /lib/modules/2.2.13/pcm
cia/xirc2ps_cs.o'
Mar 11 15:18:27 cadenza cardmgr[198]: bind 'xirc2ps_cs' to socket 0 failed: Oper
ation not permitted

This is true even the cardmgr process is already having a uid of 0.

System type: Acer Travelmate 332T
PCMCIA card: seems not relevant, all cards of mine didn't work
             (Xircom CE3-10/100, 3c589c, etc)
Kernel version: 2.2.13
PCMCIA version: 3.1.12

-- Clement

1. None Sounds fishy to me by David Hinds, 2000, Mar 13

Question please give me some hints on writing pcmcia drivers

Date: 2000, Mar 12
From: Shao Zhang shao

Hi, I am writing a pcmcia device driver as my thesis. I have read David Hinds' PCMCIA-HOWTO and PCMCIA-PROG, but I still have no idea how to start it.

I have no experence in writing device drivers, not to mention PCMCIA. Could someone please give me some pointers for me to get started?

The card I am working on is a data acquasition card from National Instruments. There are source code for a very similar card, and it uses rtlinux. Is this necessary for all PCMCIA cards, or is it just for the data acquasition card, or it is purely optional?

If you may find my questions are very stupid. I am sorry for my lack of knowledge on this topic, but I really need your help to get started.

Thanks.

Shao.

1. None Not enough hints already? by David Hinds, 2000, Mar 13

Question kernel panic unloading pcmcia tools

Date: 2000, Mar 13
From: Pedro Alves capella

	Following my last post, I was able to compile the 
driver for my kingmax card. But I get some strange behaviour... When I load the pcmcia tools everything goes ok, 
the card is correctly detected. If I unload the pcmcia tools
(remove the modules) all goes well. If I set the ethernet
up with ifconfig (the main objective) all goes well, but  when
I unload the tools  (before or after setting ifconfig eth0
 down, doesn't matter), I always get a kernel panic...

 killing interrupt handler
 kernel panic: Attempted to kill the idle task
 In swapper task - not syncing

	Any suggestion on solving this?

				Pedro Alves

1. None Report it to the vendor? by David Hinds, 2000, Mar 13
(_ More Untitled by Pedro Alves, 2000, Mar 22
(_ None That is not so strange by David Hinds, 2000, Mar 28

None Bridge register mapping failed: check cb_mem_base setting not found.

Date: 2000, Mar 27
From: Ingo Höntsch hontsch

Contents

1. Problem Description
2. System Description
3. Configuration Files
4. Syslog Data
4.1. Data from failed attempt to load PCMCIA support (PCMCIA-CS.20-Mar-00)
4.2. Data from sucessful attempt to load PCMCIA support (PCMCIA-CS-3.1.10)


1. Problem Description:

With PCMCIA-CS versions 3.1.11 and up, PCMCIA startup fails with the syslog message: 

  kernel: Intel PCIC probe:  
  kernel:   Bridge register mapping failed: check cb_mem_base setting not found. 

Under these versions, there is also a syslog message saying: 

  depmod: /lib/modules/2.2.14/pcmcia/parport_cs.o: unresolved symbol(s)


2. System Description:

My system consists of a VAIO PCG-748 under RedHat 6.0 running a 2.2.14 kernel. The
PCMCIA-CS packages I am having problems with are PCMCIA-CS-3.1.{11,12,13,14}.

Everything is fine with PCMCIA-CS-3.1.10!


3. Configuration Files:

/etc/sysconfig/pcmcia:

 PCMCIA=yes
 PCIC=i82365
 PCIC_OPTS=
 CORE_OPTS=
 CARDMGR_OPTS=

/etc/pcmcia/config.opts

 include memory 0xc0000-0xfffff
 include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
 include port 0xa00-0xaff
 exclude irq 4
 exclude irq 7


4. Syslog Data:

4.1. Data from failed attempt to load PCMCIA support (PCMCIA-CS.20-Mar-00)

Mar 27 14:10:23 mobile syslogd 1.3-3: restart.
Mar 27 14:10:23 mobile syslog: syslogd startup succeeded
Mar 27 14:10:23 mobile syslog: klogd startup succeeded
Mar 27 14:10:23 mobile kernel: klogd 1.3-3, log source = /proc/kmsg started.
Mar 27 14:10:23 mobile kernel: Inspecting /boot/System.map-2.2.14
Mar 27 14:10:23 mobile kernel: Loaded 7991 symbols from /boot/System.map-2.2.14.
Mar 27 14:10:23 mobile kernel: Symbols match kernel version 2.2.14.
Mar 27 14:10:23 mobile kernel: No module symbols loaded.
Mar 27 14:10:23 mobile kernel: Linux version 2.2.14 (root@mobile) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #4 Sat Feb 26 20:47:03 CET 2000 
Mar 27 14:10:23 mobile kernel: Detected 265888756 Hz processor. 
Mar 27 14:10:23 mobile kernel: Console: colour VGA+ 80x25 
Mar 27 14:10:23 mobile kernel: Calibrating delay loop... 132.71 BogoMIPS 
Mar 27 14:10:23 mobile kernel: Memory: 62996k/65472k available (1132k kernel code, 412k reserved, 892k data, 40k init) 
Mar 27 14:10:23 mobile kernel: Dentry hash table entries: 8192 (order 4, 64k) 
Mar 27 14:10:23 mobile kernel: Buffer cache hash table entries: 65536 (order 6, 256k) 
Mar 27 14:10:23 mobile kernel: Page cache hash table entries: 16384 (order 4, 64k) 
Mar 27 14:10:23 mobile kernel: VFS: Diskquotas version dquot_6.4.0 initialized 
Mar 27 14:10:23 mobile kernel: CPU: Intel Mobile Pentium MMX stepping 01 
Mar 27 14:10:23 mobile kernel: Checking 386/387 coupling... OK, FPU using exception 16 error reporting. 
Mar 27 14:10:23 mobile kernel: Checking 'hlt' instruction... OK. 
Mar 27 14:10:23 mobile kernel: Intel Pentium with F0 0F bug - workaround enabled. 
Mar 27 14:10:23 mobile kernel: POSIX conformance testing by UNIFIX 
Mar 27 14:10:23 mobile kernel: PCI: PCI BIOS revision 2.10 entry at 0xfda04 
Mar 27 14:10:23 mobile kernel: PCI: Using configuration type 1 
Mar 27 14:10:23 mobile kernel: PCI: Probing PCI hardware 
Mar 27 14:10:23 mobile kernel: PCI: Enabling I/O for device 00:3a 
Mar 27 14:10:23 mobile kernel: Linux NET4.0 for Linux 2.2 
Mar 27 14:10:23 mobile kernel: Based upon Swansea University Computer Society NET3.039 
Mar 27 14:10:23 mobile kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0. 
Mar 27 14:10:23 mobile kernel: NET4: Linux TCP/IP 1.0 for NET4.0 
Mar 27 14:10:23 mobile kernel: IP Protocols: ICMP, UDP, TCP 
Mar 27 14:10:23 mobile kernel: TCP: Hash tables configured (ehash 65536 bhash 65536) 
Mar 27 14:10:23 mobile kernel: Initializing RT netlink socket 
Mar 27 14:10:23 mobile kernel: Starting kswapd v 1.5  
Mar 27 14:10:23 mobile kernel: parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPPS2] 
Mar 27 14:10:23 mobile kernel: parport0: no IEEE-1284 device present. 
Mar 27 14:10:23 mobile kernel: Detected PS/2 Mouse Port. 
Mar 27 14:10:23 mobile kernel: Serial driver version 4.27 with no serial options enabled 
Mar 27 14:10:23 mobile kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A 
Mar 27 14:10:23 mobile kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A 
Mar 27 14:10:23 mobile kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A 
Mar 27 14:10:23 mobile kernel: pty: 256 Unix98 ptys configured 
Mar 27 14:10:23 mobile kernel: lp0: using parport0 (polling). 
Mar 27 14:10:23 mobile kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) 
Mar 27 14:10:23 mobile kernel: Real Time Clock Driver v1.09 
Mar 27 14:10:23 mobile kernel: Non-volatile memory driver v1.0 
Mar 27 14:10:23 mobile kernel: ESS chip ES1879 detected 
Mar 27 14:10:23 mobile kernel: <ESS ES1879 AudioDrive (rev 11) (3.01)> at 0x220 irq 5 dma 1,5 
Mar 27 14:10:23 mobile kernel: PIIX4: IDE controller on PCI bus 00 dev 39 
Mar 27 14:10:23 mobile kernel: PIIX4: not 100% native mode: will probe irqs later 
Mar 27 14:10:23 mobile kernel:     ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:DMA, hdb:pio 
Mar 27 14:10:23 mobile kernel:     ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:pio, hdd:pio 
Mar 27 14:10:23 mobile kernel: hda: FUJITSU MHC2040AT, ATA DISK drive 
Mar 27 14:10:23 mobile kernel: ide2: ports already in use, skipping probe 
Mar 27 14:10:23 mobile kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 
Mar 27 14:10:23 mobile kernel: hda: FUJITSU MHC2040AT, 3909MB w/0kB Cache, CHS=993/128/63, UDMA 
Mar 27 14:10:23 mobile kernel: Floppy drive(s): fd0 is 1.44M 
Mar 27 14:10:23 mobile kernel: FDC 0 is a post-1991 82077 
Mar 27 14:10:23 mobile kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices 
Mar 27 14:10:23 mobile kernel: scsi : 1 host. 
Mar 27 14:10:23 mobile kernel: scsi : detected total. 
Mar 27 14:10:23 mobile kernel: PPP: version 2.3.7 (demand dialling) 
Mar 27 14:10:24 mobile atd: atd startup succeeded
Mar 27 14:10:23 mobile kernel: TCP compression code copyright 1989 Regents of the University of California 
Mar 27 14:10:23 mobile kernel: PPP line discipline registered. 
Mar 27 14:10:23 mobile kernel: Partition check: 
Mar 27 14:10:23 mobile kernel:  hda: hda1 hda2 hda3 
Mar 27 14:10:23 mobile kernel: VFS: Mounted root (ext2 filesystem) readonly. 
Mar 27 14:10:23 mobile kernel: Freeing unused kernel memory: 40k freed 
Mar 27 14:10:23 mobile kernel: Adding Swap: 100796k swap-space (priority -1) 
Mar 27 14:10:11 mobile rc.sysinit: Loading default keymap succeeded 
Mar 27 14:10:12 mobile rc.sysinit: Setting default font succeeded 
Mar 27 14:10:12 mobile swapon: swapon: warning: /dev/hda2 has insecure permissions 0660, 0600 suggested 
Mar 27 14:10:12 mobile rc.sysinit: Activating swap partitions succeeded 
Mar 27 14:10:12 mobile rc.sysinit: Setting hostname mobile succeeded 
Mar 27 14:10:12 mobile fsck: /dev/hda3: clean, 98528/514000 files, 1745202/2048001 blocks 
Mar 27 14:10:12 mobile rc.sysinit: Checking root filesystem succeeded 
Mar 27 14:10:12 mobile rc.sysinit: Remounting root filesystem in read-write mode succeeded 
Mar 27 14:10:13 mobile depmod: /lib/modules/2.2.14/pcmcia/parport_cs.o: unresolved symbol(s) 
Mar 27 14:10:13 mobile depmod: /lib/modules/2.2.14/pcmcia/parport_cs.o: unresolved symbol(s) 
Mar 27 14:10:13 mobile rc.sysinit: Finding module dependencies succeeded 
Mar 27 14:10:13 mobile rc.sysinit: Checking filesystems succeeded 
Mar 27 14:10:14 mobile rc.sysinit: Mounting local filesystems succeeded 
Mar 27 14:10:26 mobile kernel: Linux PCMCIA Card Services 3.1.14 
Mar 27 14:10:26 mobile kernel:   kernel build: 2.2.14 #4 Sat Feb 26 20:47:03 CET 2000 
Mar 27 14:10:26 mobile kernel:   options:  [pci] [cardbus] [apm] [pnp] 
Mar 27 14:10:26 mobile kernel: PCI routing table version 1.0 at 0xfdf80 
Mar 27 14:10:26 mobile kernel: PnP: PNP BIOS installation structure at 0xc00f6cf0 
Mar 27 14:10:26 mobile kernel: PnP: PNP BIOS version 1.0, entry at f0000:b99e, dseg at 400 
Mar 27 14:10:26 mobile kernel: Intel PCIC probe:  
Mar 27 14:10:26 mobile kernel:   Bridge register mapping failed: check cb_mem_base setting 
Mar 27 14:10:26 mobile kernel: not found. 
Mar 27 14:10:26 mobile kernel: ds: no socket drivers loaded! 
Mar 27 14:10:25 mobile crond: crond startup succeeded
Mar 27 14:10:14 mobile rc.sysinit: Turning on user and group quotas for local filesystems succeeded 
Mar 27 14:10:16 mobile date: Mon Mar 27 14:10:16 CEST 2000 
Mar 27 14:10:16 mobile rc.sysinit: Setting clock  (utc): Mon Mar 27 14:10:16 CEST 2000 succeeded 
Mar 27 14:10:16 mobile rc.sysinit: Enabling swap space succeeded 
Mar 27 14:10:16 mobile init: Entering runlevel: 5 
Mar 27 14:10:17 mobile apmd: WARNING: 
Mar 27 14:10:17 mobile apmd:   apmd's internal clock setting has been replaced by the apmd_proxy! 
Mar 27 14:10:17 mobile apmd:   To set the clock to UTC, you must edit the apmd_proxy program. 
Mar 27 14:10:17 mobile apmd:  
Mar 27 14:10:17 mobile apmd: apmd startup succeeded 
Mar 27 14:10:17 mobile apmd[109]: Version 3.0beta9 (APM BIOS 1.2, Linux driver 1.9) 
Mar 27 14:10:18 mobile network: Enabling IPv4 packet forwarding succeeded 
Mar 27 14:10:18 mobile ifup: SIOCADDRT: Network is unreachable 
Mar 27 14:10:20 mobile network: Bringing up interface lo succeeded 
Mar 27 14:10:21 mobile ifup: Delaying eth0 initialization. 
Mar 27 14:10:21 mobile network: Bringing up interface eth0 failed 
Mar 27 14:10:21 mobile portmap: portmap startup succeeded 
Mar 27 14:10:21 mobile netfs: Mounting other filesystems succeeded 
Mar 27 14:10:22 mobile random: Initializing random number generator succeeded 
Mar 27 14:10:25 mobile pcmcia: Starting PCMCIA services:
Mar 27 14:10:26 mobile pcmcia:  modules
Mar 27 14:10:26 mobile pcmcia: /lib/modules/2.2.14/pcmcia/i82365.o: 
Mar 27 14:10:26 mobile pcmcia: init_module: Device or resource busy
Mar 27 14:10:26 mobile pcmcia: 
Mar 27 14:10:28 mobile pcmcia:  cardmgr.
Mar 27 14:10:29 mobile pcmcia: /lib/modules/2.2.14/pcmcia/ds.o: init_module: Device or resource busy
Mar 27 14:10:29 mobile rc: Starting pcmcia succeeded
Mar 27 14:10:27 mobile cardmgr[330]: starting, version is 3.1.14
Mar 27 14:10:30 mobile inet: inetd startup succeeded
Mar 27 14:10:30 mobile cardmgr[330]: no pcmcia driver in /proc/devices
Mar 27 14:10:30 mobile cardmgr[330]: exiting
Mar 27 14:10:31 mobile lpd: lpd startup succeeded

4.2. Data from sucessful attempt to load PCMCIA support (PCMCIA-CS-3.1.10)
 
Mar 27 13:23:08 mobile syslogd 1.3-3: restart.
Mar 27 13:23:08 mobile syslog: syslogd startup succeeded
Mar 27 13:23:08 mobile syslog: klogd startup succeeded
Mar 27 13:23:08 mobile kernel: klogd 1.3-3, log source = /proc/kmsg started.
Mar 27 13:23:08 mobile kernel: Inspecting /boot/System.map-2.2.14
Mar 27 13:23:09 mobile kernel: Loaded 7991 symbols from /boot/System.map-2.2.14.
Mar 27 13:23:09 mobile kernel: Symbols match kernel version 2.2.14.
Mar 27 13:23:09 mobile kernel: No module symbols loaded.
Mar 27 13:23:09 mobile kernel: Linux version 2.2.14 (root@mobile) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #4 Sat Feb 26 20:47:03 CET 2000 
Mar 27 13:23:09 mobile kernel: Detected 265463312 Hz processor. 
Mar 27 13:23:09 mobile kernel: Console: colour VGA+ 80x25 
Mar 27 13:23:09 mobile kernel: Calibrating delay loop... 129.84 BogoMIPS 
Mar 27 13:23:09 mobile kernel: Memory: 62996k/65472k available (1132k kernel code, 412k reserved, 892k data, 40k init) 
Mar 27 13:23:09 mobile kernel: Dentry hash table entries: 8192 (order 4, 64k) 
Mar 27 13:23:09 mobile kernel: Buffer cache hash table entries: 65536 (order 6, 256k) 
Mar 27 13:23:09 mobile kernel: Page cache hash table entries: 16384 (order 4, 64k) 
Mar 27 13:23:09 mobile kernel: VFS: Diskquotas version dquot_6.4.0 initialized 
Mar 27 13:23:09 mobile kernel: CPU: Intel Mobile Pentium MMX stepping 01 
Mar 27 13:23:09 mobile kernel: Checking 386/387 coupling... OK, FPU using exception 16 error reporting. 
Mar 27 13:23:09 mobile kernel: Checking 'hlt' instruction... OK. 
Mar 27 13:23:09 mobile kernel: Intel Pentium with F0 0F bug - workaround enabled. 
Mar 27 13:23:09 mobile kernel: POSIX conformance testing by UNIFIX 
Mar 27 13:23:09 mobile kernel: PCI: PCI BIOS revision 2.10 entry at 0xfda04 
Mar 27 13:23:09 mobile kernel: PCI: Using configuration type 1 
Mar 27 13:23:09 mobile kernel: PCI: Probing PCI hardware 
Mar 27 13:23:09 mobile kernel: PCI: Enabling I/O for device 00:3a 
Mar 27 13:23:09 mobile kernel: Linux NET4.0 for Linux 2.2 
Mar 27 13:23:09 mobile kernel: Based upon Swansea University Computer Society NET3.039 
Mar 27 13:23:09 mobile kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0. 
Mar 27 13:23:09 mobile kernel: NET4: Linux TCP/IP 1.0 for NET4.0 
Mar 27 13:23:09 mobile kernel: IP Protocols: ICMP, UDP, TCP 
Mar 27 13:23:09 mobile kernel: TCP: Hash tables configured (ehash 65536 bhash 65536) 
Mar 27 13:23:09 mobile kernel: Initializing RT netlink socket 
Mar 27 13:23:09 mobile kernel: Starting kswapd v 1.5  
Mar 27 13:23:09 mobile kernel: parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPPS2] 
Mar 27 13:23:09 mobile kernel: parport0: no IEEE-1284 device present. 
Mar 27 13:23:09 mobile kernel: Detected PS/2 Mouse Port. 
Mar 27 13:23:09 mobile kernel: Serial driver version 4.27 with no serial options enabled 
Mar 27 13:23:09 mobile kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A 
Mar 27 13:23:09 mobile kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A 
Mar 27 13:23:09 mobile kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A 
Mar 27 13:23:09 mobile kernel: pty: 256 Unix98 ptys configured 
Mar 27 13:23:09 mobile kernel: lp0: using parport0 (polling). 
Mar 27 13:23:09 mobile kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) 
Mar 27 13:23:09 mobile kernel: Real Time Clock Driver v1.09 
Mar 27 13:23:09 mobile kernel: Non-volatile memory driver v1.0 
Mar 27 13:23:09 mobile kernel: ESS chip ES1879 detected 
Mar 27 13:23:09 mobile kernel: <ESS ES1879 AudioDrive (rev 11) (3.01)> at 0x220 irq 5 dma 1,5 
Mar 27 13:23:09 mobile kernel: PIIX4: IDE controller on PCI bus 00 dev 39 
Mar 27 13:23:09 mobile kernel: PIIX4: not 100% native mode: will probe irqs later 
Mar 27 13:23:09 mobile kernel:     ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:DMA, hdb:pio 
Mar 27 13:23:09 mobile kernel:     ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:pio, hdd:pio 
Mar 27 13:23:09 mobile kernel: hda: FUJITSU MHC2040AT, ATA DISK drive 
Mar 27 13:23:09 mobile kernel: ide2: ports already in use, skipping probe 
Mar 27 13:23:09 mobile kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 
Mar 27 13:23:09 mobile kernel: hda: FUJITSU MHC2040AT, 3909MB w/0kB Cache, CHS=993/128/63, UDMA 
Mar 27 13:23:09 mobile kernel: Floppy drive(s): fd0 is 1.44M 
Mar 27 13:23:09 mobile kernel: FDC 0 is a post-1991 82077 
Mar 27 13:23:09 mobile kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices 
Mar 27 13:23:09 mobile kernel: scsi : 1 host. 
Mar 27 13:23:09 mobile kernel: scsi : detected total. 
Mar 27 13:23:09 mobile kernel: PPP: version 2.3.7 (demand dialling) 
Mar 27 13:23:09 mobile kernel: TCP compression code copyright 1989 Regents of the University of California 
Mar 27 13:23:09 mobile kernel: PPP line discipline registered. 
Mar 27 13:23:09 mobile kernel: Partition check: 
Mar 27 13:23:09 mobile kernel:  hda: hda1 hda2 hda3 
Mar 27 13:23:09 mobile kernel: VFS: Mounted root (ext2 filesystem) readonly. 
Mar 27 13:23:09 mobile kernel: Freeing unused kernel memory: 40k freed 
Mar 27 13:23:09 mobile kernel: Adding Swap: 100796k swap-space (priority -1) 
Mar 27 13:23:09 mobile atd: atd startup succeeded
Mar 27 13:22:58 mobile rc.sysinit: Loading default keymap succeeded 
Mar 27 13:22:58 mobile rc.sysinit: Setting default font succeeded 
Mar 27 13:22:58 mobile swapon: swapon: warning: /dev/hda2 has insecure permissions 0660, 0600 suggested 
Mar 27 13:22:58 mobile rc.sysinit: Activating swap partitions succeeded 
Mar 27 13:22:58 mobile rc.sysinit: Setting hostname mobile succeeded 
Mar 27 13:22:58 mobile fsck: /dev/hda3 has reached maximal mount count, check forced. 
Mar 27 13:22:58 mobile fsck: /dev/hda3: 98043/514000 files (6.8% non-contiguous), 1743076/2048001 blocks 
Mar 27 13:22:58 mobile rc.sysinit: Checking root filesystem succeeded 
Mar 27 13:22:58 mobile rc.sysinit: Remounting root filesystem in read-write mode succeeded 
Mar 27 13:22:59 mobile depmod: /lib/modules/2.2.14/pcmcia/parport_cs.o: unresolved symbol(s) 
Mar 27 13:22:59 mobile depmod: /lib/modules/2.2.14/pcmcia/parport_cs.o: unresolved symbol(s) 
Mar 27 13:22:59 mobile rc.sysinit: Finding module dependencies succeeded 
Mar 27 13:23:11 mobile kernel: Linux PCMCIA Card Services 3.1.10 
Mar 27 13:23:11 mobile kernel:   kernel build: 2.2.14 #4 Sat Feb 26 20:47:03 CET 2000 
Mar 27 13:23:11 mobile kernel:   options:  [pci] [cardbus] [apm] [pnp] 
Mar 27 13:23:11 mobile kernel: PCI routing table version 1.0 at 0xfdf80 
Mar 27 13:23:11 mobile kernel: PnP: PNP BIOS installation structure at 0xc00f6cf0 
Mar 27 13:23:11 mobile kernel: PnP: PNP BIOS version 1.0, entry at f0000:b99e, dseg at 400 
Mar 27 13:23:11 mobile kernel: Intel PCIC probe:  
Mar 27 13:23:11 mobile kernel:   Ricoh RL5C478 PCI-to-CardBus at slot 00:0a, mem 0x68000000 
Mar 27 13:23:11 mobile kernel:     host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 32/34] 
Mar 27 13:23:11 mobile kernel:     host opts [1]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 35/37] 
Mar 27 13:23:11 mobile kernel:     ISA irqs (default) = 11,15 polling interval = 1000 ms 
Mar 27 13:23:10 mobile crond: crond startup succeeded
Mar 27 13:23:00 mobile rc.sysinit: Checking filesystems succeeded 
Mar 27 13:23:00 mobile rc.sysinit: Mounting local filesystems succeeded 
Mar 27 13:23:00 mobile rc.sysinit: Turning on user and group quotas for local filesystems succeeded 
Mar 27 13:23:02 mobile date: Mon Mar 27 13:23:02 CEST 2000 
Mar 27 13:23:02 mobile rc.sysinit: Setting clock  (utc): Mon Mar 27 13:23:02 CEST 2000 succeeded 
Mar 27 13:23:02 mobile rc.sysinit: Enabling swap space succeeded 
Mar 27 13:23:02 mobile init: Entering runlevel: 5 
Mar 27 13:23:03 mobile apmd: WARNING: 
Mar 27 13:23:03 mobile apmd:   apmd's internal clock setting has been replaced by the apmd_proxy! 
Mar 27 13:23:03 mobile apmd:   To set the clock to UTC, you must edit the apmd_proxy program. 
Mar 27 13:23:03 mobile apmd:  
Mar 27 13:23:03 mobile apmd: apmd startup succeeded 
Mar 27 13:23:03 mobile apmd[110]: Version 3.0beta9 (APM BIOS 1.2, Linux driver 1.9) 
Mar 27 13:23:03 mobile network: Enabling IPv4 packet forwarding succeeded 
Mar 27 13:23:04 mobile ifup: SIOCADDRT: Network is unreachable 
Mar 27 13:23:12 mobile kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Mar 27 13:23:12 mobile kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Mar 27 13:23:06 mobile network: Bringing up interface lo succeeded 
Mar 27 13:23:06 mobile ifup: Delaying eth0 initialization. 
Mar 27 13:23:06 mobile network: Bringing up interface eth0 failed 
Mar 27 13:23:06 mobile portmap: portmap startup succeeded 
Mar 27 13:23:07 mobile netfs: Mounting other filesystems succeeded 
Mar 27 13:23:07 mobile random: Initializing random number generator succeeded 
Mar 27 13:23:10 mobile pcmcia: Starting PCMCIA services:
Mar 27 13:23:10 mobile pcmcia:  modules
Mar 27 13:23:11 mobile pcmcia:  cardmgr.
Mar 27 13:23:11 mobile cardmgr[331]: starting, version is 3.1.10
Mar 27 13:23:12 mobile cardmgr[331]: watching 2 sockets
Mar 27 13:23:11 mobile rc: Starting pcmcia succeeded
Mar 27 13:23:13 mobile inet: inetd startup succeeded
Mar 27 13:23:15 mobile lpd: lpd startup succeeded
Mar 27 13:23:18 mobile sendmail: sendmail startup succeeded
Mar 27 13:23:18 mobile sound: Starting sound configuration: 
Mar 27 13:23:19 mobile sound: sound
Mar 27 13:23:19 mobile sound: 
Mar 27 13:23:19 mobile rc: Starting sound succeeded
Mar 27 13:23:19 mobile linuxconf: Linuxconf final setup
Mar 27 13:23:20 mobile rc: Starting linuxconf succeeded
Mar 27 13:23:20 mobile rc: Starting local succeeded
...
Mar 27 13:50:33 mobile kernel: cs: cb_alloc(bus 35): vendor 0x1011, device 0x0019 
Mar 27 13:50:33 mobile cardmgr[331]: initializing socket 1
Mar 27 13:50:33 mobile cardmgr[331]: socket 1: Linksys EtherFast 10/100
Mar 27 13:50:33 mobile cardmgr[331]: executing: 'insmod /lib/modules/2.2.14/pcmcia/cb_enabler.o'
Mar 27 13:50:33 mobile cardmgr[331]: executing: 'insmod /lib/modules/2.2.14/pcmcia/tulip_cb.o'
Mar 27 13:50:33 mobile kernel: cs: cb_config(bus 35) 
Mar 27 13:50:33 mobile kernel:   fn 0 bar 1: io 0xa00-0xa7f 
Mar 27 13:50:33 mobile kernel:   fn 0 bar 2: mem 0x600c0000-0x600c03ff 
Mar 27 13:50:33 mobile kernel:   fn 0 rom: mem 0x60080000-0x600bffff 
Mar 27 13:50:33 mobile kernel: tulip_attach(bus 35, function 0) 
Mar 27 13:50:33 mobile kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) 
Mar 27 13:50:33 mobile kernel: eth0: Digital DS21143 Tulip rev 65 at 0xa00, 00:E0:98:06:76:94, IRQ 11. 
Mar 27 13:50:33 mobile kernel: eth0:  EEPROM default media type Autosense. 
Mar 27 13:50:33 mobile kernel: eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. 
Mar 27 13:50:33 mobile kernel: eth0:  MII transceiver #0 config 3000 status 7809 advertising 01e1. 
Mar 27 13:50:33 mobile cardmgr[331]: executing: './network start eth0'
...
Mar 27 14:00:31 mobile PAM_pwdb[468]: (kde) session closed for user hontsch
Mar 27 14:00:49 mobile sound: Saving sound configuration: 
Mar 27 14:00:49 mobile sound: sound
Mar 27 14:00:49 mobile sound: 
Mar 27 14:00:49 mobile rc: Stopping sound succeeded
Mar 27 14:00:52 mobile sendmail: sendmail shutdown succeeded
Mar 27 14:00:52 mobile inet: inetd shutdown succeeded
Mar 27 14:00:53 mobile atd: atd shutdown succeeded
Mar 27 14:00:53 mobile crond: crond shutdown succeeded
Mar 27 14:00:58 mobile lpd: lpd shutdown succeeded
Mar 27 14:00:58 mobile dd: 1+0 records in
Mar 27 14:00:58 mobile dd: 1+0 records out
Mar 27 14:00:58 mobile random: Saving random seed succeeded
Mar 27 14:00:59 mobile portmap: portmap shutdown succeeded
Mar 27 14:01:00 mobile network: Shutting down interface eth0 succeeded
Mar 27 14:01:00 mobile network: Disabling IPv4 packet forwarding succeeded
Mar 27 14:01:00 mobile apmd[110]: Exiting
Mar 27 14:01:02 mobile apmd: apmd shutdown succeeded
Mar 27 14:01:02 mobile pcmcia: Shutting down PCMCIA services:
Mar 27 14:01:02 mobile cardmgr[331]: executing: './network check eth0'
Mar 27 14:01:02 mobile pcmcia:  cardmgr
Mar 27 14:01:02 mobile cardmgr[331]: shutting down socket 1
Mar 27 14:01:02 mobile cardmgr[331]: executing: './network stop eth0'
Mar 27 14:01:02 mobile cardmgr[331]: executing: 'rmmod tulip_cb'
Mar 27 14:01:02 mobile cardmgr[331]: executing: 'rmmod cb_enabler'
Mar 27 14:01:02 mobile cardmgr[331]: exiting
Mar 27 14:01:04 mobile pcmcia:  modules
Mar 27 14:01:04 mobile kernel: cs: cb_free(bus 35) 
Mar 27 14:01:04 mobile kernel: unloading PCMCIA Card Services 
Mar 27 14:01:04 mobile pcmcia: .
Mar 27 14:01:04 mobile rc: Stopping pcmcia succeeded
Mar 27 14:01:04 mobile kernel: Kernel logging (proc) stopped.
Mar 27 14:01:04 mobile kernel: Kernel log daemon terminating.
Mar 27 14:01:05 mobile syslog: klogd shutdown succeeded
Mar 27 14:01:06 mobile exiting on signal 15

1. Ok Fixed in beta for 3.1.19 by David Hinds, 2000, Jul 14
(_ Question driver for pcmcia V.90 communication device 56K by Adauto Cunha, 2000, Jul 14

Feedback suggested minor addition to k_compat.c

Date: 2000, Apr 06
From: Eric Smith brouhaha

I've been trying to build the Linux-Lab project's driver for the Computer Boards IEEE-488 card (which should also work on the ICS Electronics card). I ran into a bunch of source files that include k_compat.h, but don't have LINUX_VERSION_CODE defined. I'm going to recommend that they fix that in their code, but it might also be useful to include the following lines (as used in /usr/include/linux/efs_fs.h and other kernel headers) near the top of k_compat.h:

#ifndef LINUX_VERSION_CODE
#include 
#endif

Since there's basically no point in ever trying to use k_compat.h without having the version code defined.

Cheers,
Eric

1. None I think it's better to fix the original problem by David Hinds, 2000, Apr 06
(_ None Re: I think it's better to fix the original problem by Eric Smith, 2000, Apr 06
(_ None Re: I think it's better to fix the original problem by David Hinds, 2000, Apr 06

Warning Change in kernel (2.3.99-pre3) causing problem with cardmgr.

Date: 2000, Apr 06
From: Brian Mays brian

There is a change in the kernel somewhere that is causing a problem: if 2.3.99-pre1 is used things work correctly, but when 2.3.99-pre3 is used cardmgr does things wrong.

Looking at the 2.3.99-pre3 patch, it is apparent that driver has been modified to use the new PCI scheme. I think that this is causing the problem.

Here are the relevant parts of the syslog. In this example, the user is trying to use a network card. Note that "network start 3c575_cb" is run by cargmgr instead of "network start eth0".

  Mar 30 14:28:37 fog kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
  Mar 30 14:28:37 fog kernel: cs: IO port probe 0x0800-0x08ff: clean.
  Mar 30 14:28:37 fog kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x280-0x287 0x378-0x37f 0x4d0-0x4d7
  Mar 30 14:28:37 fog kernel: cs: IO port probe 0x0a00-0x0aff: clean.
  Mar 30 14:28:38 fog cardmgr[158]: module /lib/modules/2.3.99-pre3/pcmcia/cb_enabler.o not available
  Mar 30 14:28:38 fog cardmgr[158]: executing: 'insmod /lib/modules/2.3.99-pre3/pcmcia/3c575_cb.o'
  Mar 30 14:28:38 fog kernel: 3c575_cb.c:v0.99L+LK1.1.2  3/19/2000  Donald Becker and others  http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
  Mar 30 14:28:38 fog kernel: eth0: 3Com PCI 3CCFE575CT Cyclone CardBus at 0x1000, PCI: Increasing latency timer of device 02:00.0 to 64
  Mar 30 14:28:38 fog kernel:  00:50:da:85:19:47, IRQ 11
  Mar 30 14:28:38 fog kernel: eth0: CardBus functions mapped 10800080->c8824080
  Mar 30 14:28:38 fog kernel:   8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
  Mar 30 14:28:38 fog kernel:   MII transceiver found at address 0, status 7809.
  Mar 30 14:28:38 fog kernel:   Enabling bus-master transmits and whole-frame receives.
  Mar 30 14:28:38 fog cardmgr[158]: executing: './network start 3c575_cb'
                                                                ^^^^^^^^
  Mar 30 14:28:38 fog cardmgr[158]: + 3c575_cb: error fetching interface information: Device not found
  Mar 30 14:28:38 fog cardmgr[158]: + 3c575_cb: unknown interface.
  Mar 30 14:28:38 fog pumpd[185]: starting at Thu Mar 30 14:28:38 2000  
  Mar 30 14:28:38 fog cardmgr[158]: + Operation failed.

1. None Unfortunately there is no easy fix; the API is broken by David Hinds, 2000, Apr 06
(_ Sad Re: Unfortunately there is no easy fix; the API is broken by Steven A. DuChene, 2000, Apr 20
(_ None I don't think the problem is as bad as all that by David Hinds, 2000, Apr 20

Question Problem building 3.1.13 against kernel 2.3.99-pre4

Date: 2000, Apr 10
From: Steve Ward stevewa

Please have patience, this is my first post...

Got the following from make when trying this combination:

>make[1]: Entering directory >`/usr/src/pcmcia-cs-3.1.13/clients'
>cc   -MD -c -O2 -I../include -I/usr/src/linux/include -D__KERNEL__ -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODULE -DCARDBUS 3c575_cb.c
>In file included from /usr/src/linux/include/asm/hardirq.h:5,
                 from /usr/src/linux/include/linux/interrupt.h:44,
                 from 3c575_cb.c:76:
/usr/src/linux/include/linux/irq.h:52: requested alignment is not a constant
>In file included from /usr/src/linux/include/linux/interrupt.h:44,
                 from 3c575_cb.c:76:
/usr/src/linux/include/asm/hardirq.h:12: requested alignment is not a constant
>In file included from 3c575_cb.c:76:
/usr/src/linux/include/linux/interrupt.h:152: requested alignment is not a constant
>In file included from 3c575_cb.c:78:
/usr/src/linux/include/linux/netdevice.h:150: requested alignment is not a constant
>In file included from 3c575_cb.c:78:
/usr/src/linux/include/linux/netdevice.h:433: requested >alignment is not a constant
>make[1]: *** [3c575_cb.o] Error 1
>make[1]: Leaving directory `/usr/src/pcmcia-cs-3.1.13/clients'
>make: *** [all] Error 2

It looks like there are other issues with the 2.3.99 series, but I thought I'd add this in as well.

Tried using the in-kernel tree version, which builds correctly, but at boot it doesn't probe for IRQs correctly. It assigns IRQ 0 to both ports on my Sony PCG-F360. I can provide bootup messages if they'd be helpful...

Steve

1. None Fixed in the current 3.1.14 beta by David Hinds, 2000, Apr 10
1. Sad No joy with 3.1.14 beta by Steve Ward, 2000, Apr 11
1. None Re: Sad: No joy with 3.1.14 beta by David Hinds, 2000, Apr 11
... 2 Message(s)
2. Sad 2.3.99-pre5 + Apr-06 errors + odd BogoMIPS by Cosmo, 2000, Apr 14
1. None The 06-Apr beta is not the newest; use 3.1.14 by David Hinds, 2000, Apr 14

Question can i rewrite the manufacturer id?

Date: 2000, Apr 17
From: Paul Fox pgf

can i overwrite the manufacturer id on a card?

olympus cameras have at least one feature that won't
work unless you're using an olympus card -- the id
must read:
	  product info: "OLYMPUS", "PAN ", "1.0"
whereas a generic card looks like:
	  product info: "       ", "    ", "0.0"

apparently it's physically possible to change the data,
because someone has written a utility to do it if you
have a diamond rio mp3 player (of all things!).  i don't
see any specific interfaces in the driver to allow this --
is it possible at all?

paul
1. None We probably don't have an appropriate driver by David Hinds, 2000, Apr 17

Question Any Card Phone Driver..?

Date: 2000, Apr 24
From: JohnHW

pls forgive my poor english..

Is there any driver for a card phone(GSM/CDMA) out there..?
I really need one..

thx

Question Problems with kernel debugging with ikd

Date: 2000, Apr 27
From: Janne Salmi janski

Hello,

I am trying to use ikd kernel debugger in a laptop with the PCMCIA package installed. Is this possible at all? I have tried kernel 2.2.13 with pcmcia-cs 3.1.9 and 3.1.13 and kernel 2.2.14 with pcmcia-cs 3.1.14.

So far, I can load ds.o i82365.o and pcmcia_core.o with no problem. When I insert a card, I get dropped in the debugger:

<4>Entering kdb due to panic @ 0xc0113d8d
<4>eax = 0xc3efba90  ebx = 0x000051e6  ecx = 0x00000000  edx = 0x00000001
<4>esi = 0xc3efba8c  edi = 0x00000004  esp = 0x00000000  eip = 0xc0113d8d
<4>ebp = 0xc0239ec0   ss = 0x00000004   cs = 0x00000010  eflags = 0x00010217
<4> ds = 0x00000018   es = 0x00000018  origeax = 0xffffffff  &regs = 0xc0239e80
<4>kdb>     EBP       EIP         Function(args)
<4>0xc0239ec0 0xc0113d8d  __wake_up+0x1d( 0xc3efba90, 0x4, 0x0, 0xc0239ee4, 0xc)
<4>0xc0239ed4 0xc4823384  unregister_pccard_driver+0x1ec( 0xc3b15bf0, 0x4, 0xc0)
<4>0xc0239ee4 0xc4823488  unregister_pccard_driver+0x2f0( 0x4)
<4>0xc0239f04 0xc480c6fe  unregister_ss_entry+0x4c2( 0xc3cc4800)
<4>0xc0239f24 0xc480c652  unregister_ss_entry+0x416( 0x0)
<4>0xc0239f48 0xc0114a2d  timer_bh+0x32d( )
<4>0xc0239f58 0xc011ba09  do_bottom_half+0x49( )
<4>0xc0239f78 0xc0113ccc  schedule+0x1dc( )
<4>0xc0239f84 0xc0108469  hard_idle+0x49( 0xc0238000, 0x98800, 0xc0106000)
<4>0xc0239f98 0xc01084bd  cpu_idle+0x18ad( 0x0)
<4>0xc0239fa4 0xc0108507  sys_idle+0x17( 0x0, 0x0, 0x1, 0x98800, 0xc0106000)
<4>0xc0239fe0 0xc0109df4  system_call+0x34( 0x0)
<4>0xc0239ff8 0xc0106dca  start_kernel+0x19a( 0x0, 0xc021f778, 0xc02201bc, 0x0,)
<4>0x0 0xc0100176  L6

If I continue, I get the following Oops:

<4>kdb> Oops: 0000
<4>CPU:    0
<4>EIP:    0010:[<c0113d8d>]
<4>EFLAGS: 00010217
<4>eax: c3efba90   ebx: 000051e6   ecx: 00000000   edx: 00000001
<4>esi: c3efba8c   edi: 00000004   ebp: c0239ec0   esp: c0239ebc
<4>ds: 0018   es: 0018   ss: 0018
<4>Process swapper (pid: 0, process nr: 0, stackpage=c0239000)
<4>Stack: c3b15bf0 c0239ed4 c4823384 c3efba90 00000004 00000000 c0239ee4 c48234
<4>       c3b15bf0 00000004 c0239f04 c480c6fe 00000004 00000000 c3efbacc c3cc48
<4>       00000000 00000075 c0239f24 c480c652 c3cc4800 00000004 00000000 000000
<4>Call Trace: [<c4823384>] (0) [<c4823488>] (20) [<c480c6fe>] (16) [<c480c652>
<4>       [<c0108469>] (32) [<c01084bd>] (12) [<c0108507>] (20) [<c0109df4>] (1
<4>Code: 8b 13 8b 5b 04 8b 02 85 c7 74 f1 39 f3 74 0b 52 e8 0e f9 ff
<4>Aiee, killing interrupt handler
<0>Kernel panic: Attempted to kill the idle task!      
<0>In swapper task - not syncing

This happens with a WaveLAN IEEE802.11 card and 3COM 3CCFE574BT ethernet card. If I don't have the ikd patch installed, this does not happen.

I get the same panic if try to use the PCMCIA package with a patch of my own that adds a simple character device driver, but it happens more randomly. It seems the problem is with wait_queue handling, but is the problem in ds.c or both in my code and ikd? It seems that ds.c initializes its wait_queue to NULL, so does my code. Any ideas? Just in case the ksymoops output is of any help, I'll include it below.

Any hints would be appreciated.

ksymoops output follows:

Warning in compare_ksyms_lsmod, module i82365 is in lsmod but not in ksyms, probably no symbols exported
Oops: 0000
CPU:    0
EIP:    0010:[<c0113d8d>]
EFLAGS: 00010217
eax: c3efba90   ebx: 000051e6   ecx: 00000000   edx: 00000001
esi: c3efba8c   edi: 00000004   ebp: c0239ec0   esp: c0239ebc
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=c0239000)
Stack: c3b15bf0 c0239ed4 c4823384 c3efba90 00000004 00000000 c0239ee4 c4823488
       c3b15bf0 00000004 c0239f04 c480c6fe 00000004 00000000 c3efbacc c3cc4800
       00000000 00000075 c0239f24 c480c652 c3cc4800 00000004 00000000 00000000
Call Trace: [<c4823384>] (0) [<c4823488>] (20) [<c480c6fe>] (16) [<c480c652>] (
       [<c0108469>] (32) [<c01084bd>] (12) [<c0108507>] (20) [<c0109df4>] (12)
Code: 8b 13 8b 5b 04 8b 02 85 c7 74 f1 39 f3 74 0b 52 e8 0e f9 ff

>>EIP: c0113d8d <__wake_up+1d/50>

Trace: c4823384 <handle_event+34/3c>
Trace: c0108469 <hard_idle+49/60>
Code: c0113d8d <__wake_up+1d/50> 00000000 <_EIP>: <=== Code: c0113d8d <__wake_up+1d/50> 0: 8b 13 movl (%ebx),%edx <=== Code: c0113d8f <__wake_up+1f/50> 2: 8b 5b 04 movl 0x4(%ebx),%ebx Code: c0113d92 <__wake_up+22/50> 5: 8b 02 movl (%edx),%eax Code: c0113d94 <__wake_up+24/50> 7: 85 c7 testl %eax,%edi Code: c0113d96 <__wake_up+26/50> 9: 74 f1 je c0113d89 <__wake_up+19/50> Code: c0113d98 <__wake_up+28/50> b: 39 f3 cmpl %esi,%ebx Code: c0113d9a <__wake_up+2a/50> d: 74 0b je c0113da7 <__wake_up+37/50> Code: c0113d9c <__wake_up+2c/50> f: 52 pushl %edx Code: c0113d9d <__wake_up+2d/50> 10: e8 0e f9 ff 00 call c11136b0 <_end+eba27c/45b2c1c>

Aiee, killing interrupt handler Kernel panic: Attempted to kill the idle task! In swapper task - not syncing

1. None I have not tried it recently, but it should work by David Hinds, 2000, Apr 27
(_ None Re: I have not tried it recently, but it should work by Janne Salmi, 2000, Apr 28

Question Direct (no chipset) PCMCIA support

Date: 2000, Apr 27
From: Richard Smith smithbone

I am developing a product for a customer that requires wirless access. We want to interface directly to a webgear Aviator 2.4 LAN card.

The trick is that we want to use a DSP to talk to it and we would like to do it without using a chipset.

I know this isn't really linux related but I might be able to contribute some knowledge back the specific card driver since I will have the hardware to play with and intimate knowledge of working with the card.

Anyone got any ideas how complex this will be and perhaps some pointers on good info. PCMCIA want $300 for a copy of the spec. Ack. and we probally need 90% of it.

All I need to do is talk to the card. No hot swap, notifiers or anything like that. Just set it up and send/receive data to it.

So how crazy are we?

1. None Not an unreasonable thing to try by David Hinds, 2000, Apr 27
(_ Ok Thanks for the support by Richard Smith, 2000, Apr 28
(_ None Re: Ok: Thanks for the support by David Hinds, 2000, Apr 28

Question 2.2.14 vs USB Backpatch

Date: 2000, May 02
From: Stephen Sanders <ssanders@cysive.com>

I probably know the answer this BUT has anyone attempted to get the USB Backpatch code to work with any recent version of the PCMCIA build system? I've got a Dell 7500 running RedHat 6.2 and would really like to get the USB cranked up. The problem looks to be in adding another 'client' to the build.

Thanks, Stephen Sanders

Sad kernel oops when ejecting aviator card

Date: 2000, May 09
From: Justin Cormack jpc

I am getting a kernel oops when I do cardctl eject with my
Aviator 2.4 wireless ethernet card.

uname -a is
Linux herring.doc.ic.ac.uk 2.2.15 #2 Tue May 9 14:51:31 BST 2000 i586 unknown

pcmcia-cs is 3.3.14

card info on insert is:
May  9 19:47:27 herring kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. 
May  9 19:47:27 herring cardmgr[364]: initializing socket 0
May  9 19:47:27 herring cardmgr[364]: socket 0: RayLink PC Card WLAN Adapter
May  9 19:47:27 herring cardmgr[364]: executing: 'insmod /lib/modules/2.2.15/pcmcia/ray_cs.o'
May  9 19:47:28 herring kernel:  ray_cs.c,v 1.11 2000/04/04 23:14:18 root Exp - Corey Thomas corey@world.std.com 
May  9 19:47:28 herring kernel: ray_cs Detected: WebGear PC Card WLAN Adapter Version 4.88 Jan 1999 
May  9 19:47:28 herring kernel: eth0: RayLink, irq 10, hw_addr 00:00:F1:11:1D:60 
May  9 19:47:28 herring cardmgr[364]: executing: './network start eth0'

then on cardctl eject:
May  9 17:21:41 herring kernel: Process cardmgr (pid: 333, process nr: 16, stackpage=c562b000) 
May  9 17:21:40 herring cardmgr[333]: executing: './network check eth0'
May  9 17:21:40 herring cardmgr[333]: shutting down socket 0
May  9 17:21:41 herring kernel: *pde = 05fda063 
May  9 17:21:41 herring kernel: *pte = 00000000 
May  9 17:21:41 herring kernel: Oops: 0000 
May  9 17:21:41 herring kernel: CPU:    0 
May  9 17:21:41 herring kernel: EIP:    0010:[sb:sb_be_quiet+350845/35843347] 
May  9 17:21:41 herring kernel: EFLAGS: 00010286 
May  9 17:21:41 herring kernel: eax: c560bd80   ebx: c32a2800   ecx: c627a100   edx: c6275c90 
May  9 17:21:41 herring kernel: esi: c627a100   edi: c01f124d   ebp: c562bc24   esp: c562bc24 
May  9 17:21:41 herring kernel: ds: 0018   es: 0018   ss: 0018 
May  9 17:21:41 herring kernel: Process cardmgr (pid: 333, process nr: 16, stackpage=c562b000) 
May  9 17:21:41 herring kernel: Stack: c560b900 c015fb93 c560b900 c5ae8320 c560b900 00000282 c562bcb0 c01f1248  
May  9 17:21:41 herring kernel:        00000005 000005dc c015fd70 c5ae8320 c560b900 00000011 00000000 00000000  
May  9 17:21:41 herring kernel:        ffffffff c01f11c0 c016027c 00000011 c560b900 c015d3f0 c01f11c0 00000006  
May  9 17:21:41 herring kernel: Call Trace: [rtnetlink_fill_ifinfo+551/648] [rtmsg_ifinfo+44/104] [rtnetlink_event+24/32] [unregister_netdevice+60/192] [unregister_netdev+16/32] [sb:sb_be_quiet+344336/35849856] [sb:sb_be_quiet+165310/36028882]  
May  9 17:21:41 herring kernel:        [sb:sb_be_quiet+167566/36026626] [getblk+271/324] [refile_buffer+86/184] [__brelse+19/84] [ext2_new_block+2224/2312] [alloc_skb+113/220] [sock_wmalloc+35/72] [memcpy_fromiovec+57/104]  
May  9 17:21:41 herring kernel:        [wake_up_process+58/68] [__wake_up+59/72] [add_blkdev_randomness+70/80] [end_that_request_last+40/44] [ide_end_request+97/108] [ide_intr+273/304] [ide_dma_intr+0/148] [handle_IRQ_event+54/108]  
May  9 17:21:41 herring kernel:        [do_8259A_IRQ+119/168] [do_8259A_IRQ+149/168] [do_IRQ+36/64] [merge_segments+27/364] [free_pages+36/40] [do_wp_page+218/420] [handle_mm_fault+283/324] [do_page_fault+278/944]  
May  9 17:21:41 herring kernel:        [sys_ioctl+421/448] [system_call+52/56]  May  9 17:21:41 herring kernel: Code: 8a 01 84 c0 74 23 8d 56 04 81 ca 00 00 00 c0 8a 02 25 ff 00  

1. None Problem solved by David Hinds, 2000, May 11

None Yenta?

Date: 2000, May 16
From: Jürgen Botz jbotz

In the 2.3.99 kernels, am I correct that the yenta module is a replacement for the i82365 module on machines with cardbus support? If so, or in any case, how do I use it? After loading yenta.o, ds.o fails to load with "no socket driver".

- Jurgen

1. None Re: Yenta? by David Hinds, 2000, May 16

Sad system hang upon pcmcia subsystem start

Date: 2000, May 31
From: Tonko de Rooy tderooy

Hi

I have a IBM ThinkPad 770X with a TI1251A.
I have been using this machine with varies Redhat Linux versions (6.0-6.2) and have always compiled my own kernels and hence PCMCIA packages.

Now since I upgraded to RedHat 6.2 and then compiled my own kernel (2.2.14, 2.2.15 or 2.2.16pre6) and compile the PCMCIA package (3.1.14 or 3.1.15) and load the pcmcia subsystem the system effectively hangs. I can still when I'm in textmode switch consoles and try to login but it looks like that any atempt to access the harddisk hangs.

I compile the PCMCIA package with isa pnp and cardbus support, as I have a 10/100Mb cardbus card. This always used to work in the past without problems.

With RH 6.2 the only way for me to have PCMCIA working at current is to use the standard pre-compiled kernel and pcmcia package that comes with redhat. And that is giving me a lot of problems as the default APM options are wrong for this machine.

The PCMCIA version (3.1.8) that RedHat supplies with 6.2 prints the following:

Linux PCMCIA Card Services 3.1.8
  kernel build: 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000
  options: [pci] [cardbus] [apm]
Intel PCIC probe:
  TI 1251A PCI-to-CardBus at bus 0 slot 2, mem 0x50103000, 2 sockets
  host opts [0]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 2/4]
  host opts [1]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 5/7]
  ISA irqs (scanned) = 3,4,7,9,10 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x15e8-0x15ef
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
1. None Re: Sad: system hang upon pcmcia subsystem start by David Hinds, 2000, May 31
(_ Question it now works by Tonko de Rooy, 2000, Jun 04

Question Error reading CIS with a Long Link Tuple to Common Memory

Date: 2000, Jun 22
From: Dani Castro Dani

Hi, I hope anybody can help me. My problem is with the CIS of a card with a long_link tuple to common memory.

When I insert the card, the tuples in attribute memory are read correctly, but when it tries to follow the link, the link target tuple is read incorrectly:

It reads 0x13 0x13 0x43 0x43 0x53 when it should be 0x13 0x03 0x43 0x49 0x53

I could attach the cs_memory driver to it and read the binary data of the CIS, and is correct, equal to the data specified in the manual I got from Mortara.

All the info about my system is th next. (I tried the card in two laptops and the problem is the same.)

System brand: Desktop PC Pentium II 300 MHz. Intel SE440BX Motherboard ISA-to-PCMCIA Bridge (I using a quadtech PCMCIA Card Drive which uses an Omega Micro 82C365G)

PCMCIA CARDS: Mortara Telemetry Receiver Processor (is a data adquisition card implemented as a serial card)

Linux kernel version: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000

cardctl version 3.1.16

Configuration data: PCMCIA=yes PCIC=i82365 PCIC_OPTS="cs_irq=7" CORE_OPTS="pc_debug=7" CARDMGR_OPTS=

Logs in /var/log/messages:

Jun 22 20:59:37 gsipc6 kernel: Linux PCMCIA Card Services 3.1.16
Jun 22 20:59:37 gsipc6 kernel:   kernel build: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000
Jun 22 20:59:37 gsipc6 kernel:   options:  [pci] [apm]
Jun 22 20:59:37 gsipc6 kernel: PCI routing table version 1.0 at 0xfdf30
Jun 22 20:59:37 gsipc6 kernel: Intel PCIC probe:
Jun 22 20:59:37 gsipc6 kernel:   Intel i82365sl B step rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
Jun 22 20:59:37 gsipc6 kernel:     host opts [0]: none
Jun 22 20:59:37 gsipc6 kernel:     host opts [1]: none
Jun 22 20:59:37 gsipc6 kernel:     ISA irqs (scanned) = 3,4,7 status change on irq 7
Jun 22 20:59:37 gsipc6 cardmgr[1884]: starting, version is 3.1.16
Jun 22 20:59:37 gsipc6 cardmgr[1884]: watching 2 sockets
Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0800-0x08ff: clean.
Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x388-0x38f 0x3b0-0x3e7 0x4d0-0x4d7
Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x102f 0x1040-0x105f
Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jun 22 20:59:45 gsipc6 cardmgr[1884]: initializing socket 1
Jun 22 20:59:45 gsipc6 kernel: cs: memory probe 0x0d0000-0x0dffff:<7>cs: read_cis_mem(1, 0x0, 2)
Jun 22 20:59:45 gsipc6 kernel:  excluding 0xd0000-0xdffff
Jun 22 20:59:45 gsipc6 kernel: cs: unable to map card memory!
Jun 22 20:59:45 gsipc6 kernel: cs: unable to map card memory!

Messages from dmesg:

Linux PCMCIA Card Services 3.1.16
  kernel build: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000
  options:  [pci] [apm]
cs.c 1.259 2000/05/10 19:26:32 (David Hinds)
PCI routing table version 1.0 at 0xfdf30
cs: CardServices(GetCardServicesInfo, 0xc1e47f18, 0xc010bb08)
i82365.c 1.317 2000/06/09 22:14:25 (David Hinds)
Intel PCIC probe:
  Intel i82365sl B step rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
    host opts [0]: none
    host opts [1]: none
    ISA irqs (scanned) = 3,4,7 status change on irq 7
cs: register_ss_entry(2, 0xc807e55c)
ds.c 1.105 2000/05/03 20:04:52 (David Hinds)
cs: CardServices(GetCardServicesInfo, 0xc1e47ee8, 0xc39c0c40)
cs: CardServices(BindDevice, 0xc1e47ee0, 0xc39c0c40)
cs: bind_device(): client 0xc7fbcc80, sock 0, dev Driver Services
cs: CardServices(RegisterClient, 0xc3a6bf20, 0xc1e47efc)
cs: register_client(): client 0xc7fbcc80, sock 0, dev Driver Services
cs: CardServices(BindDevice, 0xc1e47ee0, 0xc1e47efc)
cs: bind_device(): client 0xc7fbcda0, sock 1, dev Driver Services
cs: CardServices(RegisterClient, 0xc3a6bf54, 0xc1e47efc)
cs: register_client(): client 0xc7fbcda0, sock 1, dev Driver Services
ds_open(socket 0)
ds_open(socket 1)
ds_open(socket 2)
ds_open(socket 2)
cs: CardServices(GetCardServicesInfo, 0xc1c33cf8, 0xc1c33dc8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0800-0x08ff: clean.
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x388-0x38f 0x3b0-0x3e7 0x4d0-0x4d7
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x102f 0x1040-0x105f
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0a00-0x0aff: clean.
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: setup_socket(1): applying power
cs: resetting socket 1
cs: reset done on socket 1
cs: send_event(sock 1, event 4, pri 0)
cs: CardServices(ValidateCIS, 0xc7fbcda0, 0xc1c33cf8)
cs: read_cis_mem(1, 0x0, 2)
cs: memory probe 0x0d0000-0x0dffff:<7>cs: read_cis_mem(1, 0x0, 2)
cs:  0x01 0x03 0xec 0x36 ...
cs: CardServices(GetFirstTuple, 0xc7fbcda0, 0xc1c336cc)
cs: read_cis_mem(1, 0x5, 2)
cs:  0x12 0x04 0x6c 0x35 ...
cs: read_cis_mem(1, 0x7, 4)
cs:  0x20 0x00 0x00 0x00 ...
cs: read_cis_mem(1, 0xb, 2)
cs:  0xff 0x00 0x6c 0x35 ...
cs: read_cis_mem(0, 0x20, 5)
cs:  0x13 0x13 0x43 0x43 ...
.
.
.
 (here follow lots of lines equal to the last ones.)

1. More More info about the problem by Dani Castro, 2000, Jun 29
1. Feedback No hardware problem by Dani Castro, 2000, Jul 07
2. None I've put a fix in 3.1.18 by David Hinds, 2000, Jul 11
3. News I had to back out these changes by David Hinds, 2000, Aug 30

Question conflict between sound chip and 3c575cb ethernet card since 3.1.16

Date: 2000, Jul 18
From: Jerome Limozin jlimozin

Question hit bit of wavelan protocol numbers

Date: 2000, Jul 19
From: Douglas S. J. De Couto decouto

i have noticed that when i try to transmit ethernet frames on my wavelan/ieee using the wvlan_cs driver, the card doesn't transmit frames where the ethernet protocol type has the high bit set (e.g. the short value at bytes 12 and 13 is greater than 0x7fff). Does anyone know why this is? i know that the packets are getting to the driver for transmission. is this an 802.11 thing, or a wavelan firmware thing (bug? feature?)

cheers,

d

Question what combo will work with parport_cs driver

Date: 2000, Jul 16
From: fletch

I looked through the bugs file and found the mention of the parport_cs driver being broke in kernel 2.3.6 and would be fixed in later versions of the 2.3 kernel. The reason that I need to use the 2.3 kernel is that it supports ieee1284 hardware transfer modes (ecp/epp) and the 2.2 kernel does not. The quatech card is a pcmcia card that supports the epp operation mode, which allows a faster data transfer speed. I have a data acquisition system which utilizes the epp mode of a desktop parallel port, but I would like to make my system a little more portable, hence the quatech pcmcia card.

I am familiar with the parallel port drivers for 2.3 and 2.2 kernels, but not as familiar with the pcmcia card services. 
 I would be happy to test any beta patches that you may have for the parallel port card services in the 2.3 kernel. 
 If you could point to the direction where parallel port card services were stopped, I may be able to do some work on that too.  
Thanks for any help.
                    Chris

Sad Problem with ZV card and CIS 16-bit memory windows

Date: 2000, Jul 24
From: Marcus Metzler mocm

Hi, I just tried the 3.1.18 and after they didn't work the 3.1.19 pcmcia-cs. It seems that the new 16-bit memory window in the CIS parser code doesn't work with ZV cards. This is probably because of the indirect access of the CIS data which goes through an 8-bit wide register. I haven't had time to check out where it goes wrong exactly, but maybe David has an idea. Everything works fine with 3.1.17.

Marcus

1. None Try the 24-Jul-00 beta by David Hinds, 2000, Jul 24

Question Multicard Driver question

Date: 2000, Jul 25
From: Michael Nicholls phreakster

After playing with dummy_cs.c in conjunction with my multifunction card i found that it finds the io and irq for what seems to be the modem function of the card.

How would i modify it to find the ethernet function instead?

Do i just need to look futher down the tuple list?

If so how do i know which function i have found?

Also i have found that the card i am writing for uses a i82595 chip and there is already a linux driver for this card. Could i load that module like the 8390 module is loaded and use my own driver to interface into it in the same way pcnet_cs uses 8390?

Cheers

Mike

1. None Re: Question: Multicard Driver question by David Hinds, 2000, Aug 01

Question No CIS on CardBus card MC221

Date: 2000, Jul 28
From: Sebastian Kloska kloska

 Hi !

 I'm currently playing around with a mc221 modem card
 from lucent. It's a winmodem card so it may be never runs
 under linux but may be if I find the time :-) I'll
 write a driver.

 Problem is the pcmcia driver doesn't even recognize it
 after poking around in the code i found out the following.

 1) The VendorID isn't read correctly. When doing a 

    pci_readw(bus, 0, PCI_VENDOR_ID, &vend)

    once in cb_alloc vend == 0xff

    If you insert a second read it's correct.
    (semi present configuration space ?)

 2) The cis is somehow missing
    the cis pointer is set to 0x00000040 which should tell
    me that there is a cis at offset 0x40 within the
    configuration space. But the whole 256 bytes of     
    configuration space looks like this.

  00: c1 11 40 04 00 00 90 02 01 00 80 07 00 00 00 00 
  10: 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00   
  20: 00 00 00 00 00 00 00 00 40 00 00 00 00 ff 40 04 
  30: 00 00 00 00 f8 00 00 00 00 00 00 00 00 01 fc 0e 
  40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
  90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
  f0: ff ff ff ff ff ff ff ff 01 00 22 e4 00 00 00 00 

   Starting after the first 64 bytes everything is 
   0xff except the last 8 bytes which doesn't look
   like a valid cis for me.

   Any recommendations ?

    regards 

  sebastian    

Question TI1225 and PPC750

Date: 2000, Jul 28
From: Matthew Locke mlocke

I am looking at using Card Services on a PPC750 with a TI 1225 PCI-to-Cardbus controller. It looks like the TI 1225 controller is supported by pcmcia-cs. Anyone know of any issues with that controller?

Thanks

1. None The controller should be fine by David Hinds, 2000, Jul 28

Question Two questions re. wavelan2_cs driver on 2.4.0-test5

Date: 2000, Jul 30
From: Peter pfolk

I'm making the necessary changes to wavelan2_cs to work with 2.4.0-test5, and I had a couple questions:

 * Should init_dev_name(dev,node) really be a no-op on newer kernels?  I'd think it ought to be something like strncpy(dev->name,node->dev_name,IFNAMSIZ).

* kfree_s() is no longer part of the kernel. Did it do anything more than kfree() when it was still part of the kernel? What version was it removed in? Has kfree() always been around? In other words, should I simply #define kfree_s(a,b) kfree(a), or should I make a compatibility <linux/malloc.h> header that does the definition, conditionally on kernel version?

Pete

1. None Re: Question: Two questions re. wavelan2_cs driver on 2.4.0-test5 by David Hinds, 2000, Jul 31

Question Access the PCI vendor/card id from a client ?

Date: 2000, Jul 31
From: Sebastian Kloska kloska

Hi !

Since it seems that there are CardBus cards around which do not have CIS structures I would like to identify the inserted card based on the vendor/card informations in the pci_hdr.

Is there an ioctl to access this info. All code I could find (e.g. lookup_card in cardmgr.c) seems to rely on informations based on the CIS structure.

Regards

Sebastian

1. None You can't do that now by David Hinds, 2000, Jul 31
2. News Added in 3.1.20 by David Hinds, 2000, Aug 30

Question when is the *_attach invoked

Date: 2000, Aug 01
From: lei sun lei

Hi:
  I am heading to develope a device driver for PCMCIA based data acquisition card. I compiled "dummy_cs" as module and loaded using "insmod". I view the log messages, it appeared that only init_module() function a invoked. but the *_attach() function was not invoked.
  My question are:
  1. I know the dev_info is a key string, but what string I should use? arbitrary?
  2. when is the *_attach function invoked, so driver instance could be created. 

  Can anybody tell me the procedure of these function being called and the caller.
  Thank you in advance!

lei

1. None See "Anatomy of a Card Services Client Driver" in Programmer's Guide by David Hinds, 2000, Aug 01

Question copy data to user space

Date: 2000, Aug 09
From: lei sun lei

Hi all:
   I am writting device driver for a PCMCIA data accquistion card. Now PCMCIA part has been taken cared of. and I can read the data from register in the driver code. However when I implement the *_read() function and use copy_to_user() to copy the data to user space. I can't actually get the data from my user program. my code looks like this:

driver code:

daq_read(struct inode *inode, struct file *file,
        char *buf, unsigned long count)
{
   unsigned short *value;
   value = kmalloc(sizeof(unsigned short), GFP_KERNEL);
   /* device specific code */
   if (__copy_to_user(buf, value, count))
   {
         printk("error: __copy_to_user\n");
         return -EFAULT ;
   }
   ....
}

test user code:

int main()
{
    unsgined short *buff;
    buff = malloc(sizeof(unsigned short));
    fd = open("/dev/daq", O_RDONLY);
    read(fd, (char *)buff, sizeof(unsigned short));
    printf("buff=0x%x\n", *buff);
    return 0;
}

when I load the driver and try to run the test program. I always trigger that error "error: __copy_to_user", looks like the system call failed. I'v ever tried copy_to_user(), but it didn't work. 
   Anybody can give me some suggestion and ideas? I would highly appreciate it!!
THank you !
lei

None 2.4.0-test6 won't load i82365.o

Date: 2000, Aug 17
From: Michal Ostrowski mostrows

I've got a 3c575(CT) card which works quite well with 2.2.16
 in an Inspiron 3800.  I've been trying to "upgrade" the
 kernel to 2.4.0-test6 with little success.  The problem
 appears to be that the i82365 module complains that:
 "Bridge register mapping failed: check cb_mem_base setting"

When running 2.2.16 the probe reveals : "TI 1225 rev 01 PCI-toCardbus at slot 00:03, mem 0x68000000" (followed by more info about each slot)

I've built my kernel with PNP, and without hotplug or PCMCIA.

Any suggestions?

1. None Use 2.4.0-test7-pre instead by David Hinds, 2000, Aug 17

Question Burning hot pc card

Date: 2000, Aug 27
From: Daniel R. Gilliam drgillia

I posted on Usenet, but also figured I should post here. Some have been having trouble with their pcmcia cards getting red hot; I'm having the same problem. I'm running a Toshiba 105CS with SuSE 6.4. The pc card is a 56K Zoom card, which works fine other than getting red hot. I've switched slots to see what will happen...

Any other ideas?

- Dan

1. None The "hot card" reports have not been sorted out by David Hinds, 2000, Aug 29
(_ None Re: The "hot card" reports have not been sorted out by Daniel R. Gilliam, 2000, Aug 29
(_ None Also try powering down the card by David Hinds, 2000, Aug 29
(_ None Re: Also try powering down the card by Daniel R. Gilliam, 2000, Aug 30

Question Untitled

Date: 2000, Sep 27
From: lei sun lei

Hi all:
   I am using redhat linux 6.0 (kernel 2.2.14)with pcmcia-3.1.8 . I found out that I can read the card info only for the cardbus card, not for the other PCMCIA cards by the command  "cardctl idnet"
   Anybody knows the reason, is this because of the pcmcia package is too old?

Thank you! Lei

PCMCIA driver development


Add Message to: "PCMCIA driver development"

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