From owner-freebsd-mips@FreeBSD.ORG Mon Jan 28 11:06:47 2013 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 216BB932 for ; Mon, 28 Jan 2013 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EFADECDA for ; Mon, 28 Jan 2013 11:06:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0SB6kOg034612 for ; Mon, 28 Jan 2013 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0SB6kbo034610 for freebsd-mips@FreeBSD.org; Mon, 28 Jan 2013 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Jan 2013 11:06:46 GMT Message-Id: <201301281106.r0SB6kbo034610@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 11:06:47 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC p kern/163670 mips [mips][arge] arge can't allocate ring buffer on multip 2 problems total. From owner-freebsd-mips@FreeBSD.ORG Fri Feb 1 12:20:46 2013 Return-Path: Delivered-To: freebsd-mips@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 8CAD1E6A for ; Fri, 1 Feb 2013 12:20:46 +0000 (UTC) (envelope-from stefan@kooman.org) Received: from mail.kooman.org (mail.kooman.org [IPv6:2001:7b8:60a:1:213:136:13:33]) by mx1.freebsd.org (Postfix) with ESMTP id 24D2513A for ; Fri, 1 Feb 2013 12:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kooman.org; s=mail-kooman; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=dy9l1Q0/NRcKCytYZQ5s+LngYePE4ft4P5VTujjkxnA=; b=eFQN8Vi7wnEHIckJ4A3EKb/taNP2/qvajvKS0+U6pis95WJutkEclxdiULJvAcF0ihd/pcncHZ63Jh+IratBN0zj5UFkZve1Ux2aa8vT5C8r0Db/QVyBZsyTCNSbw3JJrWWb6vpyPoK1bQsIirVHTTZD1tBoZFvfUjZczCv7WNI=; Received: from [2001:7b8:60a:1:213:154:229:41] (helo=basseroet.kooman.org) by mail.kooman.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1U1Fbl-0005aK-7G; Fri, 01 Feb 2013 13:20:41 +0100 Date: Fri, 1 Feb 2013 13:20:42 +0100 From: Stefan Kooman To: Luiz Otavio O Souza Subject: Re: kernel build fails for Routerboard 450g Message-ID: <20130201122041.GF13006@basseroet.kooman.org> References: <20130107214419.GB16119@archie.kooman.org> <20130124025512.GA504@archie.kooman.org> <20130124164036.8120091a7711983037c2b4b4@freebsd.org> <20130125225053.GA10775@nettie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-ID: D14839C6 X-GPG-Fingerprint: 93E6 F01E F7EE 5B3B 0771 4DEB 4F21 A061 D148 39C6 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 12:20:46 -0000 On Thu, Jan 31, 2013 at 05:15:41PM -0200, Luiz Otavio O Souza wrote: > > Hi! > > Sorry for the long hiatus, i'm trying to catch up. No problem, thanks for helping me out. > > Please try the following kernel and hints: > > http://loos.no-ip.org/rb/RB450G > http://loos.no-ip.org/rb/RB450G.hints > > You'll need to disable the mmc/sd and the nand device from kernel as > they are not committed yet. I've disabled mmc/sd and nand from kernel config, as well as references to "rb4xx" and "AR71XX_ROUTERBOOT" (they don't exist in mips src tree). > diff -u RB450G /data/mips/src/sys/mips/conf/RB450G --- RB450G 2013-01-31 20:12:13.000000000 +0100 +++ /data/mips/src/sys/mips/conf/RB450G 2013-02-01 10:29:59.000000000 +0100 @@ -10,20 +10,20 @@ # RB450[G] doesn't have any minipci slots, flash and usb ports nodevice pci -nodevice ar71xx_pci +#nodevice ar71xx_pci nodevice mx25l nodevice usb nodevice ehci nodevice umass # RouterBoard RB4XX support -device rb4xx -device nand +#device rb4xx +#device nand # MMC/SD SPI slot -device mmc -device mmcsd -device mmcspi +#device mmc +#device mmcsd +#device mmcspi # GEOM modules #device geom_redboot # to get access to the SPI flash partitions @@ -34,7 +34,7 @@ options MSDOSFS # RouterBoot support -options AR71XX_ROUTERBOOT +#options AR71XX_ROUTERBOOT # For etherswitch support options ARGE_MDIO @@ -52,6 +52,7 @@ options BOOTP_NFSV3 options BOOTP_WIRED_TO=arge1 options BOOTP_COMPAT -#options ROOTDEVNAME=\"nfs:192.168.0.10:/data/rb/rb450g/nfsroot\" +options ROOTDEVNAME=\"nfs:192.168.2.103:/mnt/bsd\" Booting up the RB450G yields: trying dhcp protocol... OK resolved mac address 00:25:22:8F:4F:CE Gateway: 192.168.2.1 transfer started .............................................. transfer ok, time=2.03s setting up elf image... OK jumping to kernel code CPU platform: Atheros AR7161 rev 2 CPU Frequency=680 MHz CPU DDR Frequency=340 MHz CPU AHB Frequency=170 MHz platform frequency: 680000000 arguments: a0 = 0000000b a1 = a0871c00 a2 = 00000000 a3 = 00000000 Cmd line: console=ttyS0,115200 parts=1 boot_part_size=4194304 gpio=1983 HZ=340000000 mem=256M kmac=D4:CA:6D:59:DC:EF board=450G ver=3.02 boot=1 mlc=4 Environment: envp is invalid 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 #0 r245698: Fri Feb 1 10:30:56 CET 2013 root@frisbee:/data/mips/src/obj/mips/mips.mips/data/mips/src/sys/RB450G mips WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0400000 MEMGUARD map limit: 0xc3460000 MEMGUARD map size: 49536 KBytes real memory = 33554432 (32768K bytes) avail memory = 24829952 (23MB) 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 argemdio0: at mem 0x19000000-0x19000fff on nexus0 mdio0: on argemdio0 mdioproxy0: on mdio0 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=0xff gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 4 on gpiobus0 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: arge_attach: overriding MII mode to 'RGMII' arge0: finishing attachment, phymask 0000, proxy null arge0: Ethernet address: d4:ca:6d:59:dc:ef arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: arge_attach: overriding MII mode to 'RGMII' miiproxy0: on arge1 arge1: can't attach proxy arge1: finishing attachment, phymask 0010, proxy null arge1: unable to attach PHY 4: 6 device_attach: arge1 attach returned 6 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 spibus0: at cs 0 spibus0: at cs 0 spibus0: at cs 1 ar71xx_wdog0: on nexus0 Timecounters tick every 1.000 msec bootpc_init: wired to interface 'arge1' panic: bootpc_init: Could not find interface specified by BOOTP_WIRED_TO: arge1 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x4c: lui at,0x8051 db> > Let me know if you have any problem. Same result, arge1 can't be attached. Are the "rb4xx" and "AR71XX_ROUTERBOOT" references I've commented out essential for a working kernel? Thanks, Stefan From owner-freebsd-mips@FreeBSD.ORG Sat Feb 2 16:33:27 2013 Return-Path: Delivered-To: mips@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 1C9F34C5; Sat, 2 Feb 2013 16:33:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5F6A29; Sat, 2 Feb 2013 16:33:26 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r12GXMsX088485; Sat, 2 Feb 2013 18:33:22 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.4 kib.kiev.ua r12GXMsX088485 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r12GXMVP088484; Sat, 2 Feb 2013 18:33:22 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 2 Feb 2013 18:33:22 +0200 From: Konstantin Belousov To: current@freebsd.org, arch@freebsd.org Subject: Physbio changes final call for tests and reviews Message-ID: <20130202163322.GA2522@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xIk0xHvQc0Ku+QuL" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: powerpc@freebsd.org, mips@freebsd.org, jeff@freebsd.org, ia64@freebsd.org, sparc64@freebsd.org, arm@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 16:33:27 -0000 --xIk0xHvQc0Ku+QuL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I finished the last (insignificant) missed bits in the Jeff' physbio work. Now I am asking for the last round of testing and review, esp. for the !x86 architectures. Another testing focus are the SCSI HBAs and RAID controllers which drivers are changed by the patchset. Please do test this before the patchset is committed into HEAD ! The plan is to commit the patch somewhere in two weeks from this moment. The patch is required for the finalizing of the unmapped I/O work for UFS I did in parallel, which I hope to finish shortly after the commit. Patch is available at http://people.freebsd.org/~kib/misc/physbio.5.diff Thank you in advance. --xIk0xHvQc0Ku+QuL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRDT/SAAoJEJDCuSvBvK1BmGoP/314FHxSTtWQ22v30ZkLUUHw p/5C3qRV+xjpEWfE80WQtMobuh9XMxaHGLJxz9UvVJQIqx5WUe0bINN4PfwzVbSm r+Zw+LtyVrBdVgMzuq48h4IEFHkcxN1O6VznBKPBBDYcIZTTZ7y/bdljiB7q0HRP G7SHsOfpIN8CSZNXPodVMIeagDPcbVDb3yVtW5zIsHeMyxCtjWIRCczVCwr0vpXQ kfOGqAquLrXlv95e04LB08REJnrymkoPpMmA6mHdxY3a8ggMXcd4wFVP8YjX23iR rEY8idLlW4rLfMwZuCcyR5w4UIcsx2NOhcyouFVRDYs5HxLDoDBUx+GYFu5fOlaL NShrb/pc6AQZHucLjDfLxn+479Z7zgfxFDDiDdnGjUdmcYHZds1v+6WuwwIi+HwD X6Edqfd37h+itGBt2h8LNgNA4urbWW7Xq7amsojjmOBgqdJ2Pe6ML+L0txwtY/cN ICcBuDlJj3qXf81JZqr2zBa7+1DOYB+EFMTtOBwIUQKixAh1PL/+EbarDNLTOKld tiRL9wjkiGKGXgX5fBj06949XMP2Nsi4xyQwc9hhvujsY4zNmBJvvj/ui6w7tRGI P68tmOBeVPwVVHzfFvOm4MgHZpS0gzL9cr04p+knB6IBzjkfBEmUjGXC/85MGmXG TY4uqxb8dCMidsn6TG3D =lu5h -----END PGP SIGNATURE----- --xIk0xHvQc0Ku+QuL-- From owner-freebsd-mips@FreeBSD.ORG Sat Feb 2 21:47:17 2013 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 945863D3; Sat, 2 Feb 2013 21:47:17 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8377A7; Sat, 2 Feb 2013 21:47:16 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.5/8.14.5/ALCHEMY.FRANKEN.DE) with ESMTP id r12Ll9JK099456; Sat, 2 Feb 2013 22:47:09 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.5/8.14.5/Submit) id r12Ll9dm099455; Sat, 2 Feb 2013 22:47:09 +0100 (CET) (envelope-from marius) Date: Sat, 2 Feb 2013 22:47:09 +0100 From: Marius Strobl To: Konstantin Belousov Subject: Re: Physbio changes final call for tests and reviews Message-ID: <20130202214709.GA99418@alchemy.franken.de> References: <20130202163322.GA2522@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130202163322.GA2522@kib.kiev.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: powerpc@freebsd.org, mips@freebsd.org, current@freebsd.org, jeff@freebsd.org, ia64@freebsd.org, arch@freebsd.org, sparc64@freebsd.org, arm@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 21:47:17 -0000 On Sat, Feb 02, 2013 at 06:33:22PM +0200, Konstantin Belousov wrote: > Hi, > I finished the last (insignificant) missed bits in the Jeff' physbio > work. Now I am asking for the last round of testing and review, esp. for > the !x86 architectures. Another testing focus are the SCSI HBAs and RAID > controllers which drivers are changed by the patchset. Please do test > this before the patchset is committed into HEAD ! > > The plan is to commit the patch somewhere in two weeks from this moment. > The patch is required for the finalizing of the unmapped I/O work for UFS > I did in parallel, which I hope to finish shortly after the commit. > > Patch is available at http://people.freebsd.org/~kib/misc/physbio.5.diff > First tests on sparc64 with ata(4), mpt(4) and sym(4) look good (to be sure I still need to test with a machine using a streaming buffer in addition to the IOMMU, though). However, by accident I noticed that your patch (i.e. stock head is fine) somehow breaks smartd of smartmontools with ata(4): root@b1k2:/root # smartd ata3: timeout waiting for write DRQ The machine just hangs at this point (it's also strange that the above message is from the PIO rather than from the DMA path). One note: mjacob@ probably will be annoyed if you don't wrap the changes to isp(4) in __FreeBSD_version so the same source still compiles on older ones. Marius