From owner-freebsd-mips@FreeBSD.ORG Sun May 31 14:07:43 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41397106566B; Sun, 31 May 2009 14:07:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id E34CD8FC1F; Sun, 31 May 2009 14:07:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VE7eGc049653; Sun, 31 May 2009 10:07:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VE7epi026757; Sun, 31 May 2009 10:07:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 73B657302F; Sun, 31 May 2009 10:07:40 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090531140740.73B657302F@freebsd-current.sentex.ca> Date: Sun, 31 May 2009 10:07:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 14:07:44 -0000 TB --- 2009-05-31 13:06:38 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-31 13:06:38 - starting HEAD tinderbox run for mips/mips TB --- 2009-05-31 13:06:38 - cleaning the object tree TB --- 2009-05-31 13:07:07 - cvsupping the source tree TB --- 2009-05-31 13:07:07 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/mips/mips/supfile TB --- 2009-05-31 13:07:28 - building world TB --- 2009-05-31 13:07:28 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 13:07:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 13:07:28 - TARGET=mips TB --- 2009-05-31 13:07:28 - TARGET_ARCH=mips TB --- 2009-05-31 13:07:28 - TZ=UTC TB --- 2009-05-31 13:07:28 - __MAKE_CONF=/dev/null TB --- 2009-05-31 13:07:28 - cd /src TB --- 2009-05-31 13:07:28 - /usr/bin/make -B buildworld >>> World build started on Sun May 31 13:07:29 UTC 2009 >>> 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 [...] gzip -cn /src/usr.bin/jot/jot.1 > jot.1.gz ===> usr.bin/kdump (all) cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -c /src/usr.bin/kdump/kdump.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -c ioctl.c ioctl.c: In function 'ioctlname': ioctl.c:153: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:187: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:2609: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-31 14:07:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-31 14:07:40 - ERROR: failed to build world TB --- 2009-05-31 14:07:40 - 2780.90 user 325.90 system 3661.38 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Jun 3 10:34:59 2009 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADB83106566B for ; Wed, 3 Jun 2009 10:34:59 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2788D8FC15 for ; Wed, 3 Jun 2009 10:34:58 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by bwz9 with SMTP id 9so8773315bwz.43 for ; Wed, 03 Jun 2009 03:34:57 -0700 (PDT) Received: by 10.204.112.1 with SMTP id u1mr685165bkp.208.1244025297265; Wed, 03 Jun 2009 03:34:57 -0700 (PDT) Received: from terran.mk.farlep.net (i183-101-19-89.vpdn.way.kv.chereda.net [89.19.101.183]) by mx.google.com with ESMTPS id 21sm1999344fks.39.2009.06.03.03.34.56 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:34:56 -0700 (PDT) Sender: Alex RAY Date: Wed, 3 Jun 2009 13:34:28 +0300 From: Alexandr Rybalko To: freebsd-mips@freebsd.org Message-Id: <20090603133428.b100fe6f.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: BCM5354 D-Link DIR-320 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 10:34:59 -0000 Hi to All! News: BFE + RoboSwitch - WORKED USB OHCI+EHCI - NOT DONE (sometime see vendor string, sometime not) UART console - WORKED (to mach hardcoded values) entry: mips_init() Cache info: picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 cpu0: Broadcom processor v41.144 MMU: Standard TLB, 32 entries L1 i-cache: 4 ways of 256 sets, 16 bytes per line L1 d-cache: 2 ways of 512 sets, 16 bytes per line Config1=0x3e9b6c86 Va=0xc0000000 Ve=ffffc000 init kernel_segmap va >> = 768 nkpt:120 avail_start:0x439000 avail_end:0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb hz=100 cyl_per_hz:132000 cyl_per_usec:132 freq:132000000 cyl_per_hz:1320000 cyl_per_sec:132000000 Copyright (c) 1992-2009 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 8.0-CURRENT #533 r120:192973MS: Wed Jun 3 12:33:29 EEST 2009 root@terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/usr/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704 real memory = 32763904 (31996K bytes) Physical memory chunk(s): 0x00439000 - 0x01f44fff, 28360704 bytes (6924 pages) avail memory = 28008448 (26MB) null: nfslock: pseudo-device mem: nexus0: clock0: on nexus0 clock0: [FILTER] siba0: start 18000000 len 00010000 siba0: idlo = 600422dd siba0: idhi = 42439004 siba0: chipcore id = 00000800 siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002 siba0: 7 cores detected. siba0: after remapping: start 18000000 len 00007000 siba0: at mem 0x18000000-0x18006fff on nexus0 siba_attach: entry siba_setup_devinfo: core=0 Vendor=4243 Dev=800 Rev=014 siba0: corid=0800 regions count 4 0=18000000x1000 1=1fc00000x400000 2=1c000000x2000000 3=1a000000x2000000 siba_setup_devinfo: core=1 Vendor=4243 Dev=806 Rev=009 siba0: corid=0806 regions count 1 0=18001000x1000 siba_setup_devinfo: core=2 Vendor=4243 Dev=816 Rev=008 siba0: corid=0816 regions count 1 0=18002000x1000 siba_setup_devinfo: core=3 Vendor=4243 Dev=819 Rev=002 siba0: corid=0819 regions count=2 func=1 base 18003000x0200 func=2 base 18003800x0100 siba_setup_devinfo: core=4 Vendor=4243 Dev=80f Rev=004 siba0: corid=080f regions count 4 0=18004000x1000 1=00000000x8000000 2=10000000x8000000 3=80000000x20000000 siba_setup_devinfo: core=5 Vendor=4243 Dev=812 Rev=00d siba0: corid=0812 regions count 1 0=18005000x1000 siba_setup_devinfo: core=6 Vendor=4243 Dev=81c Rev=002 siba0: corid=081c regions count 1 0=18006000x1000 siba_cc0: at mem 0x18000000-0x18000fff irq 0 on siba0 siba_cc0: [FILTER] siba_cc0: Core Revision 20 siba_cc0: Number of UARTs 2 siba_cc0: UARTs clock select 0x08 siba_cc0: UART use internal divided clock siba_cc0: UART use GPIO pins 15:12 siba_cc0: Unknown ExtBus type siba_cc0: Parallel flash siba_cc0: Type of PLL 0x00 siba_cc0: JTAG Master Present siba_cc0: PMU Present uart0: [FILTER] uart0: fast interrupt uart0: console (115200,n,8,1) siba_cc_attach: done bfe0: at mem 0x18001000-0x18001fff irq 1 on siba0 bfe_robo_config_vlan: Add port 1 untagged to VLAN=1 bfe_robo_config_vlan: Add port 2 untagged to VLAN=1 bfe_robo_config_vlan: Add port 3 untagged to VLAN=1 bfe_robo_config_vlan: Add port 4 untagged to VLAN=1 bfe_robo_config_vlan: Add port 5 untagged CPU MII to VLAN=1 bfe_robo_config_vlan: Add port 0 untagged to VLAN=2 bfe_robo_config_vlan: Add port 5 tagged CPU MII to VLAN=2 miibus0: on bfe0 bfeswitch0: PHY 0 on miibus0 bfeswitch0: 100baseTX-FDX bfe0: Ethernet address: 00:1b:11:31:df:0a bfe0: [MPSAFE] bfe0: [ITHREAD] siba_mips0: at mem 0x18002000-0x18002fff on siba0 siba_mips0: SBIPSFlag=03020100 siba_mips0: SBIPSFlagHigh=00000000 siba_mips0: SBIntVec=000000f0 ohci0: at mem 0x18003000-0x18003fff irq 4 on siba0 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: set host controller mode usbus1 on ohci0 usbus0 on ohci0 siba_sdram0: at mem 0x18004000-0x18004fff on siba0 siba0: at device 5 (no driver attached) siba0: at device 6 (no driver attached) Device configuration finished. Timecounter "MIPS32" frequency 132000000 Hz quality 800 Timecounters tick every 10.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 bootpc_init: wired to interface 'bfe0' Sending DHCP Discover packet from interface bfe0 (00:1b:11:31:df:0a) ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 Received DHCP Offer packet on bfe0 from 0.0.0.0 (accepted) (no root path) uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered ugen1.2: at usbus1 Sending DHCP Request packet from interface bfe0 (00:1b:11:31:df:0a) Received DHCP Ack packet on bfe0 from 0.0.0.0 (accepted) (got root path) bfe0 at 192.168.0.1 server 0.0.0.0 subnet mask 255.255.255.0 rootfs 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips Adjusted interface bfe0 Trying to mount root from nfs: NFS ROOT: 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips warning: no time-of-day clock registered, system time will not be set accurately warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Interface bfe0 IP-Address 192.168.0.1 Broadcast 192.168.0.255 -- Alexandr Rybalko From owner-freebsd-mips@FreeBSD.ORG Wed Jun 3 10:42:10 2009 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE1F3106568D for ; Wed, 3 Jun 2009 10:42:10 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f163.google.com (mail-fx0-f163.google.com [209.85.220.163]) by mx1.freebsd.org (Postfix) with ESMTP id 6C65B8FC12 for ; Wed, 3 Jun 2009 10:42:10 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by fxm7 with SMTP id 7so2555955fxm.43 for ; Wed, 03 Jun 2009 03:42:09 -0700 (PDT) Received: by 10.204.102.76 with SMTP id f12mr731286bko.137.1244025729247; Wed, 03 Jun 2009 03:42:09 -0700 (PDT) Received: from terran.mk.farlep.net (i183-101-19-89.vpdn.way.kv.chereda.net [89.19.101.183]) by mx.google.com with ESMTPS id 9sm1999444fks.28.2009.06.03.03.42.08 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:42:08 -0700 (PDT) Sender: Alex RAY Date: Wed, 3 Jun 2009 13:41:40 +0300 From: Alexandr Rybalko To: "freebsd-mips@freebsd.org" Message-Id: <20090603134140.a0a241b3.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: BCM5836 D-Link DIR-330 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 10:42:11 -0000 Results the same as DIR-320, but bfe with different PHY (switch BCM5325E) And different USB core. entry: mips_init() Cache info: picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 cpu0: Broadcom processor v6.144 MMU: Standard TLB, 32 entries L1 i-cache: 2 ways of 512 sets, 16 bytes per line L1 d-cache: 2 ways of 512 sets, 16 bytes per line Config1=0x3ed96c82 Va=0xc0000000 Ve=ffffc000 init kernel_segmap va >> = 768 nkpt:120 avail_start:0x419000 avail_end:0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb hz=100 cyl_per_hz:132000 cyl_per_usec:132 freq:132000000 cyl_per_hz:1320000 cyl_per_sec:132000000 Copyright (c) 1992-2009 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 8.0-CURRENT #533 r120:192973MS: Wed Jun 3 12:33:29 EEST 2009 root@terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/usr/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704 real memory = 32894976 (32124K bytes) Physical memory chunk(s): 0x00419000 - 0x01f43fff, 28487680 bytes (6955 pages) avail memory = 28135424 (26MB) null: nfslock: pseudo-device mem: nexus0: clock0: on nexus0 clock0: [FILTER] siba0: start 18000000 len 00010000 siba0: idlo = 100422dd siba0: idhi = 42438003 siba0: chipcore id = 00000800 siba0: ccid = 00094704, cc_id = 4704, cc_rev = 0009 siba0: 9 cores detected. siba0: after remapping: start 18000000 len 00009000 siba0: at mem 0x18000000-0x18008fff on nexus0 siba_attach: entry siba_setup_devinfo: core=0 Vendor=4243 Dev=800 Rev=003 siba0: corid=0800 regions count 4 0=18000000x1000 1=1fc00000x400000 2=1c000000x2000000 3=1a000000x2000000 siba_setup_devinfo: core=1 Vendor=4243 Dev=806 Rev=006 siba0: corid=0806 regions count 1 0=18001000x1000 siba_setup_devinfo: core=2 Vendor=4243 Dev=806 Rev=006 siba0: corid=0806 regions count 1 0=18002000x1000 siba_setup_devinfo: core=3 Vendor=4243 Dev=808 Rev=003 siba0: corid=0808 regions count 1 0=18003000x1000 siba_setup_devinfo: core=4 Vendor=4243 Dev=804 Rev=008 siba0: corid=0804 regions count 3 0=18004000x1000 1=08000000x8000000 2=40000000x40000000 siba_setup_devinfo: core=5 Vendor=4243 Dev=816 Rev=003 siba0: corid=0816 regions count 1 0=18005000x1000 siba_setup_devinfo: core=6 Vendor=4243 Dev=807 Rev=002 siba0: corid=0807 regions count 1 0=18006000x1000 siba_setup_devinfo: core=7 Vendor=4243 Dev=80b Rev=000 siba0: corid=080b regions count 1 0=18007000x1000 siba_setup_devinfo: core=8 Vendor=4243 Dev=80f Rev=002 siba0: corid=080f regions count 4 0=18008000x1000 1=00000000x8000000 2=10000000x8000000 3=80000000x20000000 siba_cc0: at mem 0x18000000-0x18000fff irq 0 on siba0 siba_cc0: [FILTER] siba_cc0: Core Revision 3 siba_cc0: Number of UARTs 2 siba_cc0: UARTs clock select 0x08 siba_cc0: UART use internal divided clock siba_cc0: UART use GPIO pins 15:12 siba_cc0: PCMCIA, IDE & Prog siba_cc0: Parallel flash siba_cc0: Type of PLL 0x04 uart0: [FILTER] uart0: fast interrupt uart0: console (115200,n,8,1) siba_cc_attach: done bfe0: at mem 0x18001000-0x18001fff irq 1 on siba0 bfe0: PHY Reset would not complete. mii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 1 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 2 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 3 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 4 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 untagged CPU MII to VLAN=1 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 0 untagged to VLAN=2 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 tagged CPU MII to VLAN=2 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmiibus0: on bfe0 bfeswitch0: PHY 0 on miibus0 bfeswitch0: 100baseTX-FDX bfe0: Ethernet address: 00:1b:11:31:df:0a bfe0: [MPSAFE] bfe0: [ITHREAD] bfe1: at mem 0x18002000-0x18002fff irq 1 on siba0 bfe1: BUG! Timeout waiting for bit 00000002 of register f98 to set. bfe1: PHY Reset would not complete. mii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 1 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 2 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 3 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 4 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 untagged CPU MII to VLAN=1 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 0 untagged to VLAN=2 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 tagged CPU MII to VLAN=2 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmiibus1: on bfe1 bfeswitch1: PHY 0 on miibus1 bfeswitch1: 100baseTX-FDX bfe1: Ethernet address: 00:1b:11:31:df:0a bfe1: [MPSAFE] bfe1: [ITHREAD] ohci0: at mem 0x18003000-0x18003fff irq 3 on siba0 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0 on ohci0 siba0: at device 4 (no driver attached) siba_mips0: at mem 0x18005000-0x18005fff on siba0 siba_mips0: SBIPSFlag=03020100 siba_mips0: SBIPSFlagHigh=00000000 siba_mips0: SBIntVec=000000f0 siba0: at device 6 (no driver attached) siba0: at device 7 (no driver attached) siba_sdram0: at mem 0x18008000-0x18008fff on siba0 Device configuration finished. Timecounter "MIPS32" frequency 132000000 Hz quality 800 Timecounters tick every 10.000 msec usbus0: 12Mbps Full Speed USB v1.0 bootpc_init: wired to interface 'bfe0' bfe0: PHY Reset would not complete. Sending DHCP Discover packet from interface bfe0 (00:1b:11:31:df:0a) ugen0.1: at usbus0 uhub0: on usbus0 Received DHCP Offer packet on bfe0 from 0.0.0.0 (accepted) (no root path) uhub0: 2 ports with 2 removable, self powered uhub_reattach_port:365: giving up port reset - device vanished! Sending DHCP Request packet from interface bfe0 (00:1b:11:31:df:0a) Received DHCP Ack packet on bfe0 from 0.0.0.0 (accepted) (got root path) uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! bfe0 at 192.168.0.1 server 0.0.0.0 subnet mask 255.255.255.0 rootfs 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips Adjusted interface bfe0 Trying to mount root from nfs: NFS ROOT: 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips warning: no time-of-day clock registered, system time will not be set accurately warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Interface bfe0 IP-Address 192.168.0.1 Broadcast 192.168.0.255 uhub_reattach_port:365: giving up port reset - device vanished! No suitable dump device was found. uhub_reattach_port:365: giving up port reset - device vanished! Entropy harvesting:. mount_nfs: can't update /var/db/mounttab for 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! mount_mfs: mount exited with error code 1 mount_mfs: mount exited with error code 1 mount: proc : Operation not supported by device Mounting /etc/fstab filesystems failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jan 1 00:00:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh -- Alexandr Rybalko From owner-freebsd-mips@FreeBSD.ORG Thu Jun 4 07:12:45 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677561065673 for ; Thu, 4 Jun 2009 07:12:45 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 486F48FC17 for ; Thu, 4 Jun 2009 07:12:45 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: by rv-out-0506.google.com with SMTP id f9so1594209rvb.1 for ; Thu, 04 Jun 2009 00:12:45 -0700 (PDT) Received: by 10.141.19.3 with SMTP id w3mr1600650rvi.74.1244098305779; Wed, 03 Jun 2009 23:51:45 -0700 (PDT) Received: from ?10.0.1.198? (udp016664uds.hawaiiantel.net [72.235.41.117]) by mx.google.com with ESMTPS id c20sm1542954rvf.0.2009.06.03.23.51.43 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 23:51:44 -0700 (PDT) Date: Wed, 3 Jun 2009 20:57:07 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: mips@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Dynamic pcpu, arm, mips, powerpc, sun, etc. help needed (fwd) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 07:12:45 -0000 Hi Folks, I'm forwarding this in case you don't see it. Please help test and implement the remaining change to machdep.c Thanks, Jeff ---------- Forwarded message ---------- Date: Wed, 3 Jun 2009 20:55:39 -1000 (HST) From: Jeff Roberson To: arch@freebsd.org Subject: Dynamic pcpu, arm, mips, powerpc, sun, etc. help needed http://people.freebsd.org/~jeff/dpcpu.diff This patch implements dynamic per-cpu areas such that kernel code can do the following in a header: DPCPU_DECLARE(uint64_t, foo); and this in source: DPCPU_DEFINE(uint64_t, foo) = 10; local = DPCPU_GET(foo); DPCPU_SET(foo, 11); The dynamic per-cpu area of non-local cpus is accessable via DPCPU_ID_{GET,SET,PTR}. If you provide an initializer as I used above that will be the default value when all cpus come up. Otherwise it defaults to zero. This is presently slightly more expensive than PCPU but much more flexible. Things like id and curthread should stay in PCPU forever. I had to change the pcpu_init() call on every architecture to pass in storage for the dynamic area. I didn't change the following three calls because it wasn't immediately obvious how to allocate the memory: ./powerpc/booke/machdep.c: pcpu_init(pc, 0, sizeof(struct pcpu)); ./mips/mips/machdep.c: pcpu_init(&__pcpu[0], 0, sizeof(struct pcpu)); ./mips/mips/machdep.c: pcpu_init(pcpup, 0, sizeof(struct pcpu)); I have not tested anything other than amd64. If you have a !amd64 architecture, in particular any of the embedded architectures, I would really appreciate it. Some of the arm boards postincrement the end address to allocate early memory and some pre-decriment. Hopefully I got it right. Thanks, Jeff