From patchwork Sun Feb 18 23:03:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: anton@picapica.im X-Patchwork-Id: 10226981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 851D9602CB for ; Sun, 18 Feb 2018 23:03:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73CFD2869F for ; Sun, 18 Feb 2018 23:03:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6821428886; Sun, 18 Feb 2018 23:03:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A38882869F for ; Sun, 18 Feb 2018 23:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751642AbeBRXDS (ORCPT ); Sun, 18 Feb 2018 18:03:18 -0500 Received: from picapica.im ([88.198.95.67]:51470 "EHLO picapica.im" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbeBRXDS (ORCPT ); Sun, 18 Feb 2018 18:03:18 -0500 Received: by picapica.im (Postfix, from userid 1001) id C767DBE4D8; Mon, 19 Feb 2018 00:03:16 +0100 (CET) Date: Mon, 19 Feb 2018 00:03:16 +0100 From: anton@picapica.im To: linux-wpan@vger.kernel.org Subject: [PATCH] website: Add troubleshooting section in how-tos Message-ID: <20180218230316.GA8719@picapica.im> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some hints about issues related to SPI bus. Signed-off-by: Anton Sviridenko --- website/index.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/website/index.txt b/website/index.txt index 9fd149e..6d9fe88 100644 --- a/website/index.txt +++ b/website/index.txt @@ -135,6 +135,21 @@ ip netns exec wpan0 ping6 ff02::1%lowpan0 Now watch wireshark and all the nice ICMP packets there. +Troubleshooting +~~~~~~~~~~~~~~~ +If you have issues with transceiver connected to SPI bus, check first +if wiring is correct and SPI controller is properly configured. Try to +decrease SPI clock frequency. Messages like these ones in dmesg output +could indicate problems with SPI connection: + +--------------------------------------------------------------------- +at86rf230 spi32765.0: unexcept state change from 0x01 to 0x08. Actual state: +0x01 +WARNING: CPU: 0 PID: 61 at drivers/net/ieee802154/at86rf230.c:696 0xc0442644 +received tx trac status 4 +--------------------------------------------------------------------- + + Sniffing ~~~~~~~~