From owner-freebsd-mips@FreeBSD.ORG Mon Dec 3 11:06:47 2012 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94AE599 for ; Mon, 3 Dec 2012 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 76F198FC1B for ; Mon, 3 Dec 2012 11:06:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3B6lpU027610 for ; Mon, 3 Dec 2012 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB3B6lYb027608 for freebsd-mips@FreeBSD.org; Mon, 3 Dec 2012 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Dec 2012 11:06:47 GMT Message-Id: <201212031106.qB3B6lYb027608@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, 03 Dec 2012 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 Tue Dec 4 23:10:19 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C18B2A33; Tue, 4 Dec 2012 23:10:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [IPv6:2607:f3e0:0:3::6502:9c]) by mx1.freebsd.org (Postfix) with ESMTP id 4440B8FC18; Tue, 4 Dec 2012 23:10:19 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id qB4NAIws062610; Tue, 4 Dec 2012 23:10:18 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id qB4NAIHi062604; Tue, 4 Dec 2012 23:10:18 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 Dec 2012 23:10:18 GMT Message-Id: <201212042310.qB4NAIHi062604@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_8 tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 23:10:20 -0000 TB --- 2012-12-04 23:05:10 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-12-04 23:05:10 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-12-04 23:05:10 - starting RELENG_8 tinderbox run for mips/mips TB --- 2012-12-04 23:05:10 - cleaning the object tree TB --- 2012-12-04 23:05:10 - checking out /src from svn://svn.freebsd.org/base/stable/8 TB --- 2012-12-04 23:05:10 - cd /tinderbox/RELENG_8/mips/mips TB --- 2012-12-04 23:05:10 - /usr/local/bin/svn cleanup /src TB --- 2012-12-04 23:05:18 - /usr/local/bin/svn update /src TB --- 2012-12-04 23:05:18 - WARNING: /usr/local/bin/svn returned exit code 1 TB --- 2012-12-04 23:05:18 - WARNING: sleeping 30 s and retrying... TB --- 2012-12-04 23:05:48 - /usr/local/bin/svn update /src TB --- 2012-12-04 23:05:48 - WARNING: /usr/local/bin/svn returned exit code 1 TB --- 2012-12-04 23:05:48 - WARNING: sleeping 60 s and retrying... TB --- 2012-12-04 23:06:48 - /usr/local/bin/svn update /src TB --- 2012-12-04 23:06:48 - WARNING: /usr/local/bin/svn returned exit code 1 TB --- 2012-12-04 23:06:48 - WARNING: sleeping 90 s and retrying... TB --- 2012-12-04 23:08:18 - /usr/local/bin/svn update /src TB --- 2012-12-04 23:08:18 - WARNING: /usr/local/bin/svn returned exit code 1 TB --- 2012-12-04 23:08:18 - WARNING: sleeping 120 s and retrying... TB --- 2012-12-04 23:10:18 - /usr/local/bin/svn update /src TB --- 2012-12-04 23:10:18 - WARNING: /usr/local/bin/svn returned exit code 1 TB --- 2012-12-04 23:10:18 - ERROR: unable to check out the source tree TB --- 2012-12-04 23:10:18 - 1.93 user 4.62 system 308.70 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Dec 5 12:50:36 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 000CDF22 for ; Wed, 5 Dec 2012 12:50:35 +0000 (UTC) (envelope-from seyedaminhabibi@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 95ADD8FC0C for ; Wed, 5 Dec 2012 12:50:35 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so5493249vcb.13 for ; Wed, 05 Dec 2012 04:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZdU5ZDpGMG5lfmhDzgcka161nkkEIFPj+CI9OphIV+o=; b=yWTT5vU0Uab4xPEpQB/O54TghHn2yy8gwAIRYOiNKGh/EbGtZNqu/1Djqt2nkhhDOR uPdLxASq8E4fW++xj2PM1R9H9lJJkxidaFzLybMrxeVda70ORUChMLMjv+mkMTf68Pwf 9TEUe2b1Qmu03I9WUhv2V4M2DkRTCRpegdRfQXQLk5pK9+69nqWtJVYoq+w4WKC5mvHo 9UAUnoQopy0adWUsE4wnw9TrxPq4NpUfxS58IjM5P7QHF3CvIlbhtzT59N/kXCDsxItt NeMbMrpc+VDclKNtOLK+AbpwsQFyBjFbpstPBujuGckyVdwzp/MXvuU6ugAoZPurIHUF gCiw== MIME-Version: 1.0 Received: by 10.220.221.5 with SMTP id ia5mr14766712vcb.65.1354711834628; Wed, 05 Dec 2012 04:50:34 -0800 (PST) Received: by 10.58.116.180 with HTTP; Wed, 5 Dec 2012 04:50:34 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Dec 2012 16:20:34 +0330 Message-ID: Subject: Re: freebsd-mips Digest, Vol 300, Issue 2 From: Amin Habibi To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 05 Dec 2012 12:50:36 -0000 salam From owner-freebsd-mips@FreeBSD.ORG Fri Dec 7 14:27:52 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1DD5DB2 for ; Fri, 7 Dec 2012 14:27:52 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 480638FC08 for ; Fri, 7 Dec 2012 14:27:51 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so304297bkc.13 for ; Fri, 07 Dec 2012 06:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QlWw+FYtNgy98GFP5cuCKijzXap8r0+IF0pQVo3XgFA=; b=ckJ8IQCMkw5USmM39y5PX/LlDOu3jty+AD+Dc8ILuHzh1xt8M6PxdQJdkBLnWKqC95 lI2lA8k0X1xFtGWN+yumeRjLpe6NvNw5GWPT9N79cCg5J738ao8ibstEPNqJ/KQhgauS qWL1vmt25nzU5CIP/MjLMPpCn5ayGxTp6PPQ/gP4xXcAY5dzZiLwB2WEAe2aroB6fcoH jsD9aif3WjKCQLeCWFdKEFyBKC/PDEZ+EJDjwVth1JOmepRE76lODpV9jsGqhMnXWrH6 ViK4jxmzyF3tYZm6xqLxTIdHWwO+xXqczfF4fMCcwl4j1G6zFBQcmxYgZG/qtTuotEV5 GhyQ== MIME-Version: 1.0 Received: by 10.204.5.133 with SMTP id 5mr1961717bkv.68.1354890470994; Fri, 07 Dec 2012 06:27:50 -0800 (PST) Received: by 10.204.156.137 with HTTP; Fri, 7 Dec 2012 06:27:50 -0800 (PST) In-Reply-To: <20120607184354.GB90876@zibbi.meraka.csir.co.za> References: <20120607184354.GB90876@zibbi.meraka.csir.co.za> Date: Fri, 7 Dec 2012 15:27:50 +0100 Message-ID: Subject: Re: Routerboard RB433AH From: Monthadar Al Jaberi To: John Hay Content-Type: text/plain; charset=ISO-8859-1 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, 07 Dec 2012 14:27:52 -0000 Sorry for being too late, have you solved this issue? br, On Thu, Jun 7, 2012 at 8:43 PM, John Hay wrote: > Hi, > > I found a RB433AH that is not doing anything and was wondering if one > can run FreeBSD on it. For a start I thought of just a NFS boot. I > started with the AR71XX_BASE config file and removed the USB and > other stuff that I think I do not need and can get it load the kernel > and start it. But it looks like there is a problem with the ethernet > because I get stuck at: > > Timecounters tick every 1.000 msec > Sending DHCP Discover packet from interface arge0 (00:0c:42:90:f9:de) > arge0: link state changed to DOWN > arge0: link state changed to UP > DHCP/BOOTP timeout for server 255.255.255.255 > DHCP/BOOTP timeout for server 255.255.255.255 > ... > > This just keeps on repeating. > > Maybe I need some specific setup for the ethernet / phy. Anybody with > ideas? > > The boot looks like this: > ####################################### > RouterBOOT booter 2.29 > > RouterBoard 433AH > > CPU frequency: 680 MHz > Memory size: 128 MB > > Press any key within 5 seconds to enter setup..... > trying bootp protocol.... OK > Got IP address: 146.64.84.18 > resolved mac address 1C:6F:65:C2:00:A7 > Gateway: 146.64.84.1 > transfer started ............................................ transfer ok, time=2.55s > 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 = 00000008 > a1 = a0871c00 > a2 = 00000000 > a3 = 00000000 > Cmd line: console=ttyS0,115200 gpio=4031 HZ=340000000 mem=128M kmac=00:0C:42:90:F9:DE board=433 boot=1 mlc=2 > 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-2012 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 #11: Thu Jun 7 18:11:38 SAST 2012 > johnnie@ray.cids.org.za:/usr/obj/mips.mips/usr/src/sys/RB433 mips > WARNING: WITNESS option enabled, expect reduced performance. > MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: > MEMGUARD map base: 0xc0400000 > MEMGUARD map limit: 0xc1800000 > MEMGUARD map size: 20480 KBytes > real memory = 33554432 (32768K bytes) > avail memory = 24969216 (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 > 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 > pcib0 at irq 0 on nexus0 > pci0: on pcib0 > arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 > arge0: No PHY specified, using mask 16 > arge0: finishing attachment, phymask 0010, proxy null > miibus0: on arge0 > ukphy0: PHY 4 on miibus0 > ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > arge0: Ethernet address: 00:0c:42:90:f9:de > arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 > arge1: No PHY specified, using mask 15 > arge1: finishing attachment, phymask 000f, proxy null > arge1: unable to attach PHY 0: 6 > device_attach: arge1 attach returned 6 > spi0: at mem 0x1f000000-0x1f00000f on nexus0 > spibus0: on spi0 > mx25l0: at cs 0 on spibus0 > Unknown SPI flash device. Vendor: 00, device id: 0000 > device_attach: mx25l0 attach returned 6 > ar71xx_wdog0: on nexus0 > Timecounters tick every 1.000 msec > Sending DHCP Discover packet from interface arge0 (00:0c:42:90:f9:de) > arge0: link state changed to DOWN > arge0: link state changed to UP > DHCP/BOOTP timeout for server 255.255.255.255 > DHCP/BOOTP timeout for server 255.255.255.255 > ... > ####################################### > > I did a tcpdump and cannot see any packets coming from the board. > > My config looks like this: > > ####################################### > machine mips mips > ident RB433 > cpu CPU_MIPS4KC > makeoptions KERNLOADADDR=0x80050000 > options HZ=1000 > options HWPMC_HOOKS > > files "../atheros/files.ar71xx" > > # For now, hints are per-board. > > hints "RB433.hints" > > makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols > > # Build these as modules so small platform builds will have the > # modules already built. > makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci" > > options DDB > options KDB > > options SCHED_4BSD #4BSD scheduler > options INET #InterNETworking > options INET6 # IPv6 > options NFSCL #Network Filesystem Client > options NFS_ROOT #NFS usable as /, requires NFSCL > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > #options BOOTP_WIRED_TO=arge0 > options BOOTP_COMPAT > options ROOTDEVNAME=\"nfs:146.64.84.9:/export/mips\" > > > # options NFS_CL #Network Filesystem Client > > options PSEUDOFS #Pseudo-filesystem framework > options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions > > # options NFS_LEGACYRPC > # Debugging for use in -current > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_SKIPSPIN > options DEBUG_REDZONE > options DEBUG_MEMGUARD > > options FFS #Berkeley Fast Filesystem > # options SOFTUPDATES #Enable FFS soft updates support > # options UFS_ACL #Support for access control lists > # options UFS_DIRHASH #Improve performance on big directories > # options MSDOSFS # Read MSDOS filesystems; useful for USB/CF > > device pci > device ar71xx_pci > > # 802.11 framework > options IEEE80211_DEBUG > options IEEE80211_ALQ > options IEEE80211_SUPPORT_MESH > # This option is currently broken for if_ath_tx. > options IEEE80211_SUPPORT_TDMA > options IEEE80211_AMPDU_AGE > device wlan # 802.11 support > device wlan_wep # 802.11 WEP support > device wlan_ccmp # 802.11 CCMP support > device wlan_tkip # 802.11 TKIP support > device wlan_xauth # 802.11 hostap support > > # Atheros wireless NICs > device ath # Atheros interface support > device ath_pci # Atheros PCI/Cardbus bus > options ATH_DEBUG > options ATH_DIAGAPI > options ATH_ENABLE_11N > options AH_DEBUG > options AH_DEBUG_ALQ > options ALQ > device ath_hal > option AH_SUPPORT_AR5416 > device ath_rate_sample > option AH_RXCFG_SDMAMW_4BYTES > option AH_AR5416_INTERRUPT_MITIGATION > # There's no DFS radar detection support yet so this won't actually > # detect radars. It however does enable the rest of the channel change > # machinery so DFS can be debugged. > option ATH_ENABLE_DFS > > device mii > device arge > > #device usb > #options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order > #options USB_DEBUG > #options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this > #device ehci > > device scbus > #device umass > device da > > # On-board SPI flash > device spibus > device ar71xx_spi > device mx25l > device ar71xx_wdog > > device uart > > device loop > device ether > device md > device bpf > device random > device if_bridge > device gif # ip[46] in ip[46] tunneling protocol > device gre # generic encapsulation - only for IPv4 in IPv4 though atm > > options ARGE_DEBUG # Enable if_arge debugging for now > > # Enable GPIO > device gpio > device gpioled > ####################################### > # $FreeBSD: src/sys/mips/conf/AR71XX_BASE.hints,v 1.1 2011/12/29 05:51:48 adrian Exp $ > # > hint.apb.0.at="nexus0" > hint.apb.0.irq=4 > > # uart0 > hint.uart.0.at="apb0" > # see atheros/uart_cpu_ar71xx.c why +3 > hint.uart.0.maddr=0x18020003 > hint.uart.0.msize=0x18 > hint.uart.0.irq=3 > > #ohci > hint.ohci.0.at="apb0" > hint.ohci.0.maddr=0x1c000000 > hint.ohci.0.msize=0x01000000 > hint.ohci.0.irq=6 > > #ehci > hint.ehci.0.at="nexus0" > hint.ehci.0.maddr=0x1b000000 > hint.ehci.0.msize=0x01000000 > hint.ehci.0.irq=1 > > # pci > hint.pcib.0.at="nexus0" > hint.pcib.0.irq=0 > > hint.arge.0.at="nexus0" > hint.arge.0.maddr=0x19000000 > hint.arge.0.msize=0x1000 > hint.arge.0.irq=2 > > # phymask, media and fduplex depend upon the specific > # board. > # So each board will override the settings as needed. > > hint.arge.1.at="nexus0" > hint.arge.1.maddr=0x1a000000 > hint.arge.1.msize=0x1000 > hint.arge.1.irq=3 > > # SPI flash > hint.spi.0.at="nexus0" > hint.spi.0.maddr=0x1f000000 > hint.spi.0.msize=0x10 > > hint.mx25l.0.at="spibus0" > hint.mx25l.0.cs=0 > > # Watchdog > hint.ar71xx_wdog.0.at="nexus0" > > # GPIO > hint.gpio.0.at="apb0" > hint.gpio.0.maddr=0x18040000 > hint.gpio.0.msize=0x1000 > hint.gpio.0.irq=2 > > # Each board should override the GPIO bus pins with the configuration > # relevant to it. Thus no pins are defined here. > > # hwpmc device > hint.ar71xx_pmc.0.at="apb0" > hint.ar71xx_pmc.0.irq=5 > ####################################### > > > Thanks > > John > -- > John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" -- Monthadar Al Jaberi From owner-freebsd-mips@FreeBSD.ORG Sat Dec 8 02:24:04 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF24094B; Sat, 8 Dec 2012 02:24:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7027F8FC14; Sat, 8 Dec 2012 02:24:04 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id qB82O3DH029503; Fri, 7 Dec 2012 21:24:03 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id qB82O3PF029500; Sat, 8 Dec 2012 02:24:03 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 8 Dec 2012 02:24:03 GMT Message-Id: <201212080224.qB82O3PF029500@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 02:24:04 -0000 TB --- 2012-12-08 01:14:50 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-12-08 01:14:50 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-12-08 01:14:50 - starting HEAD tinderbox run for mips/mips TB --- 2012-12-08 01:14:50 - cleaning the object tree TB --- 2012-12-08 01:14:50 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-12-08 01:14:50 - cd /tinderbox/HEAD/mips/mips TB --- 2012-12-08 01:14:50 - /usr/local/bin/svn cleanup /src TB --- 2012-12-08 01:15:54 - /usr/local/bin/svn update /src TB --- 2012-12-08 01:16:00 - At svn revision 244010 TB --- 2012-12-08 01:16:01 - building world TB --- 2012-12-08 01:16:01 - CROSS_BUILD_TESTING=YES TB --- 2012-12-08 01:16:01 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-08 01:16:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-08 01:16:01 - SRCCONF=/dev/null TB --- 2012-12-08 01:16:01 - TARGET=mips TB --- 2012-12-08 01:16:01 - TARGET_ARCH=mips TB --- 2012-12-08 01:16:01 - TZ=UTC TB --- 2012-12-08 01:16:01 - __MAKE_CONF=/dev/null TB --- 2012-12-08 01:16:01 - cd /src TB --- 2012-12-08 01:16:01 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Dec 8 01:16:07 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Dec 8 02:21:56 UTC 2012 TB --- 2012-12-08 02:21:56 - cd /src/sys/mips/conf TB --- 2012-12-08 02:21:56 - /usr/sbin/config -m ADM5120 TB --- 2012-12-08 02:21:56 - skipping ADM5120 kernel TB --- 2012-12-08 02:21:56 - cd /src/sys/mips/conf TB --- 2012-12-08 02:21:56 - /usr/sbin/config -m ALCHEMY TB --- 2012-12-08 02:21:56 - skipping ALCHEMY kernel TB --- 2012-12-08 02:21:56 - cd /src/sys/mips/conf TB --- 2012-12-08 02:21:56 - /usr/sbin/config -m AP91 TB --- 2012-12-08 02:21:56 - building AP91 kernel TB --- 2012-12-08 02:21:56 - CROSS_BUILD_TESTING=YES TB --- 2012-12-08 02:21:56 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-08 02:21:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-08 02:21:56 - SRCCONF=/dev/null TB --- 2012-12-08 02:21:56 - TARGET=mips TB --- 2012-12-08 02:21:56 - TARGET_ARCH=mips TB --- 2012-12-08 02:21:56 - TZ=UTC TB --- 2012-12-08 02:21:56 - __MAKE_CONF=/dev/null TB --- 2012-12-08 02:21:56 - cd /src TB --- 2012-12-08 02:21:56 - /usr/bin/make -B buildkernel KERNCONF=AP91 >>> Kernel build for AP91 started on Sat Dec 8 02:21:56 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_domain.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_mbuf.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_mbuf2.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_shm.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_sockbuf.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/kern/uipc_socket.c /src/sys/kern/uipc_socket.c:262: error: static declaration of 'socket_zone' follows non-static declaration /src/sys/sys/socketvar.h:297: error: previous declaration of 'socket_zone' was here *** [uipc_socket.o] Error code 1 Stop in /obj/mips.mips/src/sys/AP91. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-12-08 02:24:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-12-08 02:24:03 - ERROR: failed to build AP91 kernel TB --- 2012-12-08 02:24:03 - 2711.06 user 733.46 system 4152.76 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Dec 8 18:52:41 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 108AEEC6 for ; Sat, 8 Dec 2012 18:52:41 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id CC1468FC20 for ; Sat, 8 Dec 2012 18:52:40 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so1069993pbc.13 for ; Sat, 08 Dec 2012 10:52:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=zpELjTojP91nVxZa4QTFV9ZYchd1s5GD5m3cI5VKkLM=; b=OTF/hukAuB2fKfX5oelzEeNPa8nrsVzYXd9V2iOsL/mq898WPZWiBZQRgf+07cOyTV 2Q9ZvTlxavEIne3wvuIQaIubgJVH6fehzmMSSPKbs0yeo5QLpAxFEafVwj3ZhTTOu64S zCGZdt1j21ja70dlV/damPp0hyIObEp2QKJTeb/XMAw2sWX0oDLPoPr4HkQYxbHT6CFa NxTUemv+1a/BUshgnjESes/CeyZgFpZrrRErmOCc3dg5+F7d4FWgqJGfUfDKNjbKijO3 WpzMKD2Dir/huNOaIRPKd/s1DKL0gyXjk2v6hNJgXDAEgWxlqcuRmSWfy7YR1qRRTXpG bHVQ== Received: by 10.66.74.98 with SMTP id s2mr22493874pav.64.1354992760033; Sat, 08 Dec 2012 10:52:40 -0800 (PST) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id ni3sm8823341pbc.2.2012.12.08.10.52.37 (version=SSLv3 cipher=OTHER); Sat, 08 Dec 2012 10:52:39 -0800 (PST) Date: Sat, 8 Dec 2012 08:51:12 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: arm@freebsd.org, mips@freebsd.org, powerpc@freebsd.org, sparc64@freebsd.org, John Baldwin , attilio@FreeBSD.org, mav@FreeBSD.org, scottl@freebsd.org, kib@freebsd.org, marcel@freebsd.org Subject: Call for testing and review, busdma changes Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQmgx68kOKN9JqDyRESI2sYdlrJwzC5usQzcTbQxKXWvMyK62Y+2fs45uZj1Un6k8jHGLpkh X-Mailman-Approved-At: Sat, 08 Dec 2012 18:56:58 +0000 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, 08 Dec 2012 18:52:41 -0000 Hello, http://people.freebsd.org/~jeff/physbio.diff I have a relative large patch that reforms the busdma API so that new types may be added without modifying every architecture's busdma_machdep.c. It does this by unifying the bus_dmamap_load_buffer() routines so that they may be called from MI code. The MD busdma is then given a chance to do any final processing in the complete() callback. This patch also contains cam changes to unify the bus_dmamap_load* handling in cam drivers. The arm and mips implementations saw the largest changes since they have to track virtual addresses for sync(). Previously this was done in a type specific way. Now it is done in a generic way by recording the list of virtuals in the map. I have verified that this patch passes make universe which includes several kernel builds from each architecture. I suspect that if I broke anything your machine simply won't boot or will throw I/O errors. There is little subtlety, it is mostly refactoring. The next step is to allow for dma loading of physical addresses. This will permit unmapped I/O. Which is a significant performance optimization targeted for 10.0. Many thanks for your assistance. Any review feedback is also appreciated. Jeff From owner-freebsd-mips@FreeBSD.ORG Sat Dec 8 20:41:21 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73446B36 for ; Sat, 8 Dec 2012 20:41:21 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 248C18FC08 for ; Sat, 8 Dec 2012 20:41:20 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1864932vba.13 for ; Sat, 08 Dec 2012 12:41:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+ZWeLvMY3FhF+dTSvaWjuxlqD6ffIUvJF+Q+wMYwN78=; b=aZf3r7FHPaRqBCJ5axfmljJdfTkJHlaEjUYBUMTuP7SIZJCRJLkzcmOrV5XHdsd/yL 3W+b1rfV4vCnr8bYz+zc43rlCIUXFAhQA3Ky9CTeGVZaf/Nr/Ko70vB8oZZRTdX2/9+U FSTmweC9kcZm643gOM6hXhgWEzL8+5+bmkgcESAejxW5rCTae4zBHUzgnlUptr7lj4ts J+B56dqzDxOxb0HgCL8eo0hvq7GcN21bRy/3KUrZfi4ZnOz3XxZ1lBOjHemPwOJgq6S1 WMGhFRkcPn8TamEQoafGjrLXdW1A3wXhVkjpsz56gR6WgLGQU6GgNHKajuVQGxc4TNEL dYwQ== MIME-Version: 1.0 Received: by 10.220.40.135 with SMTP id k7mr6151367vce.12.1354999280272; Sat, 08 Dec 2012 12:41:20 -0800 (PST) Received: by 10.58.246.99 with HTTP; Sat, 8 Dec 2012 12:41:20 -0800 (PST) In-Reply-To: References: <20120607184354.GB90876@zibbi.meraka.csir.co.za> Date: Sat, 8 Dec 2012 18:41:20 -0200 Message-ID: Subject: Re: Routerboard RB433AH From: Luiz Otavio O Souza To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 08 Dec 2012 20:41:21 -0000 On 7 December 2012 12:27, Monthadar Al Jaberi wrote: > Sorry for being too late, have you solved this issue? > > br, > > On Thu, Jun 7, 2012 at 8:43 PM, John Hay wrote: >> Hi, >> >> I found a RB433AH that is not doing anything and was wondering if one >> can run FreeBSD on it. For a start I thought of just a NFS boot. I >> started with the AR71XX_BASE config file and removed the USB and >> other stuff that I think I do not need and can get it load the kernel >> and start it. But it looks like there is a problem with the ethernet >> because I get stuck at: >> >> Timecounters tick every 1.000 msec >> Sending DHCP Discover packet from interface arge0 (00:0c:42:90:f9:de) >> arge0: link state changed to DOWN >> arge0: link state changed to UP >> DHCP/BOOTP timeout for server 255.255.255.255 >> DHCP/BOOTP timeout for server 255.255.255.255 >> ... >> >> This just keeps on repeating. >> >> Maybe I need some specific setup for the ethernet / phy. Anybody with >> ideas? >> Yeah, sorry for the delay... It's been a while since the last boot of my RB433UAH, so my kernel and hints are not really updated. But back then, i have this setup for the PHYs: # arge0 hint.arge.0.at="nexus0" hint.arge.0.maddr=0x19000000 hint.arge.0.msize=0x1000 hint.arge.0.irq=2 # PHY0, PHY1 hint.arge.0.phymask=0x03 # arge1 hint.arge.1.at="nexus0" hint.arge.1.maddr=0x1A000000 hint.arge.1.msize=0x1000 hint.arge.1.irq=3 # PHY4 hint.arge.1.phymask=0x10 Note that on RB433,RB450 the wan port is connected to arge1 and not to arge0 as usually, so you need to adjust your bootp setup. In order to keep the original mac address you'll the following patch: http://loos.no-ip.org/rb/routerboot.diff and then add 'options AR71XX_ROUTERBOOT' to kernel file. The etherswitch doesn't support the switch chip on RB433 right now, but i'm working on this. Luiz