From owner-freebsd-mobile Thu Nov 2 18: 1:52 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 6704437B479; Thu, 2 Nov 2000 18:01:43 -0800 (PST) Received: by peorth.iteration.net (Postfix, from userid 1001) id D45A35730B; Thu, 2 Nov 2000 20:01:42 -0600 (CST) Date: Thu, 2 Nov 2000 20:01:42 -0600 From: "Michael C . Wu" To: Warner Losh , mobile@FreeBSD.ORG Cc: wpaul@freebsd.org Subject: Re: pccard inserts and detects but no device attached? Message-ID: <20001102200142.A1281@peorth.iteration.net> Reply-To: "Michael C . Wu" References: <20001031220455.A424@peorth.iteration.net> <200011020056.RAA01166@harmony.village.org> <20001102170238.B13908@peorth.iteration.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001102170238.B13908@peorth.iteration.net>; from keichii@iteration.net on Thu, Nov 02, 2000 at 05:02:38PM -0600 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 02, 2000 at 05:02:38PM -0600, Michael C . Wu scribbled: | On Wed, Nov 01, 2000 at 05:56:58PM -0700, Warner Losh scribbled: After updating to 4.2-BETA, the wi0 device finally gets attached root@peorth:~# uname -a FreeBSD peorth.iteration.net 4.2-BETA FreeBSD 4.2-BETA #0: Thu Nov 2 18:48:18 CST 2000 keichii@peorth.iteration.net:/usr/src/sys/compile/PEORTH.UP i386 root@peorth:~# wicontrol NIC serial number: [ 00UT32417104 ] Station name: [ FreeBSD WaveLAN/IEEE node ] SSID for IBSS creation: [ FreeBSD IBSS ] Current netname (SSID): [ FreeBSD IBSS ] Desired netname (SSID): [ ] Current BSSID: [ 00:00:00:00:00:00 ] Channel list: [ 2047 ] IBSS channel: [ 10 ] Current channel: [ 10 ] Comms quality/signal/noise: [ 0 27 27 ] Promiscuous mode: [ Off ] Port type (1=BSS, 3=ad-hoc): [ 3 ] MAC address: [ 00:02:2d:0d:42:86 ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 2 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys: [ ][ ][ ][ ] root@peorth:~# wicontrol -i iface -t tx 3 wicontrol: SIOCSWAVELAN: Device not configured root@peorth:~# wicontrol -i iface -n network wicontrol: SIOCSWAVELAN: Device not configured From /var/log/messages: Nov 2 19:06:51 peorth pccardd[56]: Card "Lucent Technologies"("WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] Nov 2 19:06:55 peorth apmd[193]: start Nov 2 19:06:57 peorth /kernel: wi0: at port 0x240-0x27f irq 13 slot 0 on pccard0 Nov 2 19:06:57 peorth /kernel: wi0: Ethernet address: 00:02:2d:0d:42:86 Nov 2 19:06:57 peorth pccardd[56]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. Nov 2 19:06:57 peorth pccard:wi0: WaveLAN/IEEE inserted Nov 2 19:06:58 peorth /kernel: wi0: tx buffer allocation failed Nov 2 19:06:58 peorth pccardd[56]: pccardd started Nov 2 19:06:59 peorth /kernel: wi0: xmit failed Nov 2 19:07:03 peorth /kernel: wi0: device timeout Nov 2 19:07:03 peorth /kernel: wi0: tx buffer allocation failed Nov 2 19:07:06 peorth /kernel: wi0: xmit failed Nov 2 19:07:11 peorth /kernel: wi0: device timeout Nov 2 19:07:11 peorth /kernel: wi0: tx buffer allocation failed Nov 2 19:09:13 peorth /kernel: wi0: xmit failed Nov 2 19:09:18 peorth /kernel: wi0: device timeout Nov 2 19:09:18 peorth /kernel: wi0: tx buffer allocation failed attached are dmesg, pccard.conf, rc.conf Would you mind instructing me on how to resolve this problem? Thank you very much for your time, I appreciate it. -- +------------------------------------------------------------------+ | keichii@peorth.iteration.net | keichii@bsdconspiracy.net | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +------------------------------------------------------------------+ --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-BETA #0: Thu Nov 2 18:48:18 CST 2000 keichii@peorth.iteration.net:/usr/src/sys/compile/PEORTH.UP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (506.98-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 402653184 (393216K bytes) avail memory = 385642496 (376604K bytes) Preloaded elf kernel "kernel" at 0xc03af000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb000-0xb01f at device 7.2 on pci0 uhci0: Invalid irq 255 uhci0: Please switch on USB support and switch PNP-OS to 'No' in BIOS device_probe_and_attach: uhci0 attach returned 6 chip1: port 0x5000-0x500f at device 7.3 on pci0 ahc0: port 0xb400-0xb4ff mem 0xf0020000-0xf0020fff irq 5 at device 9.0 on pci0 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs atapci1: port 0xc800-0xc83f,0xc400-0xc403,0xc000-0xc007,0xbc00-0xbc03,0xb800-0xb807 mem 0xf0000000-0xf001ffff irq 11 at device 11.0 on pci0 ata2: at 0xb800 on atapci1 ata3: at 0xc000 on atapci1 dc0: port 0xcc00-0xccff mem 0xf0021000-0xf00210ff irq 12 at device 13.0 on pci0 dc0: Ethernet address: 00:a0:cc:35:d2:cc miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci2: port 0xd800-0xd8ff,0xd400-0xd403,0xd000-0xd007 irq 11 at device 19.0 on pci0 ata4: at 0xd000 on atapci2 atapci3: port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07 irq 11 at device 19.1 on pci0 ata5: at 0xdc00 on atapci3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> pcic0: at port 0x3e2 iomem 0xd8000 irq 10 on isa0 pcic0: management irq 10 pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry DUMMYNET initialized (000608) IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default IPsec: Initialized Security Association Processing. ad4: 8693MB [17662/16/63] at ata2-master UDMA66 ad5: 19574MB [39770/16/63] at ata2-slave UDMA66 ad8: 19574MB [39770/16/63] at ata4-master UDMA66 ad9: 19574MB [39770/16/63] at ata4-slave UDMA66 ad10: 19574MB [39770/16/63] at ata5-master UDMA66 Waiting 15 seconds for SCSI devices to settle pccard: card inserted, slot 0 sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit) Mounting root from ufs:/dev/ad4s1a vinum: loaded vinum: reading configuration from /dev/ad10s1e vinum: updating configuration from /dev/ad9s1e vinum: updating configuration from /dev/ad8s1e vinum: updating configuration from /dev/ad5s1e wi0: at port 0x240-0x27f irq 13 slot 0 on pccard0 wi0: Ethernet address: 00:02:2d:0d:42:86 wi0: tx buffer allocation failed wi0: xmit failed wi0: device timeout wi0: tx buffer allocation failed wi0: xmit failed wi0: device timeout wi0: tx buffer allocation failed wi0: xmit failed wi0: device timeout wi0: tx buffer allocation failed --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pccard.conf" # Default PCCARD configuration file # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of these cards in # your machine, you will be forced to modify their IRQ parameters from # the following list. # # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # # $FreeBSD: src/etc/defaults/pccard.conf,v 1.98.2.5 2000/09/22 10:12:08 sanpei Exp $ # # Send new entries for this file to imp@freebsd.org. He's volunteered # to act as coordinator for this file. # # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 13 # Available memory slots memory 0xd8000 32k # Include user configration file # This allow you to override or add configurations. # Lucent WaveLAN/IEEE card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" ? # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop insert logger -t pccard:$device -s WaveLAN/IEEE inserted insert /etc/pccard_ether $device insert /etc/setup_$device remove logger -t pccard:$device -s WaveLAN/IEEE removed remove /sbin/ifconfig $device delete --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rc.conf" start_vinum="YES" # set to YES to start vinum inetd_enable="YES" portmap_enable="YES" sendmail_enable="NO" linux_enable="YES" ntpdate_flags="time.ots.utexas.edu" accounting_enable="YES" moused_enable="YES" saver="daemon" font8x8="swiss-8x8" font8x14="NO" font8x16="swiss-8x16" keyrate="fast" ntpdate_enable="YES" nfs_server_enable="YES" nfs_client_enable="YES" named_enable="YES" network_interfaces="dc0 lo0" ifconfig_dc0="inet 208.190.180.178 netmask 255.255.255.248" defaultrouter="208.190.180.182" hostname="peorth.iteration.net" usbd_enable="YES" allscreens_flags="-i mode VGA_80x60" # Set this vidcontrol mode for all virtual screens moused_flags="-z 4" moused_type="auto" # See man page for rc.conf(5) for available settings. moused_port="/dev/psm0" # Set to your mouse port. sshd_enable="YES" firewall_enable="NO" # Set to YES to enable firewall functionality firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall firewall_type="OPEN" # Firewall type (see /etc/rc.firewall) firewall_quiet="NO" # Set to YES to suppress rule display firewall_logging="YES" # Set to YES to enable events logging firewall_flags="" # Flags passed to ipfw when type is a file ip_portrange_first="30000" # Set first dynamically allocated port ip_portrange_last="60000" # Set last dynamically allocated port ipsec_enable="NO" # Set to YES to run setkey on ipsec_file ipsec_file="/etc/ipsec.conf" # Name of config file for setkey natd_program="/sbin/natd" # path to natd, if you want a different one. natd_enable="NO" # Enable natd (if firewall_enable == YES). natd_interface="fxp0" # Public interface or IPaddress to use. #natd_flags="" # Additional flags for natd. #tcp_extensions="" usbd_enable="YES" sendmail_enable="YES" sshd_enable="YES" portmap_enable="YES" inetd_enable="YES" network_interfaces="dc0 lo0" ifconfig_dc0="inet 208.190.180.178 netmask 255.255.255.248" defaultrouter="208.190.180.182" hostname="peorth.iteration.net" usbd_enable="YES" nfs_reserved_port_only="YES" apm_enable="YES" # Set to YES to enable APM BIOS functions (or NO). apmd_enable="YES" # Run apmd to handle APM event from userland. apmd_flags="" # Flags to apmd (if enabled). pccard_enable="YES" # Set to YES if you want to configure PCCARD devices. pccard_mem="0xd8000" # If pccard_enable=YES, this is card memory address. pccard_beep="2" # pccard beep type. pccard_ifconfig="inet 10.0.0.1 netmask 255.255.255.0" # Specialized pccard ethernet configuration (or NO). pccardd_flags="" # Additional flags for pccardd. pccard_conf="/etc/pccard.conf" # pccardd(8) config file gateway_enable="YES" firewall_type="OPEN" natd_enable="YES" natd_interface="dc0" --FCuugMFkClbJLl1L-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message