From owner-svn-src-head@FreeBSD.ORG Thu May 9 01:09:25 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 82A86FDC for ; Thu, 9 May 2013 01:09:25 +0000 (UTC) (envelope-from bordjukov@gmail.com) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB5211EC for ; Thu, 9 May 2013 01:09:25 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id e1so1380265qcy.8 for ; Wed, 08 May 2013 18:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=CzGEKtNMxONJVjOU50t2tqVFAmOxb81gGvNYdwrK7ew=; b=ybqn1wqcy9AQX4fyVFck633/pAKNrPJRT1R8vMJslo1EsdbnHqjy3UkyJ/ZfWTS4r0 dSHFpt3dukCaF74qjf5Kyv6sS1SpTmSPbEmsm2neWY0nriUEKF85XxmSWQZDyN5IeXqI PWKJ9/2OuFrkgYcEOy2AiGYDFpgdQEx5W84Ox2wl2/w0x1KW32/M8oWLiLI+bF9oy93S iYpPYW3/dcS3Tqn2keDJF9w+erasVity5xFBhSB7hPBvsBFdIJOXupw+W03YgfZIf5xY vyJwaiXLVZW/6130gO9GEl5F3KHuEZpWL1xS1j/MJ42nWgYU8qadOANpIG5b6z+wIDFk OTRg== MIME-Version: 1.0 X-Received: by 10.229.157.201 with SMTP id c9mr2758751qcx.60.1368061764876; Wed, 08 May 2013 18:09:24 -0700 (PDT) Received: by 10.49.53.42 with HTTP; Wed, 8 May 2013 18:09:24 -0700 (PDT) Date: Thu, 9 May 2013 04:09:24 +0300 Message-ID: Subject: svn commit: r250385 - head/sys/mips/conf From: Petko Bordjukov To: svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 01:09:25 -0000 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 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: clock0: 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: on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x0 gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 2 on gpiobus0 ehci0: 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: on pcib0 ath0: 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: 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: at mem 0x19000000-0x19000fff irq 2 on nexus0 miiproxy0: 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: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 miiproxy1: 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>