Date: Thu, 25 Aug 2016 10:11:18 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: sys/mips/mediatek kernel crash on RT3050 Message-ID: <705503.18629.qm@web101707.mail.ssk.yahoo.co.jp>
next in thread | raw e-mail | index | archive | help
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<PerfCount,WatchRegs,= MIPS16,EJTAG>=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: <full device, null device, zero device>=0Aopenfirm: <Open Firmwa= re control device>=0Amem: <memory>=0Anexus0: <MIPS32 root nexus>=0Arandom: = harvesting attach, 8 bytes (4 bits) from nexus0=0Aofwbus0: <Open Firmware D= evice Tree> on nexus0=0Apalmbus0: <MTK Palmbus> 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: <MIPS32 In= terrupt Controller> on ofwbus0=0Arandom: harvesting attach, 8 bytes (4 bits= ) from cpupic0=0Asysc0: <MTK System Controller> mem 0-0xff on palmbus0=0Ara= ndom: harvesting attach, 8 bytes (4 bits) from sysc0=0Apinctrl0: <MTK Pin C= ontroller> 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: <MTK Reset Contro= ller> on ofwbus0=0Arandom: harvesting attach, 8 bytes (4 bits) from rstctrl= 0=0Aclkctrl0: <MTK Clock Controller> on ofwbus0=0Arandom: harvesting attach= , 8 bytes (4 bits) from clkctrl0=0Aintc0: <MTK Interrupt Controller (v2)> m= em 0x200-0x2ff irq 6 on palmbus0=0Arandom: harvesting attach, 8 bytes (4 bi= ts) from intc0=0Agpio0: <MTK GPIO Controller (v1)> mem 0x600-0x633 irq 9 on= palmbus0=0Agpiobus0: <OFW GPIO bus> on gpio0=0Arandom: harvesting attach, = 8 bytes (4 bits) from gpiobus0=0Arandom: harvesting attach, 8 bytes (4 bits= ) from gpio0=0Apalmbus0: <timer@100> mem 0x100-0x11f irq 4 compat ralink,rt= 3050-timer (no drive=0Ar attached)=0Apalmbus0: <watchdog@120> mem 0x120-0x1= 2f irq 5 compat ralink,rt3050-wdt (no driv=0Aer attached)=0Apalmbus0: <memc= @300> mem 0x300-0x3ff irq 7 compat ralink,rt3050-memc (no driver=A0=0Aattac= hed)=0Apalmbus0: <uart@500> mem 0x500-0x5ff irq 8 disabled compat ralink,rt= 3050-uart (n=0Ao driver attached)=0Agpioled0: <GPIO led> at pin 14 on gpiob= us0=0Arandom: harvesting attach, 8 bytes (4 bits) from gpioled0=0Agpioled1:= <GPIO led> at pin 11 on gpiobus0=0Arandom: harvesting attach, 8 bytes (4 b= its) from gpioled1=0Agpioled2: <GPIO led> at pin 9 on gpiobus0=0Arandom: ha= rvesting attach, 8 bytes (4 bits) from gpioled2=0Agpioled3: <GPIO led> at p= in 12 on gpiobus0=0Arandom: harvesting attach, 8 bytes (4 bits) from gpiole= d3=0Agpioc0: <GPIO controller> on gpio0=0Arandom: harvesting attach, 8 byte= s (4 bits) from gpioc0=0Apalmbus0: <gpio@638> mem 0x638-0x65b disabled comp= at ralink,rt3050-gpio (no driv=0Aer attached)=0Apalmbus0: <gpio@660> mem 0x= 660-0x683 disabled compat ralink,rt3050-gpio (no driv=0Aer attached)=0Aspi0= : <MTK SPI Controller (v1)> mem 0xb00-0xbff on palmbus0=0Aspibus0: <OFW SPI= bus> on spi0=0Amx25l0: <M25Pxx Flash Family> 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: <MTK UART Controller> 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: <Ralink RT3= 050 onChip Ethernet driver> 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: = <MTK Switch Driver> mem 0x10110000-0x10117fff irq 1 on ofwbus0=0Amiibus0: <= MII bus> on mtkswitch0=0Aukphy0: <Generic IEEE 802.3u media interface> 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: <MII bus> on mtkswitch0=0Aukphy1: <Generic= IEEE 802.3u media interface> 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: <MII bus= > on mtkswitch0=0Aukphy2: <Generic IEEE 802.3u media interface> 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: <MII bus> on mtkswitch0=0Aukphy3: <Generic IEEE 8= 02.3u media interface> 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: <MII bus> on mt= kswitch0=0Aukphy4: <Generic IEEE 802.3u media interface> 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: <Switch controller> on mtkswitch0=0Arandom: harve= sting attach, 8 bytes (4 bits) from etherswitch0=0Amdio0: <MDIO> on mtkswit= ch0=0Arandom: harvesting attach, 8 bytes (4 bits) from mdio0=0Arandom: harv= esting attach, 8 bytes (4 bits) from mtkswitch0=0Aofwbus0: <wmac@10180000> = mem 0x10180000-0x101bffff irq 2 compat ralink,rt3050-wm=0Aac (no driver att= ached)=0Aofwbus0: <otg@101c0000> mem 0x101c0000-0x101fffff irq 3 disabled c= ompat ralink,r=0At3050-otg (no driver attached)=0Aofwbus0: <gpio-leds> comp= at gpio-leds (no driver attached)=0Aofwbus0: <gpio-keys-polled> compat gpio= -keys-polled (no driver attached)=0Aclock0: <Generic MIPS32 ticker> 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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?705503.18629.qm>