From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web11.87924.1674770641554709386 for ; Thu, 26 Jan 2023 14:04:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Nv+PkTYZ; spf=pass (domain: gmail.com, ip: 209.85.208.171, mailfrom: luizluca@gmail.com) Received: by mail-lj1-f171.google.com with SMTP id e16so3538564ljn.3 for ; Thu, 26 Jan 2023 14:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=z47Fn8flqkU7jFLqlPxAq4o429H2h2aNGtB8Byo4fBk=; b=Nv+PkTYZHkq8ojXMSKPXau8WQeUQvYkJpgACxjeavELql6eZLTzfIxeae/7G3+6MWk 4h0DUMqg7Nm4cEJDAj3B6g/8KJN9sn9I0/GQ+8yVxFB2gw9XSi626k4/dCWgzRRtrn5n PCqVr2XM+90I/wqXbDzHrXhlelVciqgV6v8pP6vuaazI0K75Os5LIfIuGO3VC1/51AsE Lj5cW13sOsf7yQCgj8rYy55sitd50iS6gYwci8c91yWUB/+26U/PAYhkggHJwoSzhO9/ wFZI+kYhbyb/YT8mM3tGjn30xsY1/yq3jRz/LEwnrycEswb9wxK5z5K/HfTb5XnisFs+ TYDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=z47Fn8flqkU7jFLqlPxAq4o429H2h2aNGtB8Byo4fBk=; b=78J3C7qekkcLjexRPL1/3BKHbDvmJrVP1ylg2zal1xQF2hvaKOtkP875W3yTgZMagh QJTP4vi0H+TFxqkitYEl4I6XAHRLta/OIz2r2swsFc3noCWr4fNGIF2AUCMPMRpVlpz0 Al4UHA63ATQotFJ5aeJyjNIMZEujtFtCUPuevTwiJqjHkqXdpeeg8Q4iDPTzMUZOGEGm OiA9qzjye+rm70K83gu1fB2pP693vy7k8M2skzeGDIvwuK+fgp+YGgLgj54/3ksZWvNE ajNoTi+m4UplP+BrZ043reaUzsoTRdFwGP1ZvVsWOY7g00sOVNTOADYAG8R9/sFL0vQS Eetw== X-Gm-Message-State: AFqh2kqCJbx7EIw11rPRtqWQ7uGGtZhs9l6ByOMIeY6hMcAUIqo3eBWm cwJQJybUB/x7fohmU3M//A8gw9gbU0Y3UTt7VPZvfr61K8YkqQ== X-Google-Smtp-Source: AMrXdXvhkRjAW/alO4tPUCKLoCKz6eapCuBOdQ6HQ0xyqZ9LXeS6XNHF92AxW/hN/rvyPQaSdQBTCZO7ldt1aJ/lRxM= X-Received: by 2002:a2e:a901:0:b0:283:3f1e:2023 with SMTP id j1-20020a2ea901000000b002833f1e2023mr3370756ljq.276.1674770638809; Thu, 26 Jan 2023 14:03:58 -0800 (PST) MIME-Version: 1.0 From: luizluca@gmail.com Date: Thu, 26 Jan 2023 19:03:46 -0300 Message-ID: Subject: Too little and too quick UEFI HTTPv6 error messages To: devel@edk2.groups.io Content-Type: text/plain; charset="UTF-8" Hello, I'm not an UEFI dev but a sysadm using UEFI to netboot using PXE/HTTP IPv4/IPv6. It took a lot of time for me to discover why the firmware was failing to accept the URL offered by the DHCPv6 server. I only got this pretty quick message: "Error: Could not retrieve NBP file size from HTTP server." I needed to record it using a camera and play it frame by frame to be able to read it from a real HW. However, that didn't give me a clue about what was happening. After I read the code (I'm also a dev), I noticed that many conditions could lead to that same error message. In my case, it was the server not setting the content-type to application/efi. Can't we have better error handling to inform the user what is really wrong? Can't we have a single second of delay when an error occurs after the boot process was attempted (i.e. after DHCP answer is good)? Regards, --- Luiz Angelo Daros de Luca luizluca@gmail.com