Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 13:05:27 -0800 (PST)
From:      Youri Adonis <vrtuff@yahoo.com>
To:        freebsd-mips@freebsd.org, Adrian Chadd <adrian.chadd@gmail.com>, Monthadar Al Jaberi <monthadar@gmail.com>
Subject:   Re: arge0: initialization failed: no memory for rx buffers
Message-ID:  <1331067927.59003.YahooMailClassic@web160706.mail.bf1.yahoo.com>
In-Reply-To: <CA%2BsBSoKsHivc=fe2G=0OOwbdr6r2VnQd-zZOBxKKXV2gk_PAJw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--- On Tue, 3/6/12, Monthadar Al Jaberi <monthadar@gmail.com> wrote:

> From: Monthadar Al Jaberi <monthadar@gmail.com>
> Subject: arge0: initialization failed: no memory for rx buffers
> To: freebsd-mips@freebsd.org, "Adrian Chadd" <adrian.chadd@gmail.com>
> 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<PerfCount,WatchRegs,MIPS16,EJTAG>
> =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: <MIPS32 root nexus>
> clock0: <Generic MIPS32 ticker> 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: <Atheros AR71XX GPIO driver> on apb0
> gpio0: [GIANT-LOCKED]
> gpio0: function_set: 0x0
> gpio0: function_clear: 0x0
> gpio0: gpio pinmask=3D0xff
> gpioc0: <GPIO controller> on gpio0
> gpiobus0: <GPIO bus> on gpio0
> gpioled0: <GPIO led> at pin(s) 2 on gpiobus0
> ehci0: <AR71XX Integrated USB 2.0 controller> at mem
> 0x1b000000-0x1bffffff irq 1 on nexus0
> usbus0: set host controller mode
> usbus0: EHCI version 1.0
> usbus0: set host controller mode
> usbus0: <AR71XX Integrated USB 2.0 controller> on
> ehci0
> pcib0 at irq 0 on nexus0
> pci0: <PCI bus> on pcib0
> pci0: <old, non-VGA display device> at device 0.0 (no
> driver attached)
> ath0: <Atheros 5413> 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: <Atheros 5413> 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: <Atheros AR71xx built-in ethernet interface> at
> mem
> 0x19000000-0x19000fff irq 2 on nexus0
> miibus0: <MII bus> on arge0
> ukphy0: <Generic IEEE 802.3u media interface> 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: <Atheros AR71xx built-in ethernet interface> at
> mem
> 0x1a000000-0x1a000fff irq 3 on nexus0
> arge1: Ethernet address: 00:15:6d:c8:c9:2d
> spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on
> nexus0
> spibus0: <spibus bus> on spi0
> mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
> mx25l0: mx25ll128, sector 65536 bytes, 256 sectors
> ar71xx_wdog0: <Atheros AR71XX watchdog timer> on
> nexus0
> Timecounters tick every 1.000 msec
> usbus0: 480Mbps High Speed USB v2.0
> ugen0.1: <Atheros> at usbus0
> uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00,
> 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: <Generic> at usbus0
> umass0: <Generic USB Storage, class 0/0, rev 2.00/94.54,
> 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: <Generic STORAGE DEVICE 9454> 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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1331067927.59003.YahooMailClassic>