logo       

Problems with IXP425 and Orinoco Wireless card: msg#00115

Subject: Problems with IXP425 and Orinoco Wireless card
Hello,

I have the following problem:
I trying to start a wireless card on IXP425 development board the wireless card is Orinoco Gold and PCI/PCMCIA bridge Lucent with
TI1410 chip.

Software Configuration:

1). Linux version 2.4.19-rmk6-ds1
2). pcmcia driver pcmcia-cs-3.1.26
3).  orinoco-0.11b driver
4). busybox-0.60.3

I appologize in advance for the longer posting, I wiuld like to give maximum information

When I start Linux one of the errors I can not resolve is:
    Linux Kernel Card Services 3.1.22
     options:  [pci] [cardbus]
   Intel PCIC probe: not found.

I am trying to start the wireless card but without success so far. I would be very thankful if someone can help me.


Here I am attaching the different configurations:

========> When I boot the board and load the image on the board:

------------  Redboot: -------------
+FLASH configuration checksum error or invalid key
Ethernet eth0: MAC address 00:07:e9:0d:94:e1
IP: 142.92.132.31/255.255.252.0, Gateway: 0.0.0.0
Default server: 142.92.132.26, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.92 - built 23:01:46, May  2 2003

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
RAM: 0x00000000-0x10000000, 0x0001f880-0x0ffd1000 available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
RedBoot> load -r -v -b 0x01600000 zImage.withpcmcia_02
Using default protocol (TFTP)
-
Raw file loaded 0x01600000-0x016b9c3b, assumed entry at 0x01600000
RedBoot> fis create kernel -b 0x01600000 -l 0xc0000
An image named 'kernel' exists - continue (y/n)? y
... Erase from 0x50040000-0x50100000: ......
... Program from 0x01600000-0x016c0000 at 0x50040000: ......
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x0ffdf000-0x0ffff000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot> fis load kernel
RedBoot> go 0x11600000
Uncompressing Linux....................................................... done, booting the kernel. Linux version 2.4.19-rmk6-ds1 (root@aias111) (gcc version 2.95.3 20010315 (release)) #22 Wed Dec 17 12:32:05 EST 2003CPU: XScale-IXP425/IXC1100 revision 0
Machine: Intel IXDP425 Development Platform
Warning: bad configuration page, trying to continue
alloc_bootmem_low
memtable_init
On node 0 totalpages: 65536
zone(0): 16384 pages.
zone(1): 49152 pages.
zone(2): 0 pages.

Kernel command line: console=ttyS0,115200 root=/dev/nfs rw nfsroot=142.92.132.26:/ixp425/export/rootfs ip=142.92.1320Calibrating delay loop... 527.56 BogoMIPS
Memory: 256MB = 256MB total
Memory: 257468KB available (1347K code, 389K data, 76K init)
XScale Cache/TLB Locking Copyright(c) 2001 MontaVista Software, Inc.
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
POSIX conformance testing by UNIFIX
init!
PCI Autoconfig: Found Bus 0, Device 1, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bfff000
PCI Autoconfig: BAR 1, I/O, size=0x40, address=0xffffffc0
PCI Autoconfig: BAR 2, Mem, size=0x100000, address=0x4be00000
PCI Autoconfig: Found Bus 0, Device 3, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bdff000
PCI Autoconfig: BAR 1, Mem, size=0xfdffff60, address=0xa0
PCI Autoconfig: BAR 2, I/O, size=0x4, address=0xffffffbc
PCI Autoconfig: BAR 3, Mem, size=0x1000, address=0xfffff000
PCI Autoconfig: BAR 4, Mem, size=0x1000, address=0xffffe000
PCI Autoconfig: BAR 5, Mem, size=0x1000, address=0xffffd000
PCI: bus0: Fast back to back transfers disabled
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-dev.o: Registered 'IXP425 I2C Adapter' as minor 0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xfffd2003x (irq = 15) is a XScale UART
ttyS01 at 0xfffd3003x (irq = 13) is a XScale UART
Loaded PCF8594C2 I2C EEPROM NVRAM driver
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@xxxxxxxxxxxxx> and others
eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:07:E9:0D:94:E1, IRQ 28.
 Board assembly 741462-008, Physical connectors present: RJ45
 Primary interface chip i82555 PHY #1.
 General self-test: passed.
 Serial sub-system self-test: passed.
 Internal registers self-test: passed.
 ROM checksum self-test: passed (0x8b51f404).
Using buffer write method
Creating 5 MTD partitions on "IXP425 Flash":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00100000 : "kernel"
0x00100000-0x00fc0000 : "unallocated space"
0x00fc0000-0x00fc1000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't end on an erase block -- force read-only
0x00fe0000-0x01000000 : "FIS directory"
Linux Kernel Card Services 3.1.22
 options:  [pci] [cardbus]
Intel PCIC probe: not found.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
IP-Config: Complete:
device=eth0, addr=142.92.132.31, mask=255.255.252.0, gw=255.255.255.255,
    host=142.92.132.31, domain=, nis-domain=(none),
    bootserver=142.92.132.26, rootserver=142.92.132.26, rootpath=
ip_conntrack (2048 buckets, 16384 max)
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Yenta IRQ list 0000, PCI irq26
Socket status: 10000411
Looking up port of RPC 100003/2 on 142.92.132.26
Looking up port of RPC 100005/1 on 142.92.132.26
VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K
serial console detected.  Disabling virtual terminals.
init started:  BusyBox v0.60.3 (2003.11.18-23:11+0000) multi-call binary
Using /lib/modules/csr.o
Intel CSR module init.
Using /lib/modules/lib/modules/2.4.19-rmk6-ds1/kernel/drivers/net/ixp425_eth.o
Initializing ixp425_eth driver 0.0.8
Found PHY 0 at 0
Found PHY 1 at 1
PHY 0 MAC address is:   04:04:04:04:04:04
PHY 1 MAC address is:   06:06:06:06:06:06
Starting system log daemon: syslogd klogd.
grep: /etc/inetd.conf: No such file or directory
Starting internet superserver: inetd.

