Search Linux Wireless

Re: b43: Debugging PHY TX errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 24, 2008 at 1:30 PM, Michael Buesch <mb@xxxxxxxxx> wrote:
> I hacked up some scripts for debugging of the PHY transmission
> errors. It consists of two parts. One patch that has to be applied
> to the kernel driver (latest wireless-testing!) and one firmware
> binary patcher script (for latest supported firmware only!)
>
> Both are included in the attached tarball. Extract the tarball.
>
> So you first have to apply the included "b43-kernel-patch.patch" to
> the kernel driver and recompile your kernel.
> Then you have to patch your firmware by doing:
>
> cd phyerr-patcher-001
> bash ./patch-phyerr-logger.sh /lib/firmware/b43/ucode5.fw
>
> You might have to adjust the path to your firmware.
> On successful patching, the script will exit with a nice smilie: :)
>
>
> So when running the modified driver with the patched firmware, it should
> dump the shared memory every time a PHY error occurs.
> More state dumps can be added to the kernel driver. The firmware is halted
> while the phyerr logger function is running, so state should be consistent.
>
> WARNING: This patch might kill your cat, or at least disturb your wireless
> connectivity. Only use it for debugging the PHY transmission errors.
>
> Note that these scripts require a complete compiler toolchain, including
> flex and bison, on your machine, as it will compile the assembler and
> disassembler tools.
>
> --
> Greetings Michael.

Please add this functionality to the open-source firmware too.

--Gábor

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux