Date: Thu, 9 May 2013 04:09:24 +0300 From: Petko Bordjukov <bordjukov@gmail.com> To: svn-src-head@freebsd.org Subject: svn commit: r250385 - head/sys/mips/conf Message-ID: <CAAgmp6u9RNwAhiDWwc6S%2B_2onH9sdcuR7ehYOtimQGw78so=sQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, This commit leads to a TLB miss at device_get_parent on boot on the RS. RedBoot> load -p 6969 kernel/kernel Using default protocol (TFTP) Entry point: 0x80050100, address range: 0x80050000-0x8056ae38 RedBoot> exec Now booting linux kernel: Base address 0x80050000 Entry 0x80050100 Cmdline : console=ttyS0,115200 init=/init CPU platform: Atheros AR7161 rev 2 CPU Frequency=680 MHz CPU DDR Frequency=170 MHz CPU AHB Frequency=85 MHz platform frequency: 680000000 CPU reference clock: 40 MHz arguments: a0 = 00000002 a1 = 80050028 a2 = 80050000 a3 = 0000001b Cmd line: console=ttyS0,115200 init=/init Environment: memsize = 0x04000000 modetty0 = 0,n,8,1,hw ethaddr = ommitted board = Ubiquiti AR71xx-based board Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 cpu0: MIPS Technologies processor v116.147 MMU: Standard TLB, 16 entries L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config3=0x20 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #1 r250385: Thu May 9 04:04:12 EEST 2013 root@virtbsd10:/usr/obj/mips.mips/usr/src/sys/ROUTERSTATION mips gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0400000 MEMGUARD map limit: 0xc6a67000 MEMGUARD map size: 104860 KBytes real memory = 67108864 (65536K bytes) avail memory = 56496128 (53MB) random device not loaded; using insecure entropy nexus0: <MIPS32 root nexus> clock0: <Generic MIPS32 ticker> on nexus0 Timecounter "MIPS32" frequency 340000000 Hz quality 800 Event timer "MIPS32" frequency 340000000 Hz quality 800 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) gpio0: <Atheros AR71XX GPIO driver> on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x0 gpioc0: <GPIO controller> on gpio0 gpiobus0: <GPIO bus> on gpio0 gpioled0: <GPIO led> at pin(s) 2 on gpiobus0 ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000000-0x1bffffff irq 1 on nexus0 usbus0: set host controller mode usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0 on ehci0 pcib0 at irq 0 on nexus0 pcib0: ar71xx_pci_attach: missing hint 'baseslot', default to AR71XX_PCI_BASE_SLOT pci0: <PCI bus> on pcib0 ath0: <Atheros 2413> irq 1 at device 18.0 on pci0 ath0: AR2413 mac 7.8 RF2413 phy 4.5 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056 ath1: <Atheros 9220> irq 2 at device 19.0 on pci0 ath1: [HT] enabling HT modes ath1: [HT] 1 stream STBC receive enabled ath1: [HT] 1 stream STBC transmit enabled ath1: [HT] 2 RX streams; 2 TX streams ath1: AR9220 mac 128.2 RF5133 phy 13.0 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0 miiproxy0: <MII/MDIO proxy, MII side> on arge0 arge0: can't attach proxy arge0: finishing attachment, phymask 100000, proxy null arge0: unable to attach PHY 20: 6 device_attach: arge0 attach returned 6 arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0 miiproxy1: <MII/MDIO proxy, MII side> on arge1 Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) [ thread pid 0 tid 100000 ] Stopped at device_get_parent: jr ra db> where Tracing pid 0 tid 100000 td 0x80570170 db_trace_thread+30 (?,?,?,?) ra 807057b800000018 sp 0 sz 0 8007b19c+114 (0,?,ffffffff,?) ra 807057d000000020 sp 100000000 sz 1 8007a4e4+388 (?,?,?,?) ra 807057f0000000a8 sp 0 sz 0 db_command_loop+70 (?,?,?,?) ra 8070589800000018 sp 0 sz 0 8007cfe0+f4 (?,?,?,?) ra 807058b0000001a8 sp 0 sz 0 kdb_trap+110 (?,?,?,?) ra 80705a5800000030 sp 0 sz 0 trap+f18 (?,?,?,?) ra 80705a88000000b8 sp 0 sz 0 MipsKernGenException+134 (0,8100d880,8049ece8,fa) ra 80705b40000000c8 sp 100000001 sz 1 device_get_parent+0 (?,?,?,?) ra 80705c0800000000 sp 0 sz 0 pid 0 db>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAgmp6u9RNwAhiDWwc6S%2B_2onH9sdcuR7ehYOtimQGw78so=sQ>