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: [root@exp0 ~]# 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. [root@exp0 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 <bruno@thinktube.com> wrote:------------------------------------------------------------------------- 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 Madwifi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/madwifi-devel
| Mariusz Kozlowski | [PATCH 01] kmalloc + memset conversion co kzalloc |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
