Melco/Buffalo PCI->PCMCIA

Pål Fladsrud paalf at csc.no
Fri Aug 10 21:10:43 EST 2001


Hi!

I am new to this list, and my linux is a bit rusty (I think 0.96 was the 
last kernel I used...).  I am trying to set up a WLI-PCI-OP-3 PCI bridge 
adapter from Buffalo and use Buffalo WLI-PCM-L11 PCMCIA card inside.

After lots of reading and trying/failing, I have now upgraded my kernel to 
2.4.7, and I am trying to get the orinoco_cs to do the magic.  But now am 
am stuck, and I need som hints on where to go from here.

In the kernel I have enabled "Wireless LAN(non-hamradio)" and
"Hermes support".

please, anyone?  Am I on the right track?


Below you will find outputs from :

#cat /proc/pci
#cat /proc/interupts
#cat /proc/ioports
#cat /proc/iomem
#ls -l /proc/hermes
#ls -ltr /etc/pcmcia
#cat /var/log/dmesg
extract from /var/log/messages

---------------------------------------------------
#cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corporation 430HX - 82439HX TXC [Triton II] (rev 1).
      Master Capable.  Latency=64.
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev 
1).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 
(rev 0).
      Master Capable.  Latency=64.
      I/O at 0xffa0 [0xffaf].
  Bus  0, device   8, function  0:
    VGA compatible controller: ATI Technologies Inc 264VT [Mach64 VT] (rev 
8).
      Non-prefetchable 32 bit memory at 0xfe000000 [0xfeffffff].
  Bus  0, device  11, function  0:
    CardBus bridge: Ricoh Co Ltd RL5c475 (rev 128).
      Master Capable.  Latency=168.  Max Lat=5.
      Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].

cat /proc/interupts
           CPU0
  0:     648777          XT-PIC  timer
  1:       4562          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:        458          XT-PIC  eth0
 12:      19162          XT-PIC  PS/2 Mouse
 14:       8063          XT-PIC  ide0
 15:          2          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0


cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : 3c509 PnP
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
1000-10ff : PCI CardBus #01
1400-14ff : PCI CardBus #01
ffa0-ffaf : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1



#cat /proc/iomem
00000000-0009fbff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-02ffffff : System RAM
  00100000-00239da0 : Kernel code
  00239da1-002aa3df : Kernel data
10000000-10000fff : Ricoh Co Ltd RL5c475
10400000-107fffff : PCI CardBus #01
10800000-10bfffff : PCI CardBus #01
fe000000-feffffff : ATI Technologies Inc 264VT [Mach64 VT]
fffc0000-ffffffff : reserved


# ls -l /proc/hermes
total 0

ls -ltr /etc/pcmcia
total 148
-r--r--r--    1 root     root         5111 Mar 11 22:25 wireless.opts.org
-r-xr-xr-x    1 root     root         2609 Mar 11 22:25 wireless
-r--r--r--    1 root     root         3556 Mar 11 22:25 shared
-r--r--r--    1 root     root          407 Mar 11 22:25 serial.opts
-r-xr-xr-x    1 root     root         2357 Mar 11 22:25 serial
-r--r--r--    1 root     root          573 Mar 11 22:25 scsi.opts
-r-xr-xr-x    1 root     root         1888 Mar 11 22:25 scsi
-r--r--r--    1 root     root          308 Mar 11 22:25 parport.opts
-r-xr-xr-x    1 root     root         1622 Mar 11 22:25 parport
-rwxr-xr-x    1 root     root          657 Mar 11 22:25 network.org
-r--r--r--    1 root     root          318 Mar 11 22:25 memory.opts
-r-xr-xr-x    1 root     root         2303 Mar 11 22:25 memory
-rwxr-xr-x    1 root     root          190 Mar 11 22:25 isdn
-r--r--r--    1 root     root          486 Mar 11 22:25 ide.opts
-r-xr-xr-x    1 root     root         1773 Mar 11 22:25 ide
-r--r--r--    1 root     root          251 Mar 11 22:25 ftl.opts
-r-xr-xr-x    1 root     root         1526 Mar 11 22:25 ftl
-r--r--r--    1 root     root        42784 Mar 11 22:25 config
drwxr-xr-x    2 root     root         4096 Jun 10 02:46 cis
-rwxr-xr-x    1 root     root         5211 Aug  1 00:14 wireless.opt
-rw-r--r--    1 root     root          240 Aug  1 00:29 network
-r--r--r--    1 root     root         1765 Aug  6 21:49 config.opts
-rw-r--r--    1 root     root         1860 Aug 10 00:47 hermes.conf

