From owner-freebsd-mips@freebsd.org Thu Aug 25 16:31:29 2016 Return-Path: Delivered-To: freebsd-mips@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 50ECDBC55F0 for ; Thu, 25 Aug 2016 16:31:29 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 D2E45155B for ; Thu, 25 Aug 2016 16:31:28 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id q128so246454040wma.1 for ; Thu, 25 Aug 2016 09:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7NnULaWYmgR9Czdwc1oq/PKSUJOoBpi2RnXUFPGMzBI=; b=IMHpy/C4UPuHO6n/JfoPijznROoLGmr6orr+d6i7imfkYaEmyn6k2zLqbhErnXQo7U ET5GMwlCXTPPckNSG7QY3OiOwiysXsbCwlNIdwcR9bZgIOFjBIBZOKpVznBL10I+245s qzQ8GJDpnfJnpS1iR0Lr5pfpXVbGAd6U1y1sKTIXnwmBRVGcsTDJV1yV6lgdewZ3HPZI hwRWp5kEnYr6o69KY1vbX9txI5oATq8yH5OX7vc4WOuuOaHsd1YKC3OxAmEUc07lfSw7 Zbx13lmPn2c0SP1nIBwLaiJfVLxTSY9gq4mfc/MsiOHDp665T6hHbsNy2VIgJ2QdmprG QWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7NnULaWYmgR9Czdwc1oq/PKSUJOoBpi2RnXUFPGMzBI=; b=msBz/b+tOaEetmrPfv3Qf21FdP+CdVYzpN3m7rOc5sRqKifqZIQ9KSq34x+zBpeoLz omUcyW+NZdK9HxC3z4+ymPXckqIFKcICjdFa5NG3c8sm0Ti8HkSxaPpnLiFw+Zo2oCas TlJOUAC68t7uWXsANYoYYjczuYvu1GWjGiHe7kH0wsilTVZ4e29wyly2usk5BLePE8DY r42YDjKqndZMP7LhhOsSpqb6uujspsXFP6hA3W09o0nRQIB8digfgHNyHUKIrqqWrkur NY6z+tp6Ft3DpY8f/mj7GsWdvPdt1Jo6PccK368/eV0CZ1+AzjBKg3uUrkb3pdhmL3cA AQ9g== X-Gm-Message-State: AEkooushXGIQx8WR15y8zFqfor8SFxA3jG51tSyhCfvxt77o6DtbE55urm3hrQJyivVDSg== X-Received: by 10.28.27.143 with SMTP id b137mr31331145wmb.12.1472142686379; Thu, 25 Aug 2016 09:31:26 -0700 (PDT) Received: from [10.178.69.145] (85-118-92-24.mtel.net. [85.118.92.24]) by smtp.gmail.com with ESMTPSA id n2sm15932944wjd.1.2016.08.25.09.31.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Aug 2016 09:31:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: sys/mips/mediatek kernel crash on RT3050 From: Stanislav Galabov X-Mailer: iPhone Mail (12B440) In-Reply-To: Date: Thu, 25 Aug 2016 19:31:21 +0300 Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <81B9B540-B1CB-406F-9F51-FDBDB451B4FC@gmail.com> References: <705503.18629.qm@web101707.mail.ssk.yahoo.co.jp> To: Adrian Chadd X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2016 16:31:29 -0000 Hi all, I am currently on vacation and will be back next week. I guess I'll find som= e time to look at this then if needed. Best wishes, Stanislav > On Aug 25, 2016, at 18:25, Adrian Chadd wrote: >=20 > Hm, does it require INTRNG these days? >=20 >=20 > -a >=20 >=20 >> On 24 August 2016 at 18:11, Mori Hiroki wrote: >> Hi >>=20 >> I build sys/mips/mediatek for RT3050 box at few days before head. >>=20 >> This kernel crash. >>=20 >> This build based on rt3050.dtsi. >>=20 >> Some one know this problem ? >>=20 >> Thanks. >>=20 >> Starting kernel ... >>=20 >> FDT DTB at: 0x802ce6f0 >> CPU clock: 320MHz >> Timer clock: 160MHz >> UART clock: 106MHz >>=20 >> U-Boot args (from 0 args): >> None >> Environment: >> entry: mips_init() >> RAM size: 32MB (assumed) >> Cache info: >> picache_stride =3D 4096 >> picache_loopcount =3D 8 >> pdcache_stride =3D 4096 >> pdcache_loopcount =3D 4 >> cpu0: MIPS Technologies processor v76.150 >> MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)= >> L1 i-cache: 4 ways of 256 sets, 32 bytes per line >> L1 d-cache: 4 ways of 128 sets, 32 bytes per line >> L2 cache: disabled >> Config1=3D0xbea3319e >> Config2=3D0x80000000 >> Config3=3D0x420 >> Physical memory chunk(s): >> 0x334000 - 0x1ffffff, 30195712 bytes (7372 pages) >> Maxmem is 0x2000000 >> Copyright (c) 1992-2016 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 12.0-CURRENT #1 ed1832a(zrouter): Sun Aug 21 12:19:54 JST 2016 >> hiroki@microserver:/storage/home/hiroki/obj/storage/home/hiroki/zroute= r/tmp/ >> mips.mipsel/storage/home/hiroki/freebsd/sys/Fon_FON2305E_FDT mips >> gcc version 4.2.1 20070831 patched [FreeBSD] >> Preloaded elf kernel "kernel" at 0x8032afb0. >> real memory =3D 33554432 (32768K bytes) >> Physical memory chunk(s): >> 0x003c0000 - 0x01f3efff, 28831744 bytes (7039 pages) >> avail memory =3D 28397568 (27MB) >> ULE: setup cpu 0 >> random: entropy device external interface >> firmware: 'rt2860fw' version 0: 8192 bytes loaded at 0x802d86d0 >> firmware: 'rt2561fw' version 0: 8192 bytes loaded at 0x802d2550 >> firmware: 'rt2561sfw' version 0: 8192 bytes loaded at 0x802d45d0 >> wlan: <802.11 Link Layer> >> firmware: 'rt2661fw' version 0: 8192 bytes loaded at 0x802d6650 >> null: >> openfirm: >> mem: >> nexus0: >> random: harvesting attach, 8 bytes (4 bits) from nexus0 >> ofwbus0: on nexus0 >> palmbus0: mem 0x10000000-0x101fffff on ofwbus0 >> random: harvesting attach, 8 bytes (4 bits) from palmbus0 >> random: harvesting attach, 8 bytes (4 bits) from ofwbus0 >> cpupic0: on ofwbus0 >> random: harvesting attach, 8 bytes (4 bits) from cpupic0 >> sysc0: mem 0-0xff on palmbus0 >> random: harvesting attach, 8 bytes (4 bits) from sysc0 >> pinctrl0: on ofwbus0 >> pinctrl0: GPIO mode start: 0x0000029d >> Processing 1 pin-config node(s) in pinctrl-0 for spi@b00 >> Processing 1 pin-config node(s) in pinctrl-0 for uartlite@c00 >> Processing 1 pin-config node(s) in pinctrl-0 for pinctrl >> pinctrl0: GPIO mode end : 0x0000005d >> random: harvesting attach, 8 bytes (4 bits) from pinctrl0 >> rstctrl0: on ofwbus0 >> random: harvesting attach, 8 bytes (4 bits) from rstctrl0 >> clkctrl0: on ofwbus0 >> random: harvesting attach, 8 bytes (4 bits) from clkctrl0 >> intc0: mem 0x200-0x2ff irq 6 on palmbus0 >> random: harvesting attach, 8 bytes (4 bits) from intc0 >> gpio0: mem 0x600-0x633 irq 9 on palmbus0 >> gpiobus0: on gpio0 >> random: harvesting attach, 8 bytes (4 bits) from gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpio0 >> palmbus0: mem 0x100-0x11f irq 4 compat ralink,rt3050-timer (n= o drive >> r attached) >> palmbus0: mem 0x120-0x12f irq 5 compat ralink,rt3050-wdt (= no driv >> er attached) >> palmbus0: mem 0x300-0x3ff irq 7 compat ralink,rt3050-memc (no d= river >> attached) >> palmbus0: mem 0x500-0x5ff irq 8 disabled compat ralink,rt3050-= uart (n >> o driver attached) >> gpioled0: at pin 14 on gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpioled0 >> gpioled1: at pin 11 on gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpioled1 >> gpioled2: at pin 9 on gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpioled2 >> gpioled3: at pin 12 on gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpioled3 >> gpioc0: on gpio0 >> random: harvesting attach, 8 bytes (4 bits) from gpioc0 >> palmbus0: mem 0x638-0x65b disabled compat ralink,rt3050-gpio (= no driv >> er attached) >> palmbus0: mem 0x660-0x683 disabled compat ralink,rt3050-gpio (= no driv >> er attached) >> spi0: mem 0xb00-0xbff on palmbus0 >> spibus0: on spi0 >> mx25l0: at cs 0 mode 0 on spibus0 >> mx25l0: mx25ll64, sector 65536 bytes, 128 sectors >> random: harvesting attach, 8 bytes (4 bits) from mx25l0 >> random: harvesting attach, 8 bytes (4 bits) from spibus0 >> random: harvesting attach, 8 bytes (4 bits) from spi0 >> uart0: mem 0xc00-0xcff irq 10 on palmbus0 >> uart0: console (57971,n,8,1) >> uart0: fast interrupt >> uart0: PPS capture mode: DCDinvalid >> random: harvesting attach, 8 bytes (4 bits) from uart0 >> ofwbus0: compat ralink,rt3050-usbphy (no driver attached) >> rt0: mem 0x10100000-0x1010ffff irq= 0 on o >> fwbus0 >> rt0: RT305XF Ethernet MAC (rev 0x00000000) >> rt0: use hardcoded 00:18:e7:d5:83:90 macaddr >> rt0: bpf attached >> rt0: Ethernet address: 00:18:e7:d5:83:90 >> random: harvesting attach, 8 bytes (4 bits) from rt0 >> mtkswitch0: mem 0x10110000-0x10117fff irq 1 on ofwbus= 0 >> miibus0: on mtkswitch0 >> ukphy0: PHY 0 on miibus0 >> ukphy0: OUI 0x000c43, model 0x0001, rev. 7 >> ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> random: harvesting attach, 8 bytes (4 bits) from ukphy0 >> random: harvesting attach, 8 bytes (4 bits) from miibus0 >> miibus1: on mtkswitch0 >> ukphy1: PHY 1 on miibus1 >> ukphy1: OUI 0x000c43, model 0x0001, rev. 7 >> ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> random: harvesting attach, 8 bytes (4 bits) from ukphy1 >> random: harvesting attach, 8 bytes (4 bits) from miibus1 >> miibus2: on mtkswitch0 >> ukphy2: PHY 2 on miibus2 >> ukphy2: OUI 0x000c43, model 0x0001, rev. 7 >> ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> random: harvesting attach, 8 bytes (4 bits) from ukphy2 >> random: harvesting attach, 8 bytes (4 bits) from miibus2 >> miibus3: on mtkswitch0 >> ukphy3: PHY 3 on miibus3 >> ukphy3: OUI 0x000c43, model 0x0001, rev. 7 >> ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> random: harvesting attach, 8 bytes (4 bits) from ukphy3 >> random: harvesting attach, 8 bytes (4 bits) from miibus3 >> miibus4: on mtkswitch0 >> ukphy4: PHY 4 on miibus4 >> ukphy4: OUI 0x000c43, model 0x0001, rev. 7 >> ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> random: harvesting attach, 8 bytes (4 bits) from ukphy4 >> random: harvesting attach, 8 bytes (4 bits) from miibus4 >> etherswitch0: on mtkswitch0 >> random: harvesting attach, 8 bytes (4 bits) from etherswitch0 >> mdio0: on mtkswitch0 >> random: harvesting attach, 8 bytes (4 bits) from mdio0 >> random: harvesting attach, 8 bytes (4 bits) from mtkswitch0 >> ofwbus0: mem 0x10180000-0x101bffff irq 2 compat ralink,rt= 3050-wm >> ac (no driver attached) >> ofwbus0: mem 0x101c0000-0x101fffff irq 3 disabled compat r= alink,r >> t3050-otg (no driver attached) >> ofwbus0: compat gpio-leds (no driver attached) >> ofwbus0: compat gpio-keys-polled (no driver attached) >> clock0: on nexus0 >> panic: Unable to add hard IRQ 7 handler >> Uptime: 1s >> Automatic reboot in 15 seconds - press a key on the console to abort >> Rebooting... >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"