Hey, not sure if i should ask here, but here goes: i tried using the madwifi-trace and the madwifi-trace.sh, but I'm getting errors:
I can't seem to write into the /proc/sys/dev/ath/hal/ directory, The error: [EMAIL PROTECTED] ~]# echo 1 > /proc/sys/dev/ath/hal/alq bash: echo: write error: Cannot allocate memory The /proc/sys/dev/ath/debug and others are fine. [EMAIL PROTECTED] trace]# ./mad-trace.sh running ath_info -d 0x90080000... ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> sta-mode1-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode sta' -> sta-mode1-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 1' -> sta-mode1-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> sta-mode1-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 36' -> sta-mode1-5-chan36.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 40' -> sta-mode1-6-chan40.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 44' -> sta-mode1-7-chan44.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 48' -> sta-mode1-8-chan48.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> sta-mode1-9-ifdown.log Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> sta-mode2-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode sta' -> sta-mode2-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 2' -> sta-mode2-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> sta-mode2-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> sta-mode2-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> sta-mode2-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> sta-mode2-7-ifdown.log Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> sta-mode3-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode sta' -> sta-mode3-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 3' -> sta-mode3-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> sta-mode3-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> sta-mode3-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> sta-mode3-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> sta-mode3-7-ifdown.log Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> ap-mode1-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode ap' -> ap-mode1-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 1' -> ap-mode1-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> ap-mode1-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 36' -> ap-mode1-5-chan36.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 40' -> ap-mode1-6-chan40.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 44' -> ap-mode1-7-chan44.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 48' -> ap-mode1-8-chan48.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> ap-mode1-9-ifdown.log Unloading "ath_pci" Unloading "ath_pci" Unloading "wlan_scan_ap" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> ap-mode2-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode ap' -> ap-mode2-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 2' -> ap-mode2-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> ap-mode2-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> ap-mode2-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> ap-mode2-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> ap-mode2-7-ifdown.log Unloading "ath_pci" Unloading "ath_pci" Unloading "wlan_scan_ap" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> ap-mode3-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode ap' -> ap-mode3-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 3' -> ap-mode3-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> ap-mode3-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> ap-mode3-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> ap-mode3-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> ap-mode3-7-ifdown.log Unloading "ath_pci" Unloading "ath_pci" Unloading "wlan_scan_ap" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> adhoc-mode1-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode adhoc' -> adhoc-mode1-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 1' -> adhoc-mode1-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> adhoc-mode1-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 36' -> adhoc-mode1-5-chan36.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 40' -> adhoc-mode1-6-chan40.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 44' -> adhoc-mode1-7-chan44.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 48' -> adhoc-mode1-8-chan48.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> adhoc-mode1-9-ifdown.log Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> adhoc-mode2-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode adhoc' -> adhoc-mode2-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 2' -> adhoc-mode2-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> adhoc-mode2-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> adhoc-mode2-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> adhoc-mode2-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> adhoc-mode2-7-ifdown.log Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'modprobe ath_pci autocreate=none' -> adhoc-mode3-1-modprobe.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'wlanconfig ath0 create wlandev wifi0 wlanmode adhoc' -> adhoc-mode3-2-wlanconfig.log ath0 ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwpriv ath0 mode 3' -> adhoc-mode3-3-set-mode.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 up' -> adhoc-mode3-4-ifup.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 1' -> adhoc-mode3-5-chan1.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'iwconfig ath0 channel 6' -> adhoc-mode3-6-chan6.log ./mad-trace.sh: line 11: echo: write error: Cannot allocate memory 'ifconfig ath0 down' -> adhoc-mode3-7-ifdown.log Unloading "ath_pci" Unloading "ath_pci" Unloading "wlan_scan_sta" Unloading "ath_rate_sample" Unloading "wlan" Unloading "ath_hal" tar: Removing leading `/' from member names /tmp/mad-trace/ /tmp/mad-trace/ath_info.log /tmp/mad-trace/sta-mode1-1-modprobe.log /tmp/mad-trace/sta-mode3-1-modprobe.log /tmp/mad-trace/sta-mode3-3-set-mode.log /tmp/mad-trace/adhoc-mode2-7-ifdown.log /tmp/mad-trace/ap-mode1-9-ifdown.log /tmp/mad-trace/adhoc-mode3-1-modprobe.log /tmp/mad-trace/ap-mode2-5-chan1.log /tmp/mad-trace/sta-mode1-3-set-mode.log /tmp/mad-trace/ap-mode2-1-modprobe.log /tmp/mad-trace/sta-mode1-7-chan44.log /tmp/mad-trace/ap-mode2-4-ifup.log /tmp/mad-trace/ap-mode2-6-chan6.log /tmp/mad-trace/ap-mode3-5-chan1.log /tmp/mad-trace/adhoc-mode1-6-chan40.log /tmp/mad-trace/ap-mode3-3-set-mode.log /tmp/mad-trace/ap-mode3-4-ifup.log /tmp/mad-trace/adhoc-mode2-3-set-mode.log /tmp/mad-trace/ap-mode3-1-modprobe.log /tmp/mad-trace/ap-mode1-4-ifup.log /tmp/mad-trace/ap-mode3-7-ifdown.log /tmp/mad-trace/sta-mode1-6-chan40.log /tmp/mad-trace/adhoc-mode2-5-chan1.log /tmp/mad-trace/adhoc-mode1-2-wlanconfig.log /tmp/mad-trace/adhoc-mode1-7-chan44.log /tmp/mad-trace/sta-mode2-2-wlanconfig.log /tmp/mad-trace/adhoc-mode2-6-chan6.log /tmp/mad-trace/adhoc-mode1-8-chan48.log /tmp/mad-trace/sta-mode1-4-ifup.log /tmp/mad-trace/ap-mode1-6-chan40.log /tmp/mad-trace/adhoc-mode1-9-ifdown.log /tmp/mad-trace/adhoc-mode3-2-wlanconfig.log /tmp/mad-trace/adhoc-mode1-1-modprobe.log /tmp/mad-trace/ap-mode1-7-chan44.log /tmp/mad-trace/ap-mode3-6-chan6.log /tmp/mad-trace/adhoc-mode3-6-chan6.log /tmp/mad-trace/ap-mode2-7-ifdown.log /tmp/mad-trace/adhoc-mode2-1-modprobe.log /tmp/mad-trace/ap-mode2-2-wlanconfig.log /tmp/mad-trace/ap-mode2-3-set-mode.log /tmp/mad-trace/sta-mode3-4-ifup.log /tmp/mad-trace/sta-mode1-9-ifdown.log /tmp/mad-trace/sta-mode3-2-wlanconfig.log /tmp/mad-trace/sta-mode3-7-ifdown.log /tmp/mad-trace/adhoc-mode2-4-ifup.log /tmp/mad-trace/ap-mode1-8-chan48.log /tmp/mad-trace/adhoc-mode1-4-ifup.log /tmp/mad-trace/sta-mode2-7-ifdown.log /tmp/mad-trace/sta-mode1-8-chan48.log /tmp/mad-trace/sta-mode2-3-set-mode.log /tmp/mad-trace/sta-mode2-5-chan1.log /tmp/mad-trace/ap-mode1-1-modprobe.log /tmp/mad-trace/adhoc-mode1-3-set-mode.log /tmp/mad-trace/sta-mode2-6-chan6.log /tmp/mad-trace/sta-mode2-4-ifup.log /tmp/mad-trace/sta-mode2-1-modprobe.log /tmp/mad-trace/ap-mode1-3-set-mode.log /tmp/mad-trace/ap-mode1-2-wlanconfig.log /tmp/mad-trace/sta-mode3-5-chan1.log /tmp/mad-trace/ap-mode1-5-chan36.log /tmp/mad-trace/ap-mode3-2-wlanconfig.log /tmp/mad-trace/adhoc-mode3-7-ifdown.log /tmp/mad-trace/adhoc-mode3-3-set-mode.log /tmp/mad-trace/sta-mode3-6-chan6.log /tmp/mad-trace/adhoc-mode2-2-wlanconfig.log /tmp/mad-trace/sta-mode1-2-wlanconfig.log /tmp/mad-trace/adhoc-mode3-4-ifup.log /tmp/mad-trace/ath-eeprom-dump.bin /tmp/mad-trace/sta-mode1-5-chan36.log /tmp/mad-trace/adhoc-mode1-5-chan36.log /tmp/mad-trace/adhoc-mode3-5-chan1.log dmesg: ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133) alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup wlan: 0.8.4.2 (svn r2809) ath_pci: 0.9.4.5 (svn r2809) ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [C0C8] -> GSI 11 (level, low) -> IRQ 11 mmio: __ioremap(0x90080000, 0x10000, 0x0) mmio: registering probe for 90080000-90090000 mmio: register done ath_pci: switching rfkill capability off ath_rate_sample: 1.2 (svn r2809) ath_pci: switching per-packet transmit power control off wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 5.6 phy 4.1 5 GHz radio 1.7 2 GHz radio 2.3 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=0x90080000, irq=11 ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled alq_open: no memory for alq entbuf ath_hal: logging to /tmp/ath_hal.log could not be setup ath_hal: logging disabled mmio: Unmap e0f20000 done ACPI: PCI interrupt for device 0000:02:04.0 disabled ath_pci: driver unloaded ath_pci: 0.9.4.5 (svn r2809) ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [C0C8] -> GSI 11 (level, low) -> IRQ 11 mmio: __ioremap(0x90080000, 0x10000, 0x0) mmio: registering probe for 90080000-90090000 mmio: register done ath_pci: switching rfkill capability off ath_pci: switching per-packet transmit power control off wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 5.6 phy 4.1 5 GHz radio 1.7 2 GHz radio 2.3 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=0x90080000, irq=11 mmio: Unmap e0f20000 done ACPI: PCI interrupt for device 0000:02:04.0 disabled ath_pci: driver unloaded ath_rate_sample: unloaded wlan: driver unloaded ath_hal: driver unloaded On 10/30/07, bruno randolf <[EMAIL PROTECTED]> wrote: > hello! > > i have just created a madwifi branch prepared for tracing > (madwifi/branches/madwifi-trace) and checked in my scripts to make tracing > easier. so getting register traces is really easy now. > > it's all documented here: > http://madwifi.org/wiki/DevDocs/MadwifiTrace > > i uploaded the trace information for 5213 and 5414 chipsets if someone is > interrested: > > http://br1.einfach.org/ath/5213-mad-trace.tgz > http://br1.einfach.org/ath/5414-mad-trace.tgz > > bruno > > On Saturday 20 October 2007 04:55:18 Luis R. Rodriguez wrote: > > We have initial support for AR5210s (still needs work), AR5211 and > > AR5212. To add support for other hardware we'll need register dumps of > > the HAL. Fortunately we have a way to do this. It's still hard to > > figure out what we're supposed to do but at least we can get the some > > idea of what to do this way. > > > > Below are instructions, you can find later instructions on the URL: > > > > http://kernel.org/pub/linux/kernel/people/mcgrof/madwifi-regdumps/README > > > > MadWifi HAL Register dumping > > ---------------------------- > > > > You can use these instructions to get register dumps of HAL register > > reads and writes. For this we build the alq and mmio trap modules and > > make some use of them. > > > > This is based on patches and information from: > > > > http://madwifi.org/ticket/1380 > > http://nouveau.freedesktop.org/wiki/MmioTrace > > > > -- Steps to take --- > > > > 0. Get MadWifi svn trunk, patches, pach up and build: > > > > svn export http://svn.madwifi.org/madwifi/trunk trunk > > wget > > http://kernel.org/pub/linux/kernel/people/mcgrof/madwifi-regdumps/alq.diff > > wget > > http://kernel.org/pub/linux/kernel/people/mcgrof/madwifi-regdumps/mmio.diff > > wget > > http://kernel.org/pub/linux/kernel/people/mcgrof/madwifi-regdumps/var.diff > > > > cd trunk/ > > patch -p1 < ../alq.patch > > patch -p1 < ../mmio.patch > > patch -p1 < ../var.diff > > > > make ALQ=1 MMIOTRACE=1 > > > > 1. Alter the ath_pci.ko module with this command and then install modules: > > > > mv ath/ath_pci.ko ath/ath_pci.ko.old > > objcopy --redefine-sym __ioremap=__ioremap_trace --redefine-sym \ > > iounmap=iounmap_trace --redefine-sym \ > > ioremap_nocache=ioremap_nocache_trace \ > > ath/ath_pci.ko.old ath/ath_pci.ko > > > > sudo make install ALQ=1 MMIOTRACE=1 > > > > 2. Load mmio, alq, ath_hal > > > > sudo modprobe mmio > > sudo modprobe alq > > sudo modprobe ath_hal > > > > 3. Proc stuff: > > > > sudo su - > > echo 2 > /proc/sys/dev/ath/hal/debug > > echo 1 > /proc/sys/dev/ath/hal/alq > > > > 4. Load ath_pci > > > > modprobe ath_pci > > > > 5. Check reg dump file exists > > > > ls -l /tmp/ath_hal.log > > > > As you do things with the driver it should increase in size: > > > > [EMAIL PROTECTED]:~# wc -l /tmp/ath_hal.log > > 14236 /tmp/ath_hal.log > > > > [EMAIL PROTECTED]:~# iwconfig wlan3 > > wlan3 IEEE 802.11b ESSID:"" Nickname:"" > > Mode:Managed Channel:0 Access Point: Not-Associated > > Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=1/1 > > Retry:off RTS thr:off Fragment thr:off > > Encryption key:off > > Power Management:off > > Link Quality=0/70 Signal level=-256 dBm Noise level=-256 dBm > > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 > > > > [EMAIL PROTECTED]:~# wc -l /tmp/ath_hal.log > > 14425 /tmp/ath_hal.log > > > > 6. Parse the regdump stuff, it looks nasty: > > > > perl -pe 's,\x00,,g' < /tmp/ath_hal.log > /tmp/ath_hal.log.txt > > > > In the end you should see lines like this: > > > > R:0x04004 = 0x00010000 - unknown > > W:0x04004 = 0x00000000 - unknown > > R:0x04010 = 0x00010014 - unknown > > R:0x04004 = 0x00000000 - unknown > > W:0x04004 = 0x00000000 - unknown > > ... > > > > -- Sending dumps -- > > > > Please feel free to post dumps of hardware to ath5k-devel@lists.ath5k.org > > > > In doing so you should also provide ath_info dump: > > > > cd trunk/tools > > make > > lspci -v > > # look for the line like: > > # Memory at b8000000 (32-bit, non-prefetchable) [size=64K] > > # for your card, put 0x in front of it as and fun ath_info with it: > > sudo ./ath_info 0xb8000000 > > > > You should get something like: > > > > --- > > > > -==Device Information==- > > MAC Version: 5212 (0x50) > > MAC Revision: 5213A(0x59) > > PHY Revision: 5112a(0x36) > > -==EEPROM Information==- > > EEPROM Version: 5.2 > > EEPROM Size: 16K > > Regulatory Domain: 0x10 > > -==== Capabilities ====- > > > > | 802.11a Support: yes | > > | 802.11b Support: yes | > > | 802.11g Support: yes | > > | RFKill Support: no | > > | 32KHz Crystal: yes | > > > > ======================== > > GPIO registers: CR 00000000 DO 00000000 DI 00000000 > > > > --- > > > > Other tips: > > > > If you are sending dumps please add stuff to the regdump which > > indicates what you did to trigger a section of reg reads/writes. > > > > The dumps can be pretty big so please compress the file with bzip2. If > > you can host the file somewhere and just send us the URL that may > > help. > > > > Luis > > _______________________________________________ > > ath5k-devel mailing list > > ath5k-devel@lists.ath5k.org > > https://lists.ath5k.org/mailman/listinfo/ath5k-devel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Madwifi-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/madwifi-devel > _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel