On Sun, Nov 04, 2007 at 06:30:20PM -0500, Pavel Roskin wrote: > Hello! > > On Sun, 2007-11-04 at 21:11 +0000, Mark Hindley wrote: > > Hi, > > > > I have just had a first attempt with ath5k driver. > > > > Compiled svn 2826 against 2.6.24-rc1 (latest git) > > > > I get the following messages/error on loading > > It's strange that no functions from the driver appear in the trace. It > looks like some userspace program tries to rename the interface to ath0. > > Please make sure that you have no MadWifi modules installed. Check that > you don't have and interface called ath0 already. If you are running > Fedora, check if you have any rules > in /etc/sysconfig/network-scripts/ifcfg-* with the MAC address of the > card. Also see /etc/udev/rules.d/70-persistent-net.rules if you have it > for the rules that could cause udev to rename the device.
Thanks. I am running Debian so some of the file names are a bit different, but udev was the problem > First please fix the sysfs problem. If "unable to reset hardware" > persists, perhaps you should consider making a trace for your device: > http://madwifi.org/wiki/DevDocs/MadwifiTrace The ath5k module now loads and finds the card, but still "unable to reset hardware" Nov 5 03:01:36 mercury kernel: pccard: CardBus card inserted into slot 0 Nov 5 03:01:36 mercury kernel: PCI: Enabling device 0000:02:00.0 (0000 -> 0002) Nov 5 03:01:36 mercury kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5 Nov 5 03:01:36 mercury kernel: phy1: Selected rate control algorithm 'simple' Nov 5 03:01:36 mercury kernel: ath5k_pci 0000:02:00.0: AR5212 chip found: mac 7.8 phy 4.5 Nov 5 03:01:36 mercury kernel: wlan0: Trigger new scan to find an IBSS to join Nov 5 03:01:36 mercury kernel: unable to reset hardware: -22 Nov 5 03:01:36 mercury kernel: unable to reset hardware: -22 > > Unfortunately, madwifi-trace won't compile against Linux 2.6.24-rc1 due > to kprobe changes, but Linux 2.6.23 should work. I have run madwifi-trace under 2.6.23. The .tgz seems a bit big to post! It is available at www.hindley.org.uk/~mark/5213A-mad-trace.tgz Let me know if there is anything else that will help. Mark _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel