From owner-freebsd-stable@FreeBSD.ORG Mon Aug 2 07:14:55 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B64DC1065672 for ; Mon, 2 Aug 2010 07:14:55 +0000 (UTC) (envelope-from izaera@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8739B8FC14 for ; Mon, 2 Aug 2010 07:14:55 +0000 (UTC) Received: by pwj9 with SMTP id 9so1416410pwj.13 for ; Mon, 02 Aug 2010 00:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=cvhDtuI0P3vBeINauwuqdGDlrfWfGS9heIAdxOfUR/I=; b=rxI0C+SjqrQSQ6qH6sMz8lzdgquINfHosf60B/llon3ybDEVkt61OQucoAjUMJpnpP EfT54W0UBTGzr01eBGwRwiZ8fnq9hlmCFH6RXOJq6WWKL8sX24XRqz4zB2UW0iVcwo4T Bb2RhG+DaRNFcAKCGpJsYd9QKZlCT14S+CClw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RI2x/BKq9117YIxmyEglDOcj49+737xjPUHz3OFTJNuD4qvP3c0w8usmsFVm1IHkgb pn6BV8XA5HXJzY8gZHkzPl8qwQMxHYaR5xrSDEs5k7ta/K/ELhRoy6CWixgedrAstsnB ZqErmkc6/ymcDdPO4YkpC204o/UgHOWSwB5jA= MIME-Version: 1.0 Received: by 10.142.142.4 with SMTP id p4mr4943802wfd.253.1280731916807; Sun, 01 Aug 2010 23:51:56 -0700 (PDT) Received: by 10.142.158.12 with HTTP; Sun, 1 Aug 2010 23:51:56 -0700 (PDT) In-Reply-To: <15043432234b76fe1b2ad7382bfd0e7901412ad1@mail.qip.ru> References: <15043432234b76fe1b2ad7382bfd0e7901412ad1@mail.qip.ru> Date: Mon, 2 Aug 2010 08:51:56 +0200 Message-ID: From: =?UTF-8?B?SXbDoW4gWmFlcmEgQXZlbGzDs24=?= To: =?UTF-8?B?0JzQsNC60LDRgNGD0Log0KDQvtC80LDQvSDQktCw0LvQtdGA0YzQtdCy0LjRhw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Atheros AR2427 in FreeBSD 8.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 07:14:55 -0000 Hi there: It's not only a problem of your card. I have an Eee PC 1005HA with another atheros card (officially supporter) and I experience the same error. I have open a PR, have a look at it here: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D148112 It seems to be a problem of the wireless or the ath driver. Regards, Ivan 2010/7/31 =D0=9C=D0=B0=D0=BA=D0=B0=D1=80=D1=83=D0=BA =D0=A0=D0=BE=D0=BC=D0= =B0=D0=BD =D0=92=D0=B0=D0=BB=D0=B5=D1=80=D1=8C=D0=B5=D0=B2=D0=B8=D1=87 > Hello! I have Asus Eee PC 1001PX wich Atheros AR2427. This Wi-Fi > officially not supported by driver ath. But in OpenBSD and Linux this car= d > supported. > > I added to ath/ath_hal/ar9285_attath.c: > > ar9285Probe(uint16_t vendorid, uint16_t devid) > tatic const char* ar9285Probe(uint16_t vendorid, uint16_t devid) > { > if (vendorid =3D=3D ATHEROS_VENDOR_ID && devid =3D=3D > AR9285_DEVID_PCIE) > return "Atheros 9285"; > if (vendorid =3D=3D ATHEROS_VENDOR_ID && devid =3D=3D > AR2427_DEVID_PCIE) > return "Atheros 2427"; > return AH_NULL; > } > > And to /ath/ath_hal_ah_dev_id.h: > > #define AR2427_DEVID_PCIE 0x002c > > I compile ath module witch debug. And the WiFi has to work. But then i > try to connect tp AP witch WEP crypt i see next: "ath0: bb hang detected > (0x80), reseting". > > And my home AP DI-524 (WPA-PSK crypt) can not be found. > > By this, I have a few questions. Can anyone help solve this problem and > finish the driver. And will the official support for this card in the > FreeBSD? > > Appendix: > > #kldload if_ath > > pci0: driver added > found-> vendor=3D0x8086, dev=3D0x27d8, revid=3D0x02 > domain=3D0, bus=3D0, slot=3D27, func=3D0 > class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 > cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D8 (dwords) > lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Da, irq=3D22 > powerspec 2 supports D0 D3 current D0 > MSI supports 1 message, 64 bit > pci0:0:27:0: reprobing on driver added > found-> vendor=3D0x8086, dev=3D0x27da, revid=3D0x02 > domain=3D0, bus=3D0, slot=3D31, func=3D3 > class=3D0c-05-00, hdrtype=3D0x00, mfdev=3D0 > cmdreg=3D0x0001, statreg=3D0x0280, cachelnsz=3D0 (dwords) > lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Db, irq=3D21 > pci0:0:31:3: reprobing on driver added > pci1: driver added > pci2: driver added > found-> vendor=3D0x168c, dev=3D0x002c, revid=3D0x01 > domain=3D0, bus=3D2, slot=3D0, func=3D0 > class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 > cmdreg=3D0x0407, statreg=3D0x0010, cachelnsz=3D8 (dwords) > lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Da, irq=3D17 > powerspec 3 supports D0 D1 D3 current D0 > MSI supports 1 message > pci0:2:0:0: reprobing on driver added > ath0: mem 0xfbff0000-0xfbffffff irq 17 at device 0.0 on pci2 > pcib2: ath0 requested memory range 0xfbff0000-0xfbffffff: good > ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 59 > ath0: [MPSAFE] > ath0: [ITHREAD] > ar9285Attach: sc 0xc49ca000 st 0x1 sh 0xe678d000 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9285Attach: AR_SREV 0xc02ff > ar9285Attach: ID 0xc02ff VERSION 0x3 TYPE 0x0 REVISION 0x2 > ath_hal_v4kEepromAttach Eeprom Magic =3D 0xa55a > ath_hal_v4kEepromAttach Eeprom Version 14.13 > v4kEepromReadCTLInfo Numctls =3D 6 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9280RfAttach: attach AR9280 radio > enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBa= se > 0x0 > ar9285Attach: return > getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm > getregstate: EEPROM cc 0 rd 0x10 > getregstate: EEPROM rd 0x60 > getchannels: !avail mode 0x6800c (0x2) flags 0x2150 > getchannels: !avail mode 0x6800c (0x1) flags 0x140 > ar5416GetChipPowerLimits: no min/max power for 2412/0xa0 > Chan 2412: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2417/0xa0 > Chan 2417: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2422/0xa0 > Chan 2422: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2427/0xa0 > Chan 2427: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2432/0xa0 > Chan 2432: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2437/0xa0 > Chan 2437: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2442/0xa0 > Chan 2442: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2447/0xa0 > Chan 2447: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2452/0xa0 > Chan 2452: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2457/0xa0 > Chan 2457: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2462/0xa0 > Chan 2462: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2467/0xa0 > Chan 2467: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2472/0xa0 > Chan 2472: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2484/0xa0 > Chan 2484: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2412/0x480 > Chan 2412: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2417/0x480 > Chan 2417: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2422/0x480 > Chan 2422: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2427/0x480 > Chan 2427: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2432/0x480 > Chan 2432: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2437/0x480 > Chan 2437: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2442/0x480 > Chan 2442: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2447/0x480 > Chan 2447: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2452/0x480 > Chan 2452: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2457/0x480 > Chan 2457: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2462/0x480 > Chan 2462: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2467/0x480 > Chan 2467: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2472/0x480 > Chan 2472: MaxPow =3D 63 MinPow =3D 0 > getchannels: !avail mode 0x6800c (0x20) flags 0xd0 > getchannels: !avail mode 0x6800c (0x40) flags 0x150 > getchannels: !avail mode 0x6800c (0x400) flags 0x8140 > getchannels: !avail mode 0x6800c (0x200) flags 0x4140 > getchannels: !avail mode 0x6800c (0x1000) flags 0x8480 > getchannels: !avail mode 0x6800c (0x800) flags 0x4480 > ar5416GetChipPowerLimits: no min/max power for 2412/0x10480 > Chan 2412: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2417/0x10480 > Chan 2417: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2422/0x10480 > Chan 2422: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2427/0x10480 > Chan 2427: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2432/0x10480 > Chan 2432: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2437/0x10480 > Chan 2437: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2442/0x10480 > Chan 2442: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2447/0x10480 > Chan 2447: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2452/0x10480 > Chan 2452: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2457/0x10480 > Chan 2457: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2462/0x10480 > Chan 2462: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2467/0x10480 > Chan 2467: MaxPow =3D 63 MinPow =3D 0 > ar5416GetChipPowerLimits: no min/max power for 2472/0x10480 > Chan 2472: MaxPow =3D 63 MinPow =3D 0 > getchannels: !avail mode 0x6800c (0x10000) flags 0x10140 > getchannels: !avail mode 0x6800c (0x80000) flags 0x20140 > getchannels: !avail mode 0x6800c (0x100000) flags 0x40140 > assignPrivateChannels: private[ 0] 2412/0xa0 -> channel 2412 > assignPrivateChannels: private[ 1] 2417/0xa0 -> channel 2417 > assignPrivateChannels: private[ 2] 2422/0xa0 -> channel 2422 > assignPrivateChannels: private[ 3] 2427/0xa0 -> channel 2427 > assignPrivateChannels: private[ 4] 2432/0xa0 -> channel 2432 > assignPrivateChannels: private[ 5] 2437/0xa0 -> channel 2437 > assignPrivateChannels: private[ 6] 2442/0xa0 -> channel 2442 > assignPrivateChannels: private[ 7] 2447/0xa0 -> channel 2447 > assignPrivateChannels: private[ 8] 2452/0xa0 -> channel 2452 > assignPrivateChannels: private[ 9] 2457/0xa0 -> channel 2457 > assignPrivateChannels: private[ 10] 2462/0xa0 -> channel 2462 > assignPrivateChannels: private[ 11] 2467/0x2a0 -> channel 2467 > assignPrivateChannels: private[ 12] 2472/0x2a0 -> channel 2472 > assignPrivateChannels: private[ 13] 2484/0x2a0 -> channel 2484 > assignPrivateChannels: 40 public, 14 private channels > ath_hal_init_channels: cc 0 > ath_getchannels: eeprom rd 96 cc 0 (mapped rd 96 cc 0) location I ecm > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_hal_computetxtime: unknown phy 4 (rate ix 8) > ath_descdma_setup: rx DMA: 40 buffers 1 desc/buf > ath_descdma_setup: rx DMA map: 0xe679e000 (3840) -> 0x2325e000 (3840) > ath_descdma_setup: tx DMA: 200 buffers 10 desc/buf > ath_descdma_setup: tx DMA map: 0xe67cd000 (192000) -> 0x20400000 (192000) > ath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf > ath_descdma_setup: beacon DMA map: 0xe67fd000 (384) -> 0x1570d000 (384) > ar5212SetupTxQueue: queue 9 > ar5212SetupTxQueue: queue 8 > ar5212SetupTxQueue: queue 0 > ar5212SetupTxQueue: queue 1 > ar5212SetupTxQueue: queue 2 > ar5212SetupTxQueue: queue 3 > ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps > ath0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbp= s > 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps > ath0: AR9285 mac 192.2 RF5133 phy 14.0 > ath0: Use hw queue 1 for WME_AC_BE traffic > ath0: Use hw queue 0 for WME_AC_BK traffic > ath0: Use hw queue 2 for WME_AC_VI traffic > ath0: Use hw queue 3 for WME_AC_VO traffic > ath0: Use hw queue 8 for CAB traffic > ath0: Use hw queue 9 for beacons > ath0: using multicast key search > pci4: driver added > pci5: driver added > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Ivan Zaera http://www.factoria2.com/desde/correo