Date: Tue, 27 Jan 2004 02:54:07 -0800 (PST) From: wpaul@FreeBSD.ORG (Bill Paul) To: cejkar@fit.vutbr.cz (Rudolf Cejka) Cc: freebsd-current@freebsd.org Subject: Re: Project Evil: The Evil Continues Message-ID: <20040127105407.3E54316A4CF@hub.freebsd.org> In-Reply-To: <20040127095740.GA74677@fit.vutbr.cz> from Rudolf Cejka at "Jan 27, 2004 10:57:40 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> Bill Paul wrote (2004/01/25): > > Now, is anyone going to actually test Project Evil with their > > cards like I asked, or is everyone just going to use this as an excuse > > to ask me questions? > > Hello, I have tested six pccard/cardbus cards with following results. > However, first I had to find, why kernel crashes, when some cards are > inserted - the problem is that cbb0 process does not set p->p_fd->fd_rdir > and p->p_fd->fd_cdir, but namei() called from vn_open() called from > ndis_open_file() unconditionally references them. Following patch helped > me - the idea is stolen from /sys/dev/raidframe/rf_freebsdkintf.c. > Furthermore, some debug output with reporting missing files helped me > too. *sigh* I don't have any cardbus cards that reference external firmware. > *) Buffalo AirStation WLI-CB-G54A (802.11b/g) > > cbg0: <BUFFALO WLI-CB-G54 Wireless LAN Adapter> mem 0x88002000-0x88003fff irq 11 at device 0.0 on cardbus0 > cbg0: NDIS API version: 5.0 > cbg0: 802.11 address: 00:07:40:c1:b1:88 > cbg0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > cbg0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps > > ... Unstable, but works. If I download some files, use ssh or browse the > web, everything seems to be good. However, when I try > cd /usr/src ; make update # supfile is for src & ports > my notebook after some time always crashes. Sometimes already in src > tree, sometimes in the ports tree. Panic is reproducible and kernel > stops on > 0xc086b709 <drv_data+19253>: andl $0x0,0x20(%edi) > I have a crash dump, but do not know, what to do and debug here. > Do you have any ideas? It would be really great to have this card > stable, because this is my primary card. I can't begin to tell you where the problem is, since a) you only gave me one instruction where the crash occured, rather than showing me the entire stack trace and console display so I could see what other messages (if any) appeared on the console when it happened, b) you didn't tell me what speed/mode you were using at the time, and c) you have not provided a more precise means of duplicating the crash (I can't do cvsup from home: I only have a dialup). Cvsup is not a network diagnostic or traffic generation tool: it is not possible to generate consistent, reproducible results with it. Use ttcp or netperf instead, then show me _EXACTLY_ how you ran it to produce the crash so I can do it too. > *) Cisco AIR-CB20A / AIR-CB20A-A-K9 (802.11a) > > cba0: NDIS API version: 5.0 > cba0: 802.11 address: 00:00:48:9a:1b:cd > cba0: couldn't retrieve channel info: 19 > cba0: 11b rates: > > ... Card is detected, but I could not establish any connection I don't have a card like this. What chipset is it? > *) Cisco AIR-PCM350 / AIR-PCM352 (802.11b) > > pccard0: <unknown card> (manufacturer=0x015f, product=0x000a) at function 0 > pccard0: CIS info: Cisco Systems, 350 Series Wireless LAN Adapter, (null) > > ... This card seems to be big killer for ndiscvt - [...] Grrrr. For the Nth time: this is a PCMCIA card, not cardbus. I already said I haven't added support for PCMCIA cards yet. > [PCX500.EventLog] > AddReg = PCX500.EventLog.Add > > *) Proxim Orinoco 8471-WD (802.11a/b/g) > > ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on cardbus0 > ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 > ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > ath0: 802.11 address: 00:20:a6:4e:d6:64 > > ... Standard kernel driver, just for reference - I have problem with > setting for one access point without wep. The second with wep seems > to be accessible and network does work over it. > > ori0: <ORiNOCO 802.11bg ComboCard Silver> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on cardbus0 > can't re-use a leaf (sleepMode)! > can't re-use a leaf (shortPreamble)! > can't re-use a leaf (radioEnable)! > can't re-use a leaf (BusType)! > ori0: NDIS API version: 5.1 > error opening file /compat/ndis/regAdd.txt > ori0: 802.11 address: 00:20:a6:4e:d6:64 > ori0: 11a rates: 6Mbps 12Mbps 24Mbps 36Mbps 36Mbps 48Mbps 54Mbps > ori0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > ori0: 11g rates: 6Mbps 12Mbps 24Mbps 36Mbps 36Mbps 48Mbps 54Mbps > > ... I'm able to do ssh and other basic network connections, but > cd /usr/src ; make update > halts system very fastly without any message and without any panic "Halts" == freezes up? Or do you mean it resets? > *) SMC EZ Connect g SMC2835W (802.11b/g) > > smc0: <SMC2835W 2.4GHz 54 Mbps Wireless Cardbus Adapter> mem 0x88002000-0x88003fff irq 11 at device 0.0 on cardbus0 > can't re-use a leaf (SSID)! > can't re-use a leaf (NetworkType)! > can't re-use a leaf (DSChannel)! > can't re-use a leaf (TxRate)! > can't re-use a leaf (WepReq)! > can't re-use a leaf (LongPreamble)! > can't re-use a leaf (11dMode)! > can't re-use a leaf (BusType)! > smc0: NDIS API version: 5.0 > smc0: Ethernet address: 80:8a:bf:c2:64:9c > > ... Card is detected, but I could not establish any connection What chipset is this card? -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= <adamw> you're just BEGGING to face the moose =============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127105407.3E54316A4CF>