From owner-freebsd-mips@FreeBSD.ORG Tue Mar 6 16:07:48 2012 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 E47E2106566B for ; Tue, 6 Mar 2012 16:07:48 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A6BE18FC0C for ; Tue, 6 Mar 2012 16:07:48 +0000 (UTC) Received: by iahk25 with SMTP id k25so9856477iah.13 for ; Tue, 06 Mar 2012 08:07:48 -0800 (PST) Received-SPF: pass (google.com: domain of monthadar@gmail.com designates 10.50.181.199 as permitted sender) client-ip=10.50.181.199; Authentication-Results: mr.google.com; spf=pass (google.com: domain of monthadar@gmail.com designates 10.50.181.199 as permitted sender) smtp.mail=monthadar@gmail.com; dkim=pass header.i=monthadar@gmail.com Received: from mr.google.com ([10.50.181.199]) by 10.50.181.199 with SMTP id dy7mr10776277igc.57.1331050068192 (num_hops = 1); Tue, 06 Mar 2012 08:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5WI8mvbWinOf73xu/o4n3Oj+n2rCfl8IUTGd6USXPOo=; b=rCBCwhc73bvCZU0uN79fpEGcYlJY6/XJJd2MYfhaFaCX+EMw51RI0GVW/uLpxWZcLy 3Jgs7Hv0zPKDBHENfqxmDAjunrw28LFxi7PP0Ja6DM2YceoTt/KnAIqTeHR/p6pkCbaM hPS/rlNGBscObmgBRycVvWYqwHdPplTYZgWyZDm/JTVOHyxmUlUle3EmWTJjh0oFLpIH pwqNcG7t6JJTP9wrJf8j9F5hB6cag6v4E7bozCISR+4P2Gd8aiE6190ncopPEwptYIge +87N4zHkwydEFDgUtlDSf7YKLxv0hEeqvYBeY02964fm1TO52SAxWSf+YIGDLZb+YleN VVHQ== MIME-Version: 1.0 Received: by 10.50.181.199 with SMTP id dy7mr8902131igc.57.1331048262898; Tue, 06 Mar 2012 07:37:42 -0800 (PST) Received: by 10.50.236.67 with HTTP; Tue, 6 Mar 2012 07:37:42 -0800 (PST) Date: Tue, 6 Mar 2012 16:37:42 +0100 Message-ID: From: Monthadar Al Jaberi To: freebsd-mips@freebsd.org, Adrian Chadd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: arge0: initialization failed: no memory for rx buffers 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: Tue, 06 Mar 2012 16:07:49 -0000 Hi everyone, I am cant seem to boot my RouterStation Pro from NFS. I get this error from arge0 after a couple of DHCP/BOOTP timeout for server 255.255.255.255 arge0: initialization failed: no memory for rx buffers It seems no packets are sent out? I cant seem to see any on tcpdump. I am attaching kernel config and boot dump. Thanks! include "AR71XX_BASE" ident "RSPRO_NFS" hints "RSPRO.hints" # RTC - requires hackery in the spibus code to work device pcf2123_rtc # New Network Filesystem Client options NFSCL options NFSLOCKD #Network Lock Manager # GEOM modules device geom_redboot # to get access to the SPI flash partitions device geom_uzip # compressed in-memory filesystem support options GEOM_UZIP # For DOS options GEOM_PART_BSD options GEOM_PART_MBR options MSDOSFS # For GPT options GEOM_LABEL options GEOM_PART_GPT options NFS_ROOT options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 options BOOTP_WIRED_TO=3Darge0 options BOOTP_COMPAT options ROOTDEVNAME=3D\"nfs:192.168.1.184:/usr/root\" boot dump: Now booting linux kernel: Base address 0x80050000 Entry 0x80050100 memsize=3D0x08000000 modetty0=3D0,n,8,1,hw board=3DRouterStation PRO ethaddr=3D00.15.6d.c8.c9.2c CPU platform: Atheros AR7161 rev 2 CPU Frequency=3D720 MHz CPU DDR Frequency=3D360 MHz CPU AHB Frequency=3D180 MHz platform frequency: 720000000 arguments: a0 =3D 00000002 a1 =3D 80050028 a2 =3D 80050000 a3 =3D 0000000a Cmd line: =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD~=EF=BF=BD=EF=BF=BD= w=EF=BF=BD=EF=BF=BD.=DF=B7=EF=BF=BD=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=7F=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=7Fc=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD= =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=7F=EF=BF=BD=EF=BF=BD=7F]=EF=BF=BDo=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=7F_=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =EF=BF=BD=7FS Environment: memsize =3D 0x08000000 modetty0 =3D 0,n,8,1,hw ethaddr =3D 00.15.6d.c8.c9.2c board =3D RouterStation PRO Cache info: picache_stride =3D 4096 picache_loopcount =3D 16 pdcache_stride =3D 4096 pdcache_loopcount =3D 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=3D0x9ee3519e Config3=3D0x20 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 #2: Tue Mar 6 15:25:15 CET 2012 root@freebsd-re-9:/usr/obj/mips.mipseb/usr/src/sys/RSPRO_NFS mips WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0800000 MEMGUARD map limit: 0xc1c00000 MEMGUARD map size: 20480 KBytes real memory =3D 134217728 (131072K bytes) avail memory =3D 122867712 (117MB) random device not loaded; using insecure entropy nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 360000000 Hz quality 800 Event timer "MIPS32" frequency 360000000 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: function_set: 0x0 gpio0: function_clear: 0x0 gpio0: gpio pinmask=3D0xff 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 pci0: on pcib0 pci0: at device 0.0 (no driver attached) ath0: irq 0 at device 17.0 on pci0 ath0: AR5413 mac 10.5 RF5413 phy 6.1 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0063 ath1: irq 1 at device 18.0 on pci0 ath1: AR5413 mac 10.5 RF5413 phy 6.1 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x0063 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 miibus0: on arge0 ukphy0: PHY 4 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto arge0: Ethernet address: 00:15:6d:c8:c9:2c arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: Ethernet address: 00:15:6d:c8:c9:2d spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 on spibus0 mx25l0: mx25ll128, sector 65536 bytes, 256 sectors ar71xx_wdog0: on nexus0 Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 bootpc_init: wired to interface 'arge0' Sending DHCP Discover packet from interface arge0 (00:15:6d:c8:c9:2c) arge0: link state changed to DOWN uhub0: 2 ports with 2 removable, self powered ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x4100 umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not prese= nt) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 arge0: initialization failed: no memory for rx buffers DHCP/BOOTP timeout for server 255.255.255.255 arge0: initialization failed: no memory for rx buffers --=20 Monthadar Al Jaberi