Please press Enter to activate this console.


BusyBox v0.60.3 (2003.11.18-23:11+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

id: unknown user name: 0 id: unknown user name: 0 #


============>  When I start the PCMCIA script

# /etc/rc.d/pcmcia start
Starting PCMCIA services: cardmgr[97]: watching 1 sockets
cardmgr[98]: starting, version is 3.1.34
done.
cs: memory probe 0x48000000-0x4bffffff: excluding 0x4bc00000-0x4bffffff
cardmgr[98]: socket 0: Intersil PRISM2 11 Mbps Wireless Adapter
# cardmgr[98]: executing: 'modprobe hermes'
cardmgr[98]: + Using /lib/modules/lib/modules/2.4.19-rmk6-ds1/kernel/drivers/net/wireless/hermes.o
cardmgr[98]: executing: 'modprobe orinoco'
cardmgr[98]: + Using /lib/modules/lib/modules/2.4.19-rmk6-ds1/kernel/drivers/net/wireless/orinoco.o
cardmgr[98]: executing: 'modprobe orinoco_cs ignore_cis_vcc=1'
cardmgr[98]: + Using /lib/modules/lib/modules/2.4.19-rmk6-ds1/kernel/drivers/net/wireless/orinoco_cs.o GetNextTuple(). No matching CIS configuration, maybe you need the ignore_cis_vcc=1 parameter.
orinoco_cs: GetFirstTuple: No more items
cardmgr[98]: get dev info on socket 0 failed: Resource temporarily unavailable

====> the card is wrongly identified as Intersil Prism II
====> however whem I run dump_cis I get it as Lucent card
--------------------------------------------------------------
# dump_cis
Socket 0:
 dev_info
   NULL 0ns, 512b
 attr_dev_info
   SRAM 500ns, 1kb
 vers_1 5.0, "Lucent Technologies", "WaveLAN/IEEE", "Version 01.01", ""
 manfid 0x0156, 0x0002
 funcid network_adapter
 lan_technology wireless
 lan_speed 251 mb/sec
 lan_speed 503 mb/sec
 lan_speed 1392 mb/sec
 lan_speed 2801 mb/sec
 lan_media 2.4_GHz
 lan_node_id 00 02 2d 1e 20 f6
 lan_connector Closed connector standard
 config base 0x03e0 mask 0x0001 last_index 0x01
 cftable_entry 0x01 [default]
   Vcc Vmin 4750mV Vmax 5250mV Iavg 300mA Ipeak 300mA
   Idown 10mA
   io 0x0000-0x003f [lines=6] [16bit]
   irq mask 0xffff [level] [pulse]
#

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

the modules:

# lsmod
Module                  Size  Used by
orinoco_cs              4744   0 (unused)
orinoco                31236   0 [orinoco_cs]
hermes                  6576   0 [orinoco_cs orinoco]
ixp425_eth              8228   0 (unused)
csr                  1387272   0 [ixp425_eth]
#

--------------------------------------------------------
# cat iomem
00000000-0fffffff : System RAM
 0001b000-0016bd07 : Kernel code
 0016bd08-001cd48b : Kernel data
10000000-103fffff : PCI CardBus #01
10400000-107fffff : PCI CardBus #01
48000000-48000fff : card services
4bfff000-4bffffff : eepro100
50000000-50ffffff : ixp425 Flash
#

#cat interrupts
 0:          0   csr
 1:          2   csr
 2:          2   csr
 3:          0   csr
 5:     265799   IXP425 Timer 1
15:        320   serial
26:          0   Texas Instruments PCI1410 PC card Cardbus Controller
28:      11126   eth0
Err:          0
#

# cat ioports
00004000-000040ff : PCI CardBus #01
00004400-000044ff : PCI CardBus #01
ffffffc0-ffffffff : eepro100
#

# cat pci
PCI devices found:
 Bus  0, device   0, function  0:
   Co-processor: PCI device 8086:8500 (Intel Corp.) (rev 0).
     Prefetchable 32 bit memory at 0x0 [0xffffff].
     Prefetchable 32 bit memory at 0x1000000 [0x1ffffff].
     Prefetchable 32 bit memory at 0x2000000 [0x2ffffff].
     Prefetchable 32 bit memory at 0x3000000 [0x3ffffff].
     Prefetchable 32 bit memory at 0xff000000 [0xffffffff].
     I/O at 0xffffff00 [0xffffffff].
 Bus  0, device   1, function  0:
   Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8).
     IRQ 28.
     Master Capable.  Latency=128.  Min Gnt=8.Max Lat=56.
     Non-prefetchable 32 bit memory at 0x4bfff000 [0x4bffffff].
     I/O at 0xffffffc0 [0xffffffff].
     Non-prefetchable 32 bit memory at 0x4be00000 [0x4befffff].
 Bus  0, device   3, function  0:
CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 1).
     IRQ 26.
     Master Capable.  Latency=168.  Min Gnt=192.Max Lat=5.
     Non-prefetchable 32 bit memory at 0x4bdff000 [0x4bdfffff].
#



===============> And at the end I am not sure about include port values in IXP425


#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------

# System resources available for PCMCIA devices

include port 0x4000-0x40ff, port 0x4400-0x44ff

include  memory 0x48000000-0x4bffffff

module "orinoco_cs" opts "ignore_cis_vcc=1"




thank you very much in advance and sorry for the long posting


regards,

Ognian



-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php



<Prev in Thread] Current Thread [Next in Thread>