laptop-discuss@opensolaris.org
[Top] [All Lists]

Re: [laptop-discuss] Anyone know how to enable debug for the atheros bin

Subject: Re: [laptop-discuss] Anyone know how to enable debug for the atheros binary?
From: "Ben Taylor"
Date: Fri, 25 Jul 2008 18:21:45 -0400
On Fri, Jul 25, 2008 at 5:48 PM, Bernie Harris <bernieh@xxxxxxxxxxx> wrote:
> Wang Lin wrote:
>> Ben Taylor ??:
>>
>>>>Bernie Harris On 02/19/08 04:30 wrote:
>>>>
>>>>
>>>>>After plumbing the device, "wificonfig -i ath0
>>>>>
>>>>
>>>>scan" shows no networks
>>>>
>>>>
>>>>>(prints header line and no errors).  My AP is
>>>>>
>>>>
>>>>working (with windows) and
>>>>
>>>>
>>>>>there should be 4-5 APs in range.  The results are
>>>>>
>>>>
>>>>the same if the wifi
>>>>
>>>>
>>>>>button is pushed.  And of course, "wificonfig -i
>>>>>
>>>>
>>>>ath0 connect profile"
>>>>
>>>>
>>>>>fails with "wificonfig: failed to connect to essid
>>>>>
>>>>
>>>>'profile'" (no other
>>>>
>>>>
>>>>>error messages).  This all worked fine for about a
>>>>>
>>>>
>>>>year before upgrading
>>>>
>>>>
>>>>>to S10 8/07.  dtracing entry and exit from every
>>>>>
>>>>
>>>>ath routine generates a
>>>>
>>>>
>>>>>large file quickly but I don't know enough about
>>>>>
>>>>
>>>>how the driver is
>>>>
>>>>
>>>>>suppose to work to get anything from the file.
>>>>>
>>>>
>>>>What's the output of "prtconf -v"?
>>>>
>>>
>>>Just downgraded a system that was running SXCE B85
>>>and the ath driver (flawless) to S10U5.
>>>
>>>I am pretty disappointed to see that this again doesn't
>>>work.  I've been using this card for over 3 years now
>>>and previously, versions of 10 and ath were functional.
>>>I've recovered my inetmenu settings and nothing
>>>seems to help.
>>>
>>>Thoughts?
>>>
>>>Ben
>>>
>>>pci bus 0x0007 cardnum 0x01 function 0x00: vendor 0x168c device 0x0013
>>> Atheros Communications, Inc. AR5212/AR5213 Multiprotocol MAC/baseband 
>>> processor
>>> CardVendor 0x1186 card 0x3a13 (D-Link System Inc D-Link AirPlus DWL-G520 
>>> Wireless PCI Adapter(rev.B))
>>>  STATUS    0x0290  COMMAND 0x0006
>>>  CLASS     0x02 0x00 0x00  REVISION 0x01
>>>  BIST      0x00  HEADER 0x00  LATENCY 0xa8  CACHE 0x10
>>>  BASE0     0xe2000000  addr 0xe2000000  MEM
>>>  MAX_LAT   0x1c  MIN_GNT 0x0a  INT_PIN 0x01  INT_LINE 0x0a
>>>
>>>
>>>This message posted from opensolaris.org
>>>_______________________________________________
>>>laptop-discuss mailing list
>>>laptop-discuss@xxxxxxxxxxxxxxx
>>>
>>
>> Hi Ben,
>>
>> I do find some issues about ath driver failed to work after system
>> updating, something must had been changed or damaged or gotten hosed up
>> when you had your system updated or installed some softwares but we
>> don't know what it was. Sounds a little disappointment, but we will
>> trying to have this problem solved ASAP.

I have been using SXCE for the last 8 months on this box, and the
card has been used with both S10 and SXCE over the last 3 years.
The only difference, I now realize is that this is a 64-bit box, and the
other ones have been 32-bit.

> I am still interested in having ath work on Solaris 10.

Ditto.

>> Please return me log files(/var/adm/messages) when plumbing,scanning &
>> connecting, suggest using "dalam" but "wificonfig".

dladm doesn't support wifi on S10, IIRC.

