From owner-freebsd-mips@freebsd.org Thu Aug 25 01:13:44 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 8D877BC481A for ; Thu, 25 Aug 2016 01:13:44 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm7.bullet.mail.kks.yahoo.co.jp (nh503-vm7.bullet.mail.kks.yahoo.co.jp [183.79.56.193]) by mx1.freebsd.org (Postfix) with SMTP id EDC181A6D for ; Thu, 25 Aug 2016 01:13:43 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2016 01:11:19 -0000 Received: from [183.79.100.136] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2016 01:11:19 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 25 Aug 2016 01:11:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 396626.21580.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 25986 invoked by uid 60001); 25 Aug 2016 01:11:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1472087478; bh=WIyrjRQm/kTuXKNr6P7whU6qVvu2zIzUPNDr01NZ/lY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=p1fbvXZRNF35S8Sg/V9IxxVBw83KxJRU/5QvrrWiKL6NiUwfDAe0chHfT3t9cR4xGM9HlDTmGSoRUQ++6VGWhlai64JHfI06ULJs/HqwYeHoPd39vkW4h2KRGc2O5lhqn2AxbD8YsT4DJRLBE/S7DrrbpIs7XjWwTmyR+BaPHkk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OZJsL07Cks/rlZIpHeiT3TwsZ25Q4d7d2f7TlnOxisNOrMvBdRSVnpL65fQZU+BQ92A0l2H7Qqbek7hBRbtpjNSPc0PkqFUZnnDohQoTBJWoI/duwN7fQDNS7jnJ/aGAKeEeYn+dYrRVtnfa2l9tyxz3vIl8pVTxC9UWllkkb9E=; Message-ID: <705503.18629.qm@web101707.mail.ssk.yahoo.co.jp> X-YMail-OSG: qb.guwQVM1kPwzf2Kh.EOfHChvlJa_Fy_4DPKTTPR81TBzkGno.9pOGnP5_9OF2d3V.D4kPc2KVWx0KK_FSkU7KbrzkpbtEsXm1OUKJlajac9EsQo.Uk6amI9MJUXdnzzA.9p9tH84Rhw6zVs47V3yHtxJ9oay1gIqKwVyy08JMBrUgK.n9F7lhkNmhLqC5C967V0Gd6zEX2N8nELkCmlRghyQPrM94.o8n4bM3VSx_uHVOrvByaejPbe_3NjwGklfYDaztLSdbg0r9oSXRIdL6pg8xvnuPucAeyCJjMdkhemireouwgzq5UtpXjlfJcrbKvSq.MsTD2klet.m994JrWqe6UWJUtJqwz23ADXqDZxnIgnmsFrP9tkXbqhzGmOtvdeMnRmimCnr1syOYIm32SbSbuqnebUHCOgdpaFfQLzmSkE7CH.T2xzDs1IQ4FDppgkqowcSD8VfDu423vJ.guP4fLd14D5ZKHHwpj2wMRWXowZD11BZkmQmSerw0fs8pHZzVGoV2BoMR_Yfyva5vAqag6AVEj9SEbyS8jNu7e.NABLMTKr6jUJbvbROyC6Qo0fQUIYXOtmfy8luPQaFGQ19V8GLY7Ar0V2M30 Received: from [110.134.196.53] by web101707.mail.ssk.yahoo.co.jp via HTTP; Thu, 25 Aug 2016 10:11:18 JST X-Mailer: YahooMailWebService/0.8.111_69 X-YMail-JAS: ByLzkb8VM1lt9lq3bo4p0DrZRyTU41LDk9ByAc8fs1dsaLkzHKDYz24WnaGzjv89BGPMYeAfxNm3X.o9EeAZOGJrWHXvBOmj2HvnDXnPuabcpUQ2XcJA5Yi1zi3dW2y7NdlD References: Date: Thu, 25 Aug 2016 10:11:18 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: sys/mips/mediatek kernel crash on RT3050 To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 01:13:44 -0000 Hi=0A=0AI build sys/mips/mediatek for RT3050 box at few days before head.= =0A=0AThis kernel crash.=0A=0AThis build based on=A0rt3050.dtsi.=A0=0A=0ASo= me one know this problem ?=0A=0AThanks.=0A=0AStarting kernel ...=0A=0AFDT D= TB=A0 at: 0x802ce6f0=0ACPU =A0 clock:=A0 320MHz=0ATimer clock:=A0 160MHz=0A= UART=A0 clock:=A0 106MHz=0A=0AU-Boot args (from 0 args):=0A=A0 =A0 =A0 =A0 = None=0AEnvironment:=0Aentry: mips_init()=0ARAM size: 32MB (assumed)=0ACache= info:=0A=A0 picache_stride=A0 =A0 =3D 4096=0A=A0 picache_loopcount =3D 8= =0A=A0 pdcache_stride=A0 =A0 =3D 4096=0A=A0 pdcache_loopcount =3D 4=0Acpu0:= MIPS Technologies processor v76.150=0A=A0 MMU: Standard TLB, 32 entries (4= K 16K 64K 256K 1M 16M 64M 256M pg sizes)=0A=A0 L1 i-cache: 4 ways of 256 se= ts, 32 bytes per line=0A=A0 L1 d-cache: 4 ways of 128 sets, 32 bytes per li= ne=0A=A0 L2 cache: disabled=0A=A0 Config1=3D0xbea3319e=0A=A0 Config2=3D0x80000000=0A=A0 Config3=3D0x420=0APhysical m= emory chunk(s):=0A0x334000 - 0x1ffffff, 30195712 bytes (7372 pages)=0AMaxme= m is 0x2000000=0ACopyright (c) 1992-2016 The FreeBSD Project.=0ACopyright (= c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A=A0 =A0 =A0= =A0 The Regents of the University of California. All rights reserved.=0AFr= eeBSD is a registered trademark of The FreeBSD Foundation.=0AFreeBSD 12.0-C= URRENT #1 ed1832a(zrouter): Sun Aug 21 12:19:54 JST 2016=0A=A0 =A0 hiroki@m= icroserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/=0Amips= .mipsel/storage/home/hiroki/freebsd/sys/Fon_FON2305E_FDT mips=0Agcc version= 4.2.1 20070831 patched [FreeBSD]=0APreloaded elf kernel "kernel" at 0x8032= afb0.=0Areal memory=A0 =3D 33554432 (32768K bytes)=0APhysical memory chunk(= s):=0A0x003c0000 - 0x01f3efff, 28831744 bytes (7039 pages)=0Aavail memory = =3D 28397568 (27MB)=0AULE: setup cpu 0=0Arandom: entropy device external in= terface=0Afirmware: 'rt2860fw' version 0: 8192 bytes loaded at 0x802d86d0= =0Afirmware: 'rt2561fw' version 0: 8192 bytes loaded at 0x802d2550=0Afirmwa= re: 'rt2561sfw' version 0: 8192 bytes loaded at 0x802d45d0=0Awlan: <802.11 = Link Layer>=0Afirmware: 'rt2661fw' version 0: 8192 bytes loaded at 0x802d66= 50=0Anull: =0Aopenfirm: =0Amem: =0Anexus0: =0Arandom: = harvesting attach, 8 bytes (4 bits) from nexus0=0Aofwbus0: on nexus0=0Apalmbus0: mem 0x10000000-0x101fffff o= n ofwbus0=0Arandom: harvesting attach, 8 bytes (4 bits) from palmbus0=0Aran= dom: harvesting attach, 8 bytes (4 bits) from ofwbus0=0Acpupic0: on ofwbus0=0Arandom: harvesting attach, 8 bytes (4 bits= ) from cpupic0=0Asysc0: mem 0-0xff on palmbus0=0Ara= ndom: harvesting attach, 8 bytes (4 bits) from sysc0=0Apinctrl0: on ofwbus0=0Apinctrl0: GPIO mode start: 0x0000029d=0AProcessing = 1 pin-config node(s) in pinctrl-0 for spi@b00=0AProcessing 1 pin-config nod= e(s) in pinctrl-0 for uartlite@c00=0AProcessing 1 pin-config node(s) in pin= ctrl-0 for pinctrl=0Apinctrl0: GPIO mode end=A0 : 0x0000005d=0Arandom: harv= esting attach, 8 bytes (4 bits) from pinctrl0=0Arstctrl0: on ofwbus0=0Arandom: harvesting attach, 8 bytes (4 bits) from rstctrl= 0=0Aclkctrl0: on ofwbus0=0Arandom: harvesting attach= , 8 bytes (4 bits) from clkctrl0=0Aintc0: m= em 0x200-0x2ff irq 6 on palmbus0=0Arandom: harvesting attach, 8 bytes (4 bi= ts) from intc0=0Agpio0: mem 0x600-0x633 irq 9 on= palmbus0=0Agpiobus0: on gpio0=0Arandom: harvesting attach, = 8 bytes (4 bits) from gpiobus0=0Arandom: harvesting attach, 8 bytes (4 bits= ) from gpio0=0Apalmbus0: mem 0x100-0x11f irq 4 compat ralink,rt= 3050-timer (no drive=0Ar attached)=0Apalmbus0: mem 0x120-0x1= 2f irq 5 compat ralink,rt3050-wdt (no driv=0Aer attached)=0Apalmbus0: mem 0x300-0x3ff irq 7 compat ralink,rt3050-memc (no driver=A0=0Aattac= hed)=0Apalmbus0: mem 0x500-0x5ff irq 8 disabled compat ralink,rt= 3050-uart (n=0Ao driver attached)=0Agpioled0: at pin 14 on gpiob= us0=0Arandom: harvesting attach, 8 bytes (4 bits) from gpioled0=0Agpioled1:= at pin 11 on gpiobus0=0Arandom: harvesting attach, 8 bytes (4 b= its) from gpioled1=0Agpioled2: at pin 9 on gpiobus0=0Arandom: ha= rvesting attach, 8 bytes (4 bits) from gpioled2=0Agpioled3: at p= in 12 on gpiobus0=0Arandom: harvesting attach, 8 bytes (4 bits) from gpiole= d3=0Agpioc0: on gpio0=0Arandom: harvesting attach, 8 byte= s (4 bits) from gpioc0=0Apalmbus0: mem 0x638-0x65b disabled comp= at ralink,rt3050-gpio (no driv=0Aer attached)=0Apalmbus0: mem 0x= 660-0x683 disabled compat ralink,rt3050-gpio (no driv=0Aer attached)=0Aspi0= : mem 0xb00-0xbff on palmbus0=0Aspibus0: on spi0=0Amx25l0: at cs 0 mode 0 on spibus0=0Am= x25l0: mx25ll64, sector 65536 bytes, 128 sectors=0Arandom: harvesting attac= h, 8 bytes (4 bits) from mx25l0=0Arandom: harvesting attach, 8 bytes (4 bit= s) from spibus0=0Arandom: harvesting attach, 8 bytes (4 bits) from spi0=0Au= art0: mem 0xc00-0xcff irq 10 on palmbus0=0Auart0: con= sole (57971,n,8,1)=0Auart0: fast interrupt=0Auart0: PPS capture mode: DCDin= valid=0Arandom: harvesting attach, 8 bytes (4 bits) from uart0=0Aofwbus0: <= usbphy> compat ralink,rt3050-usbphy (no driver attached)=0Art0: mem 0x10100000-0x1010ffff irq 0 on o=0Afwbus0= =0Art0: RT305XF Ethernet MAC (rev 0x00000000)=0Art0: use hardcoded 00:18:e7= :d5:83:90 macaddr=0Art0: bpf attached=0Art0: Ethernet address: 00:18:e7:d5:= 83:90=0Arandom: harvesting attach, 8 bytes (4 bits) from rt0=0Amtkswitch0: = mem 0x10110000-0x10117fff irq 1 on ofwbus0=0Amiibus0: <= MII bus> on mtkswitch0=0Aukphy0: PHY = 0 on miibus0=0Aukphy0: OUI 0x000c43, model 0x0001, rev. 7=0Aukphy0:=A0 none= , 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0Arandom: harvesting= attach, 8 bytes (4 bits) from ukphy0=0Arandom: harvesting attach, 8 bytes = (4 bits) from miibus0=0Amiibus1: on mtkswitch0=0Aukphy1: PHY 1 on miibus1=0Aukphy1: OUI 0x000c43, mode= l 0x0001, rev. 7=0Aukphy1:=A0 none, 10baseT, 10baseT-FDX, 100baseTX, 100bas= eTX-FDX, auto=0Arandom: harvesting attach, 8 bytes (4 bits) from ukphy1=0Ar= andom: harvesting attach, 8 bytes (4 bits) from miibus1=0Amiibus2: on mtkswitch0=0Aukphy2: PHY 2 on mi= ibus2=0Aukphy2: OUI 0x000c43, model 0x0001, rev. 7=0Aukphy2:=A0 none, 10bas= eT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0Arandom: harvesting attach= , 8 bytes (4 bits) from ukphy2=0Arandom: harvesting attach, 8 bytes (4 bits= ) from miibus2=0Amiibus3: on mtkswitch0=0Aukphy3: PHY 3 on miibus3=0Aukphy3: OUI 0x000c43, model 0x000= 1, rev. 7=0Aukphy3:=A0 none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX= , auto=0Arandom: harvesting attach, 8 bytes (4 bits) from ukphy3=0Arandom: = harvesting attach, 8 bytes (4 bits) from miibus3=0Amiibus4: on mt= kswitch0=0Aukphy4: PHY 4 on miibus4= =0Aukphy4: OUI 0x000c43, model 0x0001, rev. 7=0Aukphy4:=A0 none, 10baseT, 1= 0baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0Arandom: harvesting attach, 8 b= ytes (4 bits) from ukphy4=0Arandom: harvesting attach, 8 bytes (4 bits) fro= m miibus4=0Aetherswitch0: on mtkswitch0=0Arandom: harve= sting attach, 8 bytes (4 bits) from etherswitch0=0Amdio0: on mtkswit= ch0=0Arandom: harvesting attach, 8 bytes (4 bits) from mdio0=0Arandom: harv= esting attach, 8 bytes (4 bits) from mtkswitch0=0Aofwbus0: = mem 0x10180000-0x101bffff irq 2 compat ralink,rt3050-wm=0Aac (no driver att= ached)=0Aofwbus0: mem 0x101c0000-0x101fffff irq 3 disabled c= ompat ralink,r=0At3050-otg (no driver attached)=0Aofwbus0: comp= at gpio-leds (no driver attached)=0Aofwbus0: compat gpio= -keys-polled (no driver attached)=0Aclock0: on nexu= s0=0Apanic: Unable to add hard IRQ 7 handler=0AUptime: 1s=0AAutomatic reboo= t in 15 seconds - press a key on the console to abort=0ARebooting...