From owner-freebsd-mips@FreeBSD.ORG Tue Mar 6 21:05:35 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 20132106566B for ; Tue, 6 Mar 2012 21:05:35 +0000 (UTC) (envelope-from vrtuff@yahoo.com) Received: from nm18-vm0.bullet.mail.bf1.yahoo.com (nm18-vm0.bullet.mail.bf1.yahoo.com [98.139.213.138]) by mx1.freebsd.org (Postfix) with SMTP id A394F8FC14 for ; Tue, 6 Mar 2012 21:05:34 +0000 (UTC) Received: from [98.139.212.153] by nm18.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2012 21:05:28 -0000 Received: from [98.139.212.204] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2012 21:05:28 -0000 Received: from [127.0.0.1] by omp1013.mail.bf1.yahoo.com with NNFMP; 06 Mar 2012 21:05:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 151948.53408.bm@omp1013.mail.bf1.yahoo.com Received: (qmail 59772 invoked by uid 60001); 6 Mar 2012 21:05:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1331067928; bh=Mv8XI0k55fl87lTD5MI8TvWD+BIy3CfPVsXaoxle3HA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oLCsFZNwIfcu0ZW49AfdujFKAybnTL8DPpfP4zKeczYLjGZYIPEywxGMWpVfql8M+V6o3MGDsKh5Karkpb6K1gMkHQ/Ic81RC3V6XYSJWsfjcwRjM4daSIZERgq+GeBVJxgodzG+faKGDa0ic9fTgylzEKYVyEdfCkwUdQTjIho= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LeNJ2GHYv+fp0ZpACyclgSuiZ0QDmmIyFoKM0hqfvOL0mvxf6rq1sActI5K61db4KfC5G7uuY/wRps2jW3TiM5BWk1Zlz6+A8BGHKsKbt37FvIdBIE4sBgicN6hFqagfNZ9W+zY+oRlFejtWPIBKfcDbPLtdd1p5fPmcoNYHT3A=; X-YMail-OSG: WvWWrL4VM1m343qRATDbnf3FSkbEMSJCqMszzPPWdP7dJZ8 WxwMEpfO4Dd0kTEQmNmPSTqITbPcS0EjaZI7EOmv7fbyteKUFsm50nqykDif .VSVRs2xskLV_8Axvit1E2zqt_edqiYDUTcNMKwv5_OfkyVWCwPNT6ge29sL n7_.97C0vnbk0fgz7XTIpYTFdr3zXoWy6nWyQb2wNRT_dz3MKiOxqspaXhJ6 WdUOQ1iEUyGbmB_yJ_fOBQ82NE32fq8.2xv6SK4OTpV3KsV0g0va31bnb58Q ed_SksMGt1UUJ8T0VRs58vd7fazFNWkhvDSKRZExNeoCaMZ.6LDS17HdTtEL vnygAkmvXZQAVV6owQyfPQgWpFxbHKFcHy1qEHALx7oED7nezHjTpdtOCaM0 0ucV5zNgI3WxCujxI4wpwlVZi1KLF_Xl80UWBRSsdsBX_o9LVBj67UI6H12x DV82V.K9IfoS1CWXB_IfcdpmtvXRBcGFVWQ6O3URHMMAUDK9M_0sZ8AlRvHR lNQwgwG6VJvOtJ6Ql_2ECdDxOjO5EA.3MfT3rl1Gp_GLXiwg.UCOoLwe0dSs - Received: from [207.198.161.12] by web160706.mail.bf1.yahoo.com via HTTP; Tue, 06 Mar 2012 13:05:27 PST X-Mailer: YahooMailClassic/15.0.5 YahooMailWebService/0.8.116.338427 Message-ID: <1331067927.59003.YahooMailClassic@web160706.mail.bf1.yahoo.com> Date: Tue, 6 Mar 2012 13:05:27 -0800 (PST) From: Youri Adonis To: freebsd-mips@freebsd.org, Adrian Chadd , Monthadar Al Jaberi In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: 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 21:05:35 -0000 --- On Tue, 3/6/12, Monthadar Al Jaberi wrote: > From: Monthadar Al Jaberi > Subject: arge0: initialization failed: no memory for rx buffers > To: freebsd-mips@freebsd.org, "Adrian Chadd" > Date: Tuesday, March 6, 2012, 10:37 AM > Hi everyone, >=20 > 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 >=20 > It seems no packets are sent out? I cant seem to see any on > tcpdump. >=20 > I am attaching kernel config and boot dump. >=20 > Thanks! >=20 > include=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 "AR71XX_BASE" > ident=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 "RSPRO_NFS" > hints=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 "RSPRO.hints" >=20 > # RTC - requires hackery in the spibus code to work > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pcf2123_rtc >=20 > # New Network Filesystem Client > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 NFSCL > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > NFSLOCKD=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 #Network Lock > Manager >=20 > # GEOM modules > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > geom_redboot=C2=A0=C2=A0=C2=A0 # to get access to the SPI > flash partitions > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > geom_uzip=C2=A0=C2=A0=C2=A0 # compressed in-memory > filesystem support > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 GEOM_UZIP >=20 > # For DOS > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 GEOM_PART_BSD > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 GEOM_PART_MBR > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 MSDOSFS >=20 > # For GPT > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 GEOM_LABEL > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 GEOM_PART_GPT >=20 > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 NFS_ROOT > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 BOOTP > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 BOOTP_NFSROOT > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 BOOTP_NFSV3 > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > BOOTP_WIRED_TO=3Darge0 > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 BOOTP_COMPAT > options=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 > ROOTDEVNAME=3D\"nfs:192.168.1.184:/usr/root\" >=20 >=20 > 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: > =C2=A0 a0 =3D 00000002 > =C2=A0 a1 =3D 80050028 > =C2=A0 a2 =3D 80050000 > =C2=A0 a3 =3D 0000000a > Cmd line:=C2=A0 > =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD~=EF=BF=BD=EF=BF=BDw=EF=BF= =BD=EF=BF=BD.=DF=B7=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=BDc=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= =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=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_=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=BDS > Environment: > =C2=A0 memsize =3D 0x08000000 > =C2=A0 modetty0 =3D 0,n,8,1,hw > =C2=A0 ethaddr =3D 00.15.6d.c8.c9.2c > =C2=A0 board =3D RouterStation PRO > Cache info: > =C2=A0 picache_stride=C2=A0 =C2=A0 =3D 4096 > =C2=A0 picache_loopcount =3D 16 > =C2=A0 pdcache_stride=C2=A0 =C2=A0 =3D 4096 > =C2=A0 pdcache_loopcount =3D 8 > cpu0: MIPS Technologies processor v116.147 > =C2=A0 MMU: Standard TLB, 16 entries > =C2=A0 L1 i-cache: 4 ways of 512 sets, 32 bytes per line > =C2=A0 L1 d-cache: 4 ways of 256 sets, 32 bytes per line > =C2=A0 > Config1=3D0x9ee3519e > =C2=A0 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 > =C2=A0=C2=A0=C2=A0 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=C2=A0 6 15:25:15 CET 2012 > =C2=A0 =C2=A0 > 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: > =C2=A0=C2=A0=C2=A0 MEMGUARD map base: 0xc0800000 > =C2=A0=C2=A0=C2=A0 MEMGUARD map limit: 0xc1c00000 > =C2=A0=C2=A0=C2=A0 MEMGUARD map size: 20480 KBytes > real memory=C2=A0 =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:=C2=A0 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: addr 1> 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: addr 2> on usbus0 > umass0:=C2=A0 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 present) > 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 >=20 > --=20 > Monthadar Al Jaberi Though I haven't updated to the latest AR71XX trunk, the only way I can thi= s work so far was to hardcode the MAC address. Youri > _______________________________________________ > 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" >