(hermes.conf is unchanged from the one at JT's web-page)

# cat /var/log/dmesg
Linux version 2.4.7 (root at linux) (gcc version 2.96 20000731 (Red Hat Linux 
7.1 2.96-81)) #3 SMP Thu Aug 9 22:47:53 CEST 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 0000000000100000 - 0000000003000000 (usable)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009fc00 for 4096 bytes.
On node 0 totalpages: 12288
zone(0): 4096 pages.
zone(1): 8192 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (010cd000)
Kernel command line: auto BOOT_IMAGE=nyKjerne ro root=301 
BOOT_FILE=/boot/bzImage.ipchains.9aug01
Initializing CPU#0
Detected 166.197 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 331.77 BogoMIPS
Memory: 45704k/49152k available (1255k kernel code, 3060k reserved, 449k 
data, 204k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 000001bf 00000000 00000000, vendor = 0
Intel Pentium with F0 0F bug - workaround enabled.
Intel old style machine check architecture supported.
Intel old style machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 000001bf 00000000 00000000 00000000
CPU:     After generic, caps: 000001bf 00000000 00000000 00000000
CPU:             Common caps: 000001bf 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: Before vendor init, caps: 000001bf 00000000 00000000, vendor = 0
Intel old style machine check architecture supported.
Intel old style machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 000001bf 00000000 00000000 00000000
CPU:     After generic, caps: 000001bf 00000000 00000000 00000000
CPU:             Common caps: 000001bf 00000000 00000000 00000000
CPU0: Intel Pentium 75 - 200 stepping 0c
per-CPU timeslice cutoff: 159.89 usecs.
SMP motherboard not detected. Using dummy APIC emulation.
Setting commenced=1, go go go
PCI: PCI BIOS revision 2.10 entry at 0xfd931, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
  got res[10000000:10000fff] for resource 0 of Ricoh Co Ltd RL5c475
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: Card '3Com 3C509B EtherLink III'
isapnp: 1 Plug & Play card detected total
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
NTFS version 1.1.15
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: queued sectors max/low 30232kB/10077kB, 128 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
hda: ST33221A, ATA DISK drive
hdc: NEC CD-ROM DRIVE:28B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 6303024 sectors (3227 MB) w/128KiB Cache, CHS=781/128/63, (U)DMA
hdc: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 < hda5 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
eth0: 3c5x9 at 0x220, 10baseT port, address  00 a0 24 2c c6 1c, IRQ 5.
3c509.c:1.18 12Mar2001 becker at scyld.com
http://www.scyld.com/network/3c509.html
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 16M
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20000928 on minor 63
[drm:radeon_init] *ERROR* Cannot initialize agpgart module.
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Enabling device 00:0b.0 (0000 -> 0002)
PCI: No IRQ known for interrupt pin A of device 00:0b.0. Please try using 
pci=biosirq.
dldwd: David's Less Dodgy WaveLAN/IEEE Driver
orinoco_cs.c 0.06 (David Gibson <hermes at gibson.dropbear.id.au> and others)
orinoco.c 0.06c (David Gibson <hermes at gibson.dropbear.id.au> and others)
hermes.c: 12 Dec 2000 David Gibson <hermes at gibson.dropbear.id.au>
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Yenta IRQ list 0000, PCI irq0
Socket status: 30000410
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 204k freed
Adding Swap: 100760k swap-space (priority -1)



from /var/log/messages
Aug 10 11:49:28 linux sysctl: net.ipv4.ip_forward = 0
Aug 10 11:49:28 linux sysctl: net.ipv4.conf.all.rp_filter = 1
Aug 10 11:49:28 linux network: Setting network parameters:  succeeded
Aug 10 11:49:30 linux network: Bringing up interface lo:  succeeded
Aug 10 11:49:31 linux kernel: eth0: Setting Rx mode to 0 addresses.
Aug 10 11:49:31 linux kernel: eth0: Setting Rx mode to 1 addresses.
Aug 10 11:49:32 linux network: Bringing up interface eth0:  succeeded
Aug 10 11:49:32 linux modprobe: modprobe: Can't locate module eth1
Aug 10 11:49:32 linux ifup: Delaying eth1 initialization.
Aug 10 11:49:32 linux network: Bringing up interface eth1:  failed


-- 
Pål Fladsrud





More information about the wireless mailing list