> The only /var/adm/messages I get occur when I plumb the device.  The
> messages are
>
> Jul 25 17:38:24 ferrari unix: [ID 954099 kern.info] NOTICE: IRQ21 is
> being shared by drivers with different interrupt levels.
> Jul 25 17:38:24 ferrari This may result in reduced system performance.
> Jul 25 17:38:24 ferrari gld: [ID 944156 kern.info] ath0: Atheros driver:
> type "ether" mac address 00:0b:6b:4f:ac:f0
> Jul 25 17:38:24 ferrari pci_pci: [ID 370704 kern.info] PCI-device:
> pci185f,1012@2, ath0
> Jul 25 17:38:24 ferrari genunix: [ID 936769 kern.info] ath0 is
> /pci@0,0/pci1002,4371@14,4/pci185f,1012@2

my device is also recognized.

Jul 25 10:51:47 q6600 gld: [ID 944156 kern.info] ath0: Atheros driver:
type "ether" mac address 00:0f:3d:a9:c1:67
Jul 25 10:51:47 q6600 pci_pci: [ID 370704 kern.info] PCI-device:
pci1186,3a13@1, ath0
Jul 25 10:51:47 q6600 genunix: [ID 936769 kern.info] ath0 is
/pci@0,0/pci8086,244e@1e/pci1186,3a13@1

> I know the shared interrupt message is not usually a problem but I
> wasn't getting it back on Solaris 10 11/06 when ath 0.5 worked.  Here is
> the interrupt configuration in case it helps
>
> ferrari $ echo ::interrupts | mdb -k
> IRQ  Vector IPL Bus   Type  CPU Share APIC/INT# ISR(s)
> 1    0x41   5   ISA   Fixed 0   1     0x0/0x1   i8042_intr
> 12   0x42   5   ISA   Fixed 0   1     0x0/0xc   i8042_intr
> 14   0x40   5   ISA   Fixed 0   1     0x0/0xe   ata_intr
> 15   0x43   5   ISA   Fixed 0   1     0x0/0xf   ata_intr
> 18   0x61   6   PCI   Fixed 0   1     0x0/0x12  bcme_intr
> 19   0x20   1   PCI   Fixed 0   3     0x0/0x13  ohci_intr, ohci_intr,
> ehci_intr
> 21   0x81   9   PCI   Fixed 0   3     0x0/0x15  acpi_wrapper_isr
> 23   0x60   6   PCI   Fixed 0   1     0x0/0x17  pcic_intr
> 208  0xd0   14        IPI   ALL 1     -         kcpc_hw_overflow_intr
> 209  0xd1   14        IPI   ALL 1     -         cbe_fire
> 240  0xe0   15        IPI   ALL 1     -         apic_error_intr

IRQ  Vector IPL Bus   Type  CPU Share APIC/INT# ISR(s)
9    0x81   9   PCI   Fixed 1   1     0x0/0x9   acpi_wrapper_isr
16   0x82   9   PCI   Fixed 3   1     0x0/0x10  nv_intr
17   0x20   1   PCI   Fixed 0   2     0x0/0x11  uhci_intr, ehci_intr
18   0x22   1   PCI   Fixed 1   2     0x0/0x12  uhci_intr, uhci_intr
19   0x83   9   PCI   Fixed 1   2     0x0/0x13  hci1394_isr, uhci_intr
21   0x40   5   PCI   Fixed 2   2     0x0/0x15  uhci_intr, ahci_intr
22   0x61   6   PCI   Fixed 3   1     0x0/0x16  ieee80211_gld_intr
23   0x21   1   PCI   Fixed 0   2     0x0/0x17  uhci_intr, ehci_intr
24   0x60   6         MSI   2   1     -         e1000g_intr_pciexpress
160  0xa0   0         IPI   ALL 0     -         poke_cpu
192  0xc0   13        IPI   ALL 1     -         xc_serv
208  0xd0   14        IPI   ALL 1     -         kcpc_hw_overflow_intr
209  0xd1   14        IPI   ALL 1     -         cbe_fire
210  0xd3   14        IPI   ALL 1     -         cbe_fire
240  0xe0   15        IPI   ALL 1     -         xc_serv
241  0xe1   15        IPI   ALL 1     -         apic_error_intr

>> Finally, just a suggention, a fresh install may help you, although it
>> means that you have to get everything working again :-)
>
> I did a fresh install and it didn't help.

Same here. S10U5 plus patches.

Ben
_______________________________________________
laptop-discuss mailing list
laptop-discuss@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>