[Barrelfish-users] Network module issues on Intel SCC

Wayne Zhang waynegatesv5 at gmail.com
Tue Sep 17 12:36:20 CEST 2013


Dear all,

I try to run barrelfish system on Intel SCC machine. And I want to mount a
nfs file on the MCPC of SCC.

My menu.lst.scc is as following:

*timeout 0*
*
*
*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/ramfsd boot*
*module  /scc/sbin/skb boot*
*module  /scc/sbin/spawnd boot BOOT_CORE*
*module  /scc/sbin/startd boot*
*
*
*# modules needed to start the networking*
*module  /scc/sbin/eMAC core=0*
*module  /scc/sbin/NGD_MNG core=0 cardname=eMAC2_0*
*module  /scc/sbin/netd core=0 cardname=eMAC2_0*
*module  /scc/sbin/eMAC core=1*
*module  /scc/sbin/NGD_MNG core=2 cardname=eMAC2_1*
*module  /scc/sbin/netd core=1 cardname=eMAC2_1*
*
*
*# RCK memory map*
*# 624MB private RAM*
*mmap map    0x0    0x27000000  1*
*mmap    map     0x80000000  0x03000000  1*
*# 1GB shared RAM (over all MCs) in the middle of address space*
*mmap    map     0x84000000  0x3c000000  1*
*# 384MB MPB space*
*mmap    mmp     0xc0000000  0x18000000  1*
*# 16MB more private RAM (bootup jump is in here, too)*
*mmap map    0xff000000 0x1000000   1*


When barrelfish boots up, barrelfish comes into a dead loop trying to get
an IP in source code /lib/lwip/src/core/dhcp.c: "*void dhcp_fine_tmr(void)*".
Further calling "*dhcp_discover" *again and again.

The std output is as following:
1379413811.734795901 [tty0] dhcp_timeout()
1379413811.735755643 [tty0] dhcp_timeout(): restarting discovery
1379413811.736759345 [tty0] dhcp_discover()
1379413811.737727972 [tty0] pbuf_alloc(length=308)
1379413811.738694300 [tty0] transaction id xid(abcd0001)
1379413811.739667122 [tty0] dhcp_discover: making request
1379413811.740637744 [tty0] dhcp_discover: realloc()ing
1379413811.741604303 [tty0] udp_connect: connected to 0.0.0.0,port 67
1379413811.742604702 [tty0] dhcp_discover: sendto(DISCOVER,
IP_ADDR_BROADCAST, DHCP_SERVER_PORT)
1379413811.743581653 [tty0] pbuf_header: old 0x2268c718 new 0x2268c710 (8)
1379413811.744547261 [tty0] udp_send: added header in given pbuf 0x2268c6cc
1379413811.745512044 [tty0] udp_send: sending datagram of length 316
1379413811.746473105 [tty0] udp_send: UDP packet length 316
1379413811.747473730 [tty0] inet_chksum_pseudo(): checksumming pbuf
0x2268c6cc (has next 0x0)
1379413811.748451621 [tty0] inet_chksum_pseudo(): pbuf chain
lwip_chksum()=1025
1379413811.749411031 [tty0] udp_send: UDP checksum 0xefda
1379413811.750373147 [tty0] udp_send: ip_output_if (,,,,IP_PROTO_UDP,)
1379413811.751335487 [tty0] pbuf_header: old 0x2268c710 new 0x2268c6fc (20)
1379413811.752299610 [tty0] ip_output_if: en0
1379413811.753273959 [tty0] IP header:
1379413811.754272401 [tty0] +-------------------------------+
1379413811.755272894 [tty0] | 4 | 5 |  0x00 |       336     | (v, hl, tos,
len)
1379413811.756237303 [tty0] +-------------------------------+
1379413811.757193451 [tty0] |        1      |000|       0   | (id, flags,
offset)
1379413811.758163924 [tty0] +-------------------------------+
1379413811.759130618 [tty0] |  255  |   17  |    0xba9c     | (ttl, proto,
chksum)
1379413811.760090206 [tty0] +-------------------------------+
1379413811.761051587 [tty0] |    0  |    0  |    0  |    0  | (src)
1379413811.762015340 [tty0] +-------------------------------+
1379413811.763004899 [tty0] |  255  |  255  |  255  |  255  | (dest)
1379413811.763974091 [tty0] +-------------------------------+
1379413811.764945436 [tty0] netif->output()pbuf_header: old 0x2268c6fc new
0x2268c6ee (14)
1379413811.765911674 [tty0] etharp_send_ip: sending packet 0x2268c6cc
1379413811.766887377 [tty0] lwip_barrelfish: ##### send_pkt_to_network:
ghost_write_index [1] for p 0x2268c6cc
1379413811.767873010 [tty0] lwip_barrelfish: #### to_network_driver, slot 1
pbuf 0x2268c6cc of len 2874140574     8756830
1379413810.122313061 [tty0] dhcp_discover: deleting()ing
1379413810.123310789 [tty0] pbuf_free(0x2268c088)
1379413810.124319658 [tty0] pbuf_free: 0x2268c088 has ref 1, ending here.
1379413810.125344781 [tty0] dhcp_discover: SELECTING
1379413810.126350501 [tty0] dhcp_discover(): set request timeout 2000 msecs
1379413810.129326596 [tty0] netd: Waiting for DHCP to complete
1379413810.291828124 [tty0] tcp_slowtmr: no active pcbs
1379413810.771698730 [tty0] tcp_slowtmr: no active pcbs
1379413811.251817167 [tty0] tcp_slowtmr: no active pcbs
1379413811.731670476 [tty0] tcp_slowtmr: no active pcbs
1379413811.733772300 [tty0] dhcp_fine_tmr(): request timeout
1379413811.734795901 [tty0] dhcp_timeout()
1379413811.735755643 [tty0] dhcp_timeout(): restarting discovery
1379413811.736759345 [tty0] dhcp_discover()

So how can I connect to network on Intel SCC?

Thank you~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20130917/e6b19b60/attachment.html 


More information about the Barrelfish-users mailing list