PCMCIA PC104 Controller

Dear All,

Can I ask some help on the following problem ?

I have a PC104 system (DSP Design TP400) to wich a Jumptech PCMCIA
controller (Chipset Vadem VG469) is attached. The system is running QNX RTP
6.1.

The problem comes when we try to use an ORINOCO wireless network card.

The devp-pccard demon is not started automatically, but by starting it
manually everything seems fine ( the cad is detected with pin ) I run
“io-net -dorinoco …options… -ptcpip” and everything seems to work, a en0
device appears, but when a try to ping other computers we have no replay.

The options passed to devn-orinoco are correct, because we can get the card
working on a laptop computer passing the same configuration.

I have two worries, they could be tips for someone, I have no sufficient
experience with QNX.

  1. The PC104 system come with a traditional network card onboard. Could the
    two cards conflict ? I could I start both of them at once as en0 and en1 ?
    (Unfortunately the BIOS doesn’t allow me to disable the onboard ethernet
    card).

  2. Probably the ISA bus is not polled by QNX at startup ( Am I right ? ) and
    not all the necessary configuration is done. On the laptop, where the PCMCIA
    controller is attached to the PCI bus in fact there is a PID associated with
    the card when I run “pin”. No process is associated with the card if I run
    “pin” on the PC104 system.

Thanks very much for any help,

Andrea.

Andrea Borsic
School of Engineering
Oxford Brookes University
OX3 OBP - Oxford - UK

Hi Andrea,

