From owner-freebsd-ppc@freebsd.org Thu Mar 9 12:32:57 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FC9DCFBB7B for ; Thu, 9 Mar 2017 12:32:57 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D26C5A4F for ; Thu, 9 Mar 2017 12:32:56 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-ot0-x22a.google.com with SMTP id x37so55387850ota.2 for ; Thu, 09 Mar 2017 04:32:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qrOYsdXfeCByK8GhGd3zt+dXYvlsyH0rn7XWZ0EpCxY=; b=Ed2Z1uBoS5iZLlNm+vM1HGmlHqvLhi61WTetufbGTB6R8bJKScJSvFAR3fuNjkzPWf En13lnl/XyZvlcYxkdjjBvClPSYQgreM2xmvAdokqgHOUie+p/ImpT+YSXj3uyaARTio rOg4aAxHOpvodk/w+saBFhpnadoiHknekyC0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qrOYsdXfeCByK8GhGd3zt+dXYvlsyH0rn7XWZ0EpCxY=; b=Z+wyga5RUCSPPTrdEb3d8Ih84zEohhjq1BPndwPZDl7SnZHxMTuazVWIIruwz5scvK pn9JqMMLCqgRgLj4fkQt14F+BGRXR9YHd4uAh1/NisDuoYdGjCaE82SwfcsYQ9ptrekv kRLbBESP3yqJI9vX7xSyYstvqWo/Uyaj8mTIsc2DUT/7uOuamQYVNxP2UKxv3nvAEstN qhyHDOX9fXbDU4Ypxzam9VZoogTkPqHFhsmGsPNHA2flH2ZKUkMsKkeTZHyodgXYacPg YqG/ost4KEINkzAPeN/O5Pw3bKzR90heoUuD57Z1CZ6NYMA7gBX6PEKiai0Hlf4/t6Nn 2J8A== X-Gm-Message-State: AMke39muuO0jKsb9S1VENpTn2vz4zWahxoxXTxLzFWOSLW4WxoUBWrsI7BcmDlNZDGI6HS0NJa3VOdbCR0Y0EA== X-Received: by 10.157.19.15 with SMTP id f15mr6208605ote.168.1489062776023; Thu, 09 Mar 2017 04:32:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.23.208 with HTTP; Thu, 9 Mar 2017 04:32:55 -0800 (PST) In-Reply-To: <10cc06b8-baa5-4f56-a352-a68d0c22639a@fgznet.ch> References: <23b491c4-8d10-5ce0-08dc-b2dbab2540c7@fgznet.ch> <10cc06b8-baa5-4f56-a352-a68d0c22639a@fgznet.ch> From: Kevin Bowling Date: Thu, 9 Mar 2017 05:32:55 -0700 Message-ID: Subject: Re: iflib em/igb on -CURRENT To: Andreas Tobler Cc: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 12:32:57 -0000 Hi, Can you share the ofw commands you use to boot? I have a p505q I will use to debug this. We have to defer interrupts until a handler is registered. Regards, Kevin On Wed, Mar 8, 2017 at 2:28 PM, Andreas Tobler wrote: > On 08.03.17 13:36, Kevin Bowling wrote: > >> Ok, this branch is working on SPARC64 now. It ought to be on PPC(64) as >> well if you can test. >> > .. > em0: port 0xef800-0xef83f mem > 0xf0120000-0xf013ffff,0xf00c0000-0xf00fffff irq 50331928 at device 1.0 on > pci9 > em0: attach_pre capping queues at 1 > em0: using 1024 tx descriptors and 1024 rx descriptors > em0: allocated for 1 tx_queues > em0: allocated for 1 rx_queues > em0: Ethernet address: 00:14:5e:96:19:30 > em1: port 0xefc00-0xefc3f mem > 0xf0100000-0xf011ffff,0xf0040000-0xf007ffff irq 50331929 at device 1.1 on > pci9 > em1: attach_pre capping queues at 1 > em1: using 1024 tx descriptors and 1024 rx descriptors > em1: allocated for 1 tx_queues > em1: allocated for 1 rx_queues > em1: Ethernet address: 00:14:5e:96:19:31 > .... > > Unregistered interrupt occured! Interrupt source = 115 > DEFAULT CATCH!, throw-code=500 > > Call History > ------------ > throw - 203903c > catch - 2038fe8 > (highlevel-int-handler) - 204fbb4 > (poplocals) - 203a758 > (highlevel-int-handler - 2038cb0 > cicall - 207fc0c > cientry - 2039ac4 > > My Fix Pt Regs: > 00 0000000000000000 0000000000000000 00000000deadbeef 000000000204fbb0 > 04 0000000002014f80 0000000002ffd9c8 0000000000003002 0000000002003010 > 08 0000000010000000 00000000ffffff80 ffffffffffffff80 0000000000000080 > 0c 0000000022000044 0000000001148920 0000000000000000 0000000000000000 > 10 000000000225b558 000000000225b558 000000000204fbb4 0000000002038fe8 > 14 0000000000000500 0000000000000005 0000000000000000 0000000000000000 > 18 0000000002013000 0000000002038000 0000000002014fc0 0000000002016f80 > 1c 0000000002020000 000000000203fdf0 0000000002011fc8 0000000002010ff8 > Special Regs: > %IV: 00000900 %CR: 82808042 %XER: 20000005 %DSISR: 02200000 > %SRR0: 0000000002039af0 %SRR1: 800000000000b002 > %LR: 0000000002046c50 %CTR: 0000000000000006 > %DAR: c000000000021df8 > PFW: Unable to send error log! > > > >