Andres, good catch, thanks for the reminder; I had skipped over that
part of the original bug report.

The additional attached patch lower cases the MAC address too; maybe the code 
would be rewritten to have two vars and a loop instead of calling sprintf, I'll 
check with Jason what he prefers.  With this additional patch, I get the 
expected lowercasing:
[...]
3 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
       scanning bus for ethernet devices... 1 Ethernet Device(s) found
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 172.17.0.2
missing environment variable: pxeuuid
missing environment variable: ethaddr
Retreiving file: pxelinux.cfg/01-2e-40-72-a2-6c-0a
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 172.16.0.254; our IP address is 172.17.0.2
Filename 'pxelinux.cfg/01-2e-40-72-a2-6c-0a'.
Load address: 0x88000000
Loading: EHCI timed out on TD - token=0x8008d80
T 
TFTP error: 'File not found' (1)
Not retrying...
File not found
Retreiving file: pxelinux.cfg/AC110002
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 172.16.0.254; our IP address is 172.17.0.2
Filename 'pxelinux.cfg/AC110002'.
[...]


Another thing I noticed from my earlier comment comparing pxelinux and u-boot: 
pxelinux doesn't send a DHCP request itself, so it doesn't make sense to 
compare the place where they get the UUID from; pxelinux does the meaningful 
thing in trying to read the uuid from the reply packet cached by the network 
card's PXE ROM (it might have been set in the request or in the reply), and 
u-boot-linaro does the meaningful thing in setting it in the request.

** Patch added: "0002-pxecfg-Lower-case-MAC-address-to-match-pxelinux.patch"
   
https://bugs.launchpad.net/ubuntu/+source/u-boot-linaro/+bug/827705/+attachment/2287113/+files/0002-pxecfg-Lower-case-MAC-address-to-match-pxelinux.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/827705

Title:
  PXE boot requests non-standard config filename

To manage notifications about this bug go to:
https://bugs.launchpad.net/u-boot/+bug/827705/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to