[Barrelfish-users] netd is always fail to get ip from dhcp server

Tangjiyuan tangjiyuan at huawei.com
Tue Nov 20 04:12:06 CET 2012


Environment
    intel sccReset 1.4.2
    Linux scctest-desktop 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 x86_64 GNU/Linux
    Barrelfish version: release2012-11-03

Others
    Because only eMAC3 of scc is available, I changed all of eMAC2 to eMAC3 in /lib/lwip/src/core/init.c and /usr/drivers/eMAC/eMAC_hwint.c

Phenomenon
    Hi, all
    Every time I start barrelfish, netd is always fail to get ip from dhcp server.
    And then, I found that in send_packets_on_wire() function it will return 0 with a probability of 98%. That is to mean in send_packets_on_wire() function, sp_queue_empty(spp) will return true with a probability of 98%.

static uint64_t send_packets_on_wire(struct net_queue_manager_binding *cc)
{
    ... ...
    sp_reload_regs(spp);
    if (sp_queue_empty(spp)) {
        return 0;
    }
    ... ...
}

    I tried many times, only three times send_packets_on_wire() function went normally, but it then aborted in sp_process_tx_done() function later.

    What is the problem? Can anyone help me out? Thank you!

menu.lst
title   Barrelfish
root    (nd)
kernel  /scc/sbin/cpu loglevel=4
module  /scc/sbin/cpu
module  /scc/sbin/init
# Domains spawned by init
module  /scc/sbin/mem_serv
module  /scc/sbin/monitor
module  /scc/sbin/chips boot
module  /scc/sbin/ramfsd boot
module  /scc/sbin/skb boot
module  /scc/sbin/spawnd boot bootscc=1
module  /scc/sbin/startd boot
# modules needed to start the networking
module  /scc/sbin/eMAC core=0 device=3 servicename=eMAC3_0
module  /scc/sbin/NGD_mng core=0 cardname=eMAC3_0
module  /scc/sbin/netd core=0 cardname=eMAC3_0
# RCK memory map
# 624MB private RAM
mmap    map     0x0             0x27000000      1
# 1GB shared RAM (over all MCs) in the middle of address space
mmap    map     0x80000000      0x40000000      1
# 16MB more private RAM (bootup jump is in here, too)
mmap    map     0xff000000      0x1000000       1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20121120/b69c0179/attachment-0001.html 


More information about the Barrelfish-users mailing list