Could you please try the latest pci-bios from http://developers.qnx.com
Please post here to let us know if this solved your problem.
If this doesn´t solve your problem please post the output from
`pci -vvv´


Regards,
Dave B.



Andrea Borsic wrote:

Dear All,

Can I ask some help on the following problem ?

I have a PC104 system (DSP Design TP400) to wich a Jumptech PCMCIA
controller (Chipset Vadem VG469) is attached. The system is running QNX RTP
6.1.

The problem comes when we try to use an ORINOCO wireless network card.

The devp-pccard demon is not started automatically, but by starting it
manually everything seems fine ( the cad is detected with pin ) I run
“io-net -dorinoco …options… -ptcpip” and everything seems to work, a en0
device appears, but when a try to ping other computers we have no replay.

The options passed to devn-orinoco are correct, because we can get the card
working on a laptop computer passing the same configuration.

I have two worries, they could be tips for someone, I have no sufficient
experience with QNX.

  1. The PC104 system come with a traditional network card onboard. Could the
    two cards conflict ? I could I start both of them at once as en0 and en1 ?
    (Unfortunately the BIOS doesn’t allow me to disable the onboard ethernet
    card).

  2. Probably the ISA bus is not polled by QNX at startup ( Am I right ? ) and
    not all the necessary configuration is done. On the laptop, where the PCMCIA
    controller is attached to the PCI bus in fact there is a PID associated with
    the card when I run “pin”. No process is associated with the card if I run
    “pin” on the PC104 system.

Thanks very much for any help,

Andrea.

Andrea Borsic
School of Engineering
Oxford Brookes University
OX3 OBP - Oxford - UK

\

Hi Dave,

I have tryied to install the new pci-bios, but it didn’t solve the problems.

The situation is now this: I can start separately the two network cards: the
ns83815 on board of the Geode processor and the PCMCIA ORINOCO card as en0
and en1 buy slaying io-net and restarting it
with “io-net -dns83815 -dorinoco [orinoco options] -ptcpip”

If en1 is enabled 1 led lights up (detection of the wireless link) but if I
ping other machines ping returns “host down”. The strange thing is that also
the second led lights up during the ping process. At first I tought we were
passing incorrect encryption options, but the same command line makes the
card work on a laptop computer.

I have noticed that in this newsgroup there is a post “2nd network card”
dated 29/10/01 of a person having basically the same problems. There are few
repalys to the post, but no indication if finally the problem was solved.
Are you aware of any success ?

I post the output of “pci -vvv”, “pin” pin cis"

Regards,
Andrea.

Dear Dave,

Sorry for forgetting to attach this to the previous message.

Andrea.


PCI version = 2.10

Class = Bridge (Host/PCI)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 1h, MediaGXm MMX Cyrix Integrated CPU
PCI index = 0h
Class Codes = 060000h
Revision ID = 0h
Bus number = 0
Device number = 0
Function num = 0
Status Reg = 280h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 1c 16 00 c1 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Network (Ethernet)
Vendor ID = 100bh, National Semiconductor
Device ID = 20h, DP83815 10/100 Mb/s Ethernet controller
PCI index = 0h
Class Codes = 020000h
Revision ID = 0h
Bus number = 0
Device number = 13
Function num = 0
Status Reg = 290h
Command Reg = 207h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 5ah
Cache Line Size= 0h
PCI IO Address = f800h length 256 enabled
PCI Mem Address = fedff000h 32bit length 4096 enabled
Subsystem Vendor ID = 100bh
Subsystem ID = 20h
Max Lat = 52ns
Min Gnt = 11ns
PCI Int Pin = INT A
Interrupt line = 15
Capabilities Pointer = 40h
Capability ID = 1h
Capabilities = ff82h - 0h
Device Dependent Registers:
0x40: 01 00 82 ff 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Bridge (PCI/ISA)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 100h, Cx5530 ISA bridge
PCI index = 0h
Class Codes = 060100h
Revision ID = 30h
Bus number = 0
Device number = 18
Function num = 0
Status Reg = 280h
Command Reg = fh
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations monitor
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Multi-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 81 52 8e 47 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 7b 44 eb 0b 00 00 00 00 00 00 01 28 0b f0 01 00
0x60: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 1f 80 10 08 00 00 00 00 00 00 01 08 04 32 01 00
0x90: 0c 09 00 f0 02 04 02 00 04 00 04 00 04 00 02 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00
0xB0: 00 00 00 00 00 51 0a 86 40 11 a9 10 00 00 00 00
0xC0: 00 ac 00 00 00 00 00 00 00 00 00 00 7f 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Bridge (Unknown)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 101h, Cx5530 SMI status and ACPI timer
PCI index = 0h
Class Codes = 068000h
Revision ID = 0h
Bus number = 0
Device number = 18
Function num = 1
Status Reg = 280h
Command Reg = 2h
I/O space access disabled
Memory space access enabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 7b 44 eb 0b 00 00 00 00 00 00 01 28 0b f0 01 00
0x60: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 1f 80 10 08 00 00 00 00 00 00 01 08 04 32 01 00
0x90: 0c 09 00 f0 02 04 02 00 04 00 04 00 04 00 02 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00
0xB0: 00 00 00 00 00 51 0a 86 41 30 04 10 00 00 00 00
0xC0: 00 ac 00 00 00 00 00 00 00 00 00 00 7f 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Mass Storage (IDE)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 102h, Cx5530 IDE Controller
PCI index = 0h
Class Codes = 010100h
Revision ID = 0h
Bus number = 0
Device number = 18
Function num = 2
Status Reg = 280h
Command Reg = 1h
I/O space access enabled
Memory space access disabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI IO Address = fc00h length 16 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 7b 44 eb 0b 00 00 00 00 00 00 01 28 0b f0 01 00
0x60: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 1f 80 10 08 00 00 00 00 00 00 01 08 04 32 01 00
0x90: 0c 09 00 f0 02 04 02 00 04 00 04 00 04 00 02 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00
0xB0: 00 00 00 00 00 51 0a 86 42 04 12 10 00 00 00 00
0xC0: 00 ac 00 00 00 00 00 00 00 00 00 00 7f 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Multimedia (Audio)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 103h, Cx5530 XpressAUDIO
PCI index = 0h
Class Codes = 040100h
Revision ID = 0h
Bus number = 0
Device number = 18
Function num = 3
Status Reg = 280h
Command Reg = 6h
I/O space access disabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI Mem Address = 40011000h 32bit length 128 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 7b 44 eb 0b 00 00 00 00 00 00 01 28 0b f0 01 00
0x60: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 1f 80 10 08 00 00 00 00 00 00 01 08 04 32 01 00
0x90: 0c 09 00 f0 02 04 02 00 04 00 04 00 04 00 02 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00
0xB0: 00 00 00 00 00 51 0a 86 43 01 00 10 00 00 00 00
0xC0: 00 ac 00 00 00 00 00 00 00 00 00 00 7f 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Display (VGA)
Vendor ID = 1078h, Cyrix Corporation
Device ID = 104h, Cx5530 Video Controller
PCI index = 0h
Class Codes = 030000h
Revision ID = 0h
Bus number = 0
Device number = 18
Function num = 4
Status Reg = 280h
Command Reg = 3h
I/O space access enabled
Memory space access enabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Multi-function
BIST = 2h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI Mem Address = 40800000h 32bit length 8388608 enabled
Subsystem Vendor ID = 1078h
Subsystem ID = 1h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Serial Bus (Universal Serial Bus)
Vendor ID = e11h, Compaq Computer Corp.
Device ID = a0f8h, USB Open Host Controller
PCI index = 0h
Class Codes = 0c0310h
Revision ID = 6h
Bus number = 0
Device number = 19
Function num = 0
Status Reg = 280h
Command Reg = 17h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate enabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 40h
Cache Line Size= 0h
PCI Mem Address = fedfe000h 32bit length 4096 enabled
Subsystem Vendor ID = e11h
Subsystem ID = a0f8h
Max Lat = 80ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 11
Device Dependent Registers:
0x40: 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

%%%%%%%%%%%%% output from pin
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Sock Func Type Flags PID Base Size IRQ
1 0 Network C—I-±-------- None 0x240 64 5
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

%%%%%%%%%%%%% output from pin cis
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Socket : 1 - Function : 0
Device : Null 0k
Attribute Device : SRAM 1k
Other conditions (att) : MWait
Attribute Device : SRAM 1k
Card tuple version : 5.00
Manufacturer : Lucent Technologies
Name of Product : WaveLAN/IEEE
Add’nl info (lot #) : Version 01.01
Add’nl info (programming):
Manufacturer ID : 0x156 0x2
PC Card function : Network LAN Adapter
POST : 0x0
Tuple 0x22 link=2 : 01 07
Tuple 0x22 link=5 : 02 40 42 0f 00
Tuple 0x22 link=5 : 02 80 84 1e 00
Tuple 0x22 link=5 : 02 60 ec 53 00
Tuple 0x22 link=5 : 02 c0 d8 a7 00
Tuple 0x22 link=2 : 03 07
Tuple 0x22 link=8 : 04 06 00 02 2d 07 7b 12
Tuple 0x22 link=2 : 05 01
Configuration base/st : 0x3e0 0-subtuples
Configuration Index : 0x1 Last Default
Interface : I/O
Feature : 0x19
IO Space : Bus16 0x0-0x3F(6 lines)
IRQ Description : Pulse Level VEND BERR IOCK NMI 0 1 2 3 4 5 6 7 8
9 10 11 12 13 14 15

Hello,


In order to operate, the devp-pccard server needs a free memory window
at 0xd4000. Could you check your BIOS to make sure that this memory
window is not used by another device.

If this doesn’t solve your problem could you please post the output from ‘nicinfo’ as well.


Regards,
Dave B.

Hi Dave,

Thanks for the advice, after disabling few things (COMs, LPT, USB and sound)
the system is now working wonderfully. Most probably the problem resided in
the fact that the memory window was not free, as you suggested. I will try
to find out more, by enablying one device at a time.

If you are interested, the configuration is:

DSP Design TP400 Geode GX1 PC104 board
JUMPtec PC104-PCMCIA-1 board
ORINOCO wavelan

Best Regards,

Andrea Borsic.

Mr. Andrea Borsic
School of Engineering
Oxford Brookes University
OX3 OBP - Oxford - UK