arge0: initialization failed: no memory for rx buffers

Youri Adonis vrtuff at yahoo.com
Tue Mar 6 21:05:35 UTC 2012



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

> From: Monthadar Al Jaberi <monthadar at gmail.com>
> Subject: arge0: initialization failed: no memory for rx buffers
> To: freebsd-mips at freebsd.org, "Adrian Chadd" <adrian.chadd at gmail.com>
> Date: Tuesday, March 6, 2012, 10:37 AM
> 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=arge0
> options        BOOTP_COMPAT
> options       
> ROOTDEVNAME=\"nfs:192.168.1.184:/usr/root\"
> 
> 
> boot dump:
> Now booting linux kernel:
>  Base address 0x80050000 Entry 0x80050100
>  memsize=0x08000000
>  modetty0=0,n,8,1,hw
>  board=RouterStation PRO
>  ethaddr=00.15.6d.c8.c9.2c
> CPU platform: Atheros AR7161 rev 2
> CPU Frequency=720 MHz
> CPU DDR Frequency=360 MHz
> CPU AHB Frequency=180 MHz
> platform frequency: 720000000
> arguments:
>   a0 = 00000002
>   a1 = 80050028
>   a2 = 80050000
>   a3 = 0000000a
> Cmd line: 
> �����~��w��.߷������������c��������������������������������������������]�o��������_�����������?�S
> Environment:
>   memsize = 0x08000000
>   modetty0 = 0,n,8,1,hw
>   ethaddr = 00.15.6d.c8.c9.2c
>   board = RouterStation PRO
> 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<PerfCount,WatchRegs,MIPS16,EJTAG>
>   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 #2: Tue Mar  6 15:25:15 CET 2012
>    
> root at 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  = 134217728 (131072K bytes)
> avail memory = 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=0xff
> 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:  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:  SCSI over Bulk-Only; quirks = 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
> 
> 
> -- 
> Monthadar Al Jaberi

Though I haven't updated to the latest AR71XX trunk, the only way I can this work so far was to hardcode the MAC address.


Youri



> _______________________________________________
> freebsd-mips at freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
> 


More information about the freebsd-mips mailing list