mristola@cc.hut.fi
2004-Dec-11 13:57 UTC
[Xen-devel] PCMCIA WLAN success after patching xen
Short description: I have Amilo M 7400 laptop with 3COM Atmel based PCMCIA WLAN card. I managed to get xen-2.0-testing to work with that card, after applying Keri Frazer''s CARDBUS patch into xen and recompiling the kernel for driver support. Wlan speed is normal: scp copied data with a rate 737KB/s, that equals approximately with the normal Linux copying speed. Marko Seen problems (Linux: Debian Testing, Linux-2.6.9): - Time consuming to find out correct compilation parameters for 2.6.9 kernel. - Network connection was lost after the wlan had been idle for a while. ifdown eth1, ifup eth1 solved the problem. I don''t know the cause for this. Power management seems to be off on the WLAN card. - Apache 2 starts up very slowly. I believe, that Apache waits for some keyboard input under domain0. That seems to help?? Details about installation: I tried first the xen-2.0.1, but moved into xen-2.0-testing: I found out, that the Intel video card might work there with agpgart. It works for me. I got the 3COM PCMCIA WLAN (Atmel chipset) to work at the following way: Apply the patch made by Keri Fraser on mail archive: http://sourceforge.net/mailarchive/message.php?msg_id=9923531 Here is the patch that I applied into xen-2.0-testing: xen/common/physdev.c: On function void physdev_init_dom0(struct domain *p): Replace the following code: * In Linux2.6 we set pcibios_scan_all_fns(). */ if ( dev->hdr_type != PCI_HEADER_TYPE_NORMAL ) continue; into this code on line 745: * In Linux2.6 we set pcibios_scan_all_fns(). */ if ( dev->hdr_type != PCI_HEADER_TYPE_NORMAL && dev->hdr_type != PCI_HEADER_TYPE_CARDBUS) continue; This really worked! - cardbus was found. - Yenta socket was initialized. - 3COM Atmel card: the firmware was loaded via HotPlug into the PCMCIA card, and the network card was initialized. - The netwok just started to work! It took me lots of time to configure the kernel. Here are the main kernel configuration parts, that affected the PCMCIA success. There might be some unrelated lines: #Marko: maybe this is not needed?? # # Firmware Drivers # CONFIG_EDD=m CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set CONFIG_MTRR=y CONFIG_HAVE_DEC_LOCK=y # CONFIG_REGPARM is not set # # Bus options (PCI, PCMCIA, EISA, MCA, ISA) # CONFIG_PCI=y CONFIG_PCI_DIRECT=y CONFIG_PCI_LEGACY_PROC=y CONFIG_PCI_NAMES=y CONFIG_ISA=y # CONFIG_EISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set # # PCMCIA/CardBus support # CONFIG_PCMCIA=y CONFIG_PCMCIA_DEBUG=y CONFIG_YENTA=m CONFIG_CARDBUS=y CONFIG_PD6729=m CONFIG_I82092=m CONFIG_I82365=m CONFIG_TCIC=m CONFIG_PCMCIA_PROBE=y #Marko: maybe this is not needed for firmware HotPlug?? # # PCI Hotplug Support # CONFIG_HOTPLUG_PCI=m CONFIG_HOTPLUG_PCI_FAKE=m CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m CONFIG_HOTPLUG_PCI_PCIE=m # CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE is not set CONFIG_HOTPLUG_PCI_SHPC=m # CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE is not set # CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY is not set # # Generic Driver Options # # CONFIG_STANDALONE is not set # CONFIG_PREVENT_FIRMWARE_BUILD is not set CONFIG_FW_LOADER=y CONFIG_DEBUG_DRIVER=y # # Plug and Play support # CONFIG_PNP=y # CONFIG_PNP_DEBUG is not set #Marko: maybe ISA is not related with PCMCIA. # # Protocols # CONFIG_ISAPNP=y # CONFIG_PNPBIOS is not set #Marko: maybe this is not needed?? # # SCTP Configuration (EXPERIMENTAL) # # CONFIG_IP_SCTP is not set # CONFIG_ATM is not set CONFIG_BRIDGE=y # # Wireless LAN (non-hamradio) # CONFIG_NET_RADIO=y # # Wireless 802.11b ISA/PCI cards support # # CONFIG_AIRO is not set # CONFIG_HERMES is not set CONFIG_ATMEL=m CONFIG_PCI_ATMEL=m # # Wireless 802.11b Pcmcia/Cardbus cards support # # CONFIG_AIRO_CS is not set CONFIG_PCMCIA_ATMEL=m # CONFIG_PCMCIA_WL3501 is not set # # Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support # # CONFIG_PRISM54 is not set CONFIG_NET_WIRELESS=y # # PCMCIA network device support # CONFIG_NET_PCMCIA=y # CONFIG_PCMCIA_3C589 is not set # CONFIG_PCMCIA_3C574 is not set # CONFIG_PCMCIA_FMVJ18X is not set # CONFIG_PCMCIA_PCNET is not set # CONFIG_PCMCIA_NMCLAN is not set # CONFIG_PCMCIA_SMC91C92 is not set # CONFIG_PCMCIA_XIRC2PS is not set # CONFIG_PCMCIA_AXNET is not set # Marko: Some of these cryptographic modules # Marko: are needed by WLAN WEP and WPA # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_NULL=m CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=m CONFIG_CRYPTO_SHA1=m CONFIG_CRYPTO_SHA256=m CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_DES=m CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_AES_586=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_ARC4=m CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_CRC32C=m # CONFIG_CRYPTO_TEST is not set #Marko: according to ipw2100 project (Intel PCI WLAN): CRC32 is needed #Marko: for ipw2100 driver (that card does not work for me even on #Marko: normal Linux) # # Library routines # CONFIG_CRC_CCITT=m CONFIG_CRC32=y CONFIG_LIBCRC32C=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m -- Marko ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Adam Sulmicki
2004-Dec-11 18:19 UTC
Re: [Xen-devel] PCMCIA WLAN success after patching xen
thanks for tips. I guess I''ll retry the issue. the same patch did not quite work for me. On Sat, 11 Dec 2004 mristola@cc.hut.fi wrote:> - cardbus was found. > - Yenta socket was initialized.the patch fixed those two issues...> - 3COM Atmel card: the firmware was loaded via HotPlug into the PCMCIA card, > and the network card was initialized. > - The netwok just started to work!but not any of those. I guess I''ll re-try it with xen-2.0-testing. I was trying with xen-2.0-beta, so perhaps this makes difference. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
mristola@cc.hut.fi
2004-Dec-11 20:46 UTC
Re: [Xen-devel] PCMCIA WLAN success after patching xen
Thank you very much. I noticed also a following thing on installation: It would have helped me on install instructions, if there were some requirement note, that the domain0 must be on a single partition to be able to boot. I managed to start up xen only after repartitioning: I had /, /boot and /usr partitions. Under /boot directory there is some soft links, that point into various places. After moving into one very large root partition, the Domain0 started to boot. -- Marko On Sat, 11 Dec 2004 13:19:25 -0500 (EST) Adam Sulmicki <adam@cfar.umd.edu> wrote:> > thanks for tips. I guess I''ll retry the issue. > the same patch did not quite work for me. >------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel