Date: Wed, 07 Aug 2002 23:41:06 -0400 From: "Michael C. Cambria" <cambria@fid4.com> To: mobile@FreeBSD.ORG, cambria@fid4.com Subject: Siemens PCI->PCMCIA using wi - Why does this work? Message-ID: <3D51E852.8030605@fid4.com>
next in thread | raw e-mail | index | archive | help
Hi, I am trying to understand why my FreeBSD router with a new PCI->PCMCIA bridge is working. From what I read, a few things are missing. On my $.6-Stable machines (last cvsup'ed a few weeks after 4.6-Release came out) I installed a Siemens SpeedStream PCI->PCMCIA bridge two days ago. I have an Orinoco Silver PCMCIA card. The Siemens card has a big PLX on its chip. Everything just "worked" after making a few additions to the kernel, rc.conf etc. After being up for a few days, I had a problem (wi0: watchdog timeout) after the second day (the router is up all the time.) I started investigating and can't explain why it ever worked. A reboot "fixed" everything, my laptop (Win2K) can get to work using the wireless connection again. Since I'm passing traffic, I'll worry about the watchdog timeout later. I'd like to understand why it works at all. What doesn't make sense is when I boot, I get an error from pccardd complaining that /dev/card0 isn't configured: pccardd[571]: fatal error: no PC-CARD slots Looking at dmesg, there is no pcic nor pccard messages. The Orinoco and Siemens both show up as wi0: wi0: <Siemens SpeedStream> port 0xec00-0xec3f,0xec80-0xecff mem 0xfdfff000-0xfdffffff irq 9 at device 7.0 on pci1 wi0: 802.11 address: <deleted> wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station 6.06.01 What I expected, from checking out the archives and from using a similar box in work (but with an ISA->PCMCIA adapter) would be for pccard and pcic to show up in dmesg, rc.pccard to succeed when calling pccardc to configure memory etc. and pccardd to find /dev/card0. My _guess_ is that this bridge makes wi0 look like a traditional PCI card. Various config files etc are below: mcambria# cat /etc/start_if.wi0 /usr/sbin/wicontrol -i wi0 -n adhoc /usr/sbin/wicontrol -i wi0 -q adhoc /usr/sbin/wicontrol -i wi0 -s MikeC-BSD /usr/sbin/wicontrol -i wi0 -c 1 /usr/sbin/wicontrol -i wi0 -p 1 /usr/sbin/wicontrol -i wi0 -f 10 ifconfig shows that there is no carrier: mcambria# ifconfig wi0 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 172.16.6.1 netmask 0xffffff00 broadcast 172.16.6.255 inet6 fe80::202:2dff:fe1b:3924%wi0 prefixlen 64 scopeid 0x1 inet6 3ffe:b80:9b3:6::1 prefixlen 64 ether 00:02:2d:1b:39:24 media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) >>>>> status: no carrier ssid adhoc 1:adhoc stationname MikeC-BSD channel 10 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 My kernel has: device pcic device card mcambria# pccardc dumpcis 0 slots found rc.conf also tries to bring up wi0 like any other ethernet adapter: network_interfaces="vx0 xl0 wi0 lo0" ifconfig_xl0="inet 172.16.8.1 netmask 255.255.255.0" ifconfig_wi0="inet 172.16.6.1 netmask 255.255.255.0" # ipv6_network_interfaces="xl0 wi0" ipv6_ifconfig_xl0="3ffe:b80:9b3:8::1 prefixlen 64" ipv6_ifconfig_wi0="3ffe:b80:9b3:6::1 prefixlen 64" Should I be doing this elsewhere? Thanks for any help. MikeC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D51E852.8030605>