DHCP
Claus, Ric
claus at slac.stanford.edu
Thu Mar 21 20:11:13 UTC 2013
Is it known that DHCP works with the 4.11 git HEAD (well, of at least a few months ago)? When I tried it using a board that does DHCP just fine under 4.10.2, it failed and timed out. I forget the exact error message, but something about failing to get a response to a broadcast to 255.255.255.255. I am currently debugging an ethernet driver for a new board using this same 4.11 snapshot, and am seeing the m_data of the mbuf dequeued from the network stack start with data that should be located 28 bytes into the buffer. In other words, the header and the first 14 bytes of payload are missing. The dumps are below (mbuf in local (arm) endian order, and header and payload in network endian order). I'm sure I've still got plenty of things wrong, but this doesn't make sense to me.
This driver is patterned after the lpc-ethernet driver in the ARM BSP shared area. The application that ran to give these dumps is netdemo from the network-demos package from Joel's git area, configured to do BOOTP.
Thanks,
Ric
mbuf:
0030AE80 00000000 00000000 002AC000 000001EC
0030AE90 00000001 44530001 00000000 000001EC
0030AEA0 002AC000 00000000 00000800 00000000
0030AEB0 8918B9A9 CCE91178 2FB3DE86 D88C9F50
0030AEC0 BB9FE227 0ADB9787 5A99FCE4 33CF57FC
0030AED0 27F84B12 FFFFF09A FFFFFFFF 02350A00
0030AEE0 0608997A 00080100 01000406 02350A00
0030AEF0 15AC997A 00004F07 00000000 4F0715AC
header:
002AC000 01010600 FFFFFF01 00068000 00000000
payload:
002AC00E 00000000 00000000 00000000 0000000A
002AC01E 35027A99 00000000 00000000 00000000
002AC02E 00000000 00000000 00000000 00000000
002AC03E 00000000 00000000 00000000 00000000
002AC04E 00000000 00000000 00000000 00000000
002AC05E 00000000 00000000 00000000 00000000
002AC06E 00000000 00000000 00000000 00000000
002AC07E 00000000 00000000 00000000 00000000
002AC08E 00000000 00000000 00000000 00000000
002AC09E 00000000 00000000 00000000 00000000
002AC0AE 00000000 00000000 00000000 00000000
002AC0BE 00000000 00000000 00000000 00000000
002AC0CE 00000000 00000000 00000000 00000000
002AC0DE 00000000 00000000 00000000 00006382
002AC0EE 5363FF00 00000000 00000000 00000000
002AC0FE 00000000 00000000 00000000 00000000
002AC10E 00000000 00000000 00000000 00000000
002AC11E 00000000 00000000 00000000 00000000
002AC12E 00000000 00000000 00000000 00000000
002AC13E 00000000 00000000 00000000 00000000
002AC14E 00000000 00000000 00000000 00000000
002AC15E 00000000 00000000 00000000 00000000
002AC16E 00000000 00000000 00000000 00000000
002AC17E 00000000 00000000 00000000 00000000
002AC18E 00000000 00000000 00000000 00000000
002AC19E 00000000 00000000 00000000 00000000
002AC1AE 00000000 00000000 00000000 00000000
002AC1BE 00000000 00000000 00000000 00000000
002AC1CE 00000000 00000000 00000000 00000000
002AC1DE 00000000 00000000 00000000 000055DF
002AC1EE BFCAB2C2 A01E8D59 B7ED9996
More information about the devel
mailing list