[ Next-in-Thread ]  [ Next Message ] 

Question: RH6.1 with 2.2.14 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Mar 14
From: Duane Gustavus duane

Hello,

I am having problems getting PCMCIA services to work on my Redhat 6.1 Linux desktop system. I recently bought a "DataChute" ISA-PCMCIA controller which uses a VIA VT83C469. First, I did a new installation of RH6.1 on a spare pentium system, booted the new install and edited the /etc/sysconfig/pcmcia file to say yes. I then shutdown, put the adapter in the system and rebooted. The pcmcia services were started correctly, and I made a file system on a flash card just to make sure. Everything worked as advertised.

Next I put the same adapter into my "development" system which is also RH6.1 but upgraded to kernel 2.2.14 and pcmcia-cs-3.1.12. This system has the identical motherboard, but a faster K6 processor. Also, this system has had several different kernel builds done on it (ie is not pristine with the distribution kernel). When I install the 2.2.14 kernel with modules and then the 3.1.12 modules, I have the following results from dmesg:

Linux PCMCIA Card Services 3.1.12
  kernel build: 2.2.14 #2 Sun Mar 12 15:36:18 CST 2000
  options:  [pci] [cardbus] [pnp]
PCI routing table version 1.0 at 0xf0b40
  unknown PCI interrupt router 10b9:1533
PnP: PNP BIOS installation structure at 0xc00fcfb0
PnP: PNP BIOS version 1.0, entry at f0000:cfe0, dseg at f0000
Intel PCIC probe: 
  VIA VT83C469 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
    host opts [0]: none
    host opts [1]: none
    ISA irqs (default) = 10 polling interval = 1000 ms

I have the PnP OS BIOS value set to no, and the secondary IDE controller disabled (the DC wants to use that). If I issue an lsmod command, it shows:

 Module                  Size  Used by
 ds                      6088   0  (unused)
 i82365                 21328   2 
 pcmcia_core            47712   0  [ds i82365]

Here is the portion of /var/log/messages that matches the boot messages shown above:

Mar 12 16:07:56 marvin pcmcia: Starting PCMCIA services:
Mar 12 16:07:56 marvin pcmcia:  modules
Mar 12 16:07:56 marvin kernel: Linux PCMCIA Card Services 3.1.12 
Mar 12 16:07:56 marvin kernel:   kernel build: 2.2.14 #2 Sun Mar 12 15:36:18 CST
 2000 
Mar 12 16:07:56 marvin kernel:   options:  [pci] [cardbus] [pnp] 
Mar 12 16:07:56 marvin kernel: PCI routing table version 1.0 at 0xf0b40 
Mar 12 16:07:56 marvin kernel:   unknown PCI interrupt router 10b9:1533 
Mar 12 16:07:56 marvin kernel: PnP: PNP BIOS installation structure at 0xc00fcfb
0 
Mar 12 16:07:56 marvin kernel: PnP: PNP BIOS version 1.0, entry at f0000:cfe0, d
seg at f0000 
Mar 12 16:07:56 marvin kernel: Intel PCIC probe:  
Mar 12 16:07:56 marvin kernel:   VIA VT83C469 ISA-to-PCMCIA at port 0x3e0 ofs 0x
00 
Mar 12 16:07:56 marvin kernel:     host opts [0]: none 
Mar 12 16:07:56 marvin kernel:     host opts [1]: none 
Mar 12 16:07:57 marvin kernel:     ISA irqs (default) = 10 polling interval = 10
00 ms 
Mar 12 16:07:56 marvin pcmcia:  cardmgr.
Mar 12 16:07:57 marvin rc: Starting pcmcia succeeded
Mar 12 16:07:56 marvin cardmgr[366]: starting, version is 3.1.12
Mar 12 16:07:57 marvin cardmgr[366]: open_sock(socket 0) failed: Permission deni
ed
Mar 12 16:07:57 marvin cardmgr[366]: no sockets found!
Mar 12 16:07:57 marvin cardmgr[366]: exiting

Finally, since this controller is a PnP device, I used pnpdump to build /etc/isapnp.conf that looks like this:

# Trying port address 0203
# Board 1 has serial identifier 21 05 00 00 00 18 30 21 59

# (DEBUG) (READPORT 0x0203) (ISOLATE PRESERVE) (IDENTIFY *) (VERBOSITY 2) (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier 21 05 00 00 00 18 30 21 59)
# Vendor Id VIA3018, Serial Number 83886080, checksum 0x21.
# Version 1.0, Vendor version 0.0
# ANSI string -->VIA PCMCIA CARD<--
#
# Logical device id PNP0e00
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE VIA3018/83886080 (LD 0
#     Compatible device id PNP0e00
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x03e0
#         Maximum IO base address 0x03e3
#         IO base alignment 2 bytes
#         Number of IO addresses required: 2
#  (IO 0 (SIZE 2) (BASE 0x03e2) (CHECK))
 (NAME "VIA3018/83886080[0]{VIA PCMCIA CARD     }")
  (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state (WAITFORKEY)

I commented out the (IO ...) line above because it seemed to always have problems checking the device range (causing isapnp to abort execution).

Obviously, the distribution RH kernel (2.2.12-20) has some option turned on that I am unaware of, or there is some configuration I have done incorrectly. Sorry for the length of this message; I just wanted to provide enough information to encourage someone knowledgeable to give me some pointers. I really need to have confidence I can build new kernels with the pcmcia services working as I want to put Linux on a PC/104 computer on my robot which will only have pcmcia periperhals.

Thanks, Duane duane@denton.com

[ Next-in-Thread ]  [ Next Message ] 

Select this message: RH6.1 with 2.2.14

Messages Inline: [ 1 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

1. That's a new one by David Hinds, 2000, Mar 14
2. It was a filesystem permissions issue by David Hinds, 2000, Mar 15
3. Ok: Antec DataChute notes by Duane Gustavus, 2000, Mar 15

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

[ Members ]  [ Subscribe ]  [ No Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ] 
[ Edit This Forum ]