Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading PNG for console on older hardware broken
2018-08-08, 21:06
Post: #1
Loading PNG for console on older hardware broken
I had built a undionly.kpxe back in April 2017 and that was working fine.

I recently rebuilt it with latest commits as of July 17, 2018.

The following command worked before:
Code:
console --picture ${main-url}/ipxe/background.png --left 48 --right 48 --top 40 --bottom 105

With the latest build of the undionly.kpxe file, that command fails with the following:
http://ipxe.org/err/2d8c20

Per the error page, this is apparently traced back to arch/x86/interface/pcbios/vesafb.c (line 344). But this file has not been changed since the last time I built that binary. I locked at a few other files that might have been related and that were changed, but the changes there do not look like they could be causing this.

The hardware that is now failing is a Supermicro X7SBE, just for reference - it is old . Other, newer, hardware works fine.

When I restored the previous version of the undionly.kpxe file, the menu and background picture continued to work like expected.

The full error message I am seeing at the console, after the background image is successfully downloaded, is:
Code:
Could not configure console: No such file or directory (http://ipxe.org/2d8c203b)
Could not boot image: No such file or directory (http://ipxe.org/2d8c203b)
No more network devices

Press Ctrl-B for the iPXE command line...
And the script dies at that point and does not show a menu.

Does anyone have any insight as to what changes could have caused this?
Find all posts by this user
Quote this message in a reply
2018-08-08, 21:33
Post: #2
RE: Loading PNG for console on older hardware broken
(2018-08-08 21:06)pxe_curious Wrote:  The following command worked before:
Code:
console --picture ${main-url}/ipxe/background.png --left 48 --right 48 --top 40 --bottom 105

With the latest build of the undionly.kpxe file, that command fails with the following:
http://ipxe.org/err/2d8c20
So something is not detected correctly, I think there is other posts about this, but my suggestion is to add || at the end of that command, that way if the console mode change fails than it's just that that fails, and not the whole boot process.
Here we are http://forum.ipxe.org/showthread.php?tid=8004

Also from the error page you linked:
ipxe.org/2d8c203b Wrote:This error most likely means the console command was unable to find a usable resolution in the VESA BIOS mode list.
You can compile your binary with DEBUG=vesafb to get a list of which resolutions was detected when running the console command.

(2018-08-08 21:06)pxe_curious Wrote:  When I restored the previous version of the undionly.kpxe file, the menu and background picture continued to work like expected.

The full error message I am seeing at the console, after the background image is successfully downloaded, is:
Code:
Could not configure console: No such file or directory (http://ipxe.org/2d8c203b)
Could not boot image: No such file or directory (http://ipxe.org/2d8c203b)
No more network devices

Press Ctrl-B for the iPXE command line...
And the script dies at that point and does not show a menu.

Does anyone have any insight as to what changes could have caused this?

I must also ask, you said that old build works, new does not. And this is on the exact same terminal? so that it isn't that one is over Networked KVM while the other is not or similar?

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-08-09, 00:12
Post: #3
RE: Loading PNG for console on older hardware broken
(2018-08-08 21:33)NiKiZe Wrote:  
(2018-08-08 21:06)pxe_curious Wrote:  The following command worked before:
Code:
console --picture ${main-url}/ipxe/background.png --left 48 --right 48 --top 40 --bottom 105

With the latest build of the undionly.kpxe file, that command fails with the following:
http://ipxe.org/err/2d8c20
So something is not detected correctly, I think there is other posts about this, but my suggestion is to add || at the end of that command, that way if the console mode change fails than it's just that that fails, and not the whole boot process.
Here we are http://forum.ipxe.org/showthread.php?tid=8004

Also from the error page you linked:
ipxe.org/2d8c203b Wrote:This error most likely means the console command was unable to find a usable resolution in the VESA BIOS mode list.
You can compile your binary with DEBUG=vesafb to get a list of which resolutions was detected when running the console command.

(2018-08-08 21:06)pxe_curious Wrote:  When I restored the previous version of the undionly.kpxe file, the menu and background picture continued to work like expected.

The full error message I am seeing at the console, after the background image is successfully downloaded, is:
Code:
Could not configure console: No such file or directory (http://ipxe.org/2d8c203b)
Could not boot image: No such file or directory (http://ipxe.org/2d8c203b)
No more network devices

Press Ctrl-B for the iPXE command line...
And the script dies at that point and does not show a menu.

Does anyone have any insight as to what changes could have caused this?

I must also ask, you said that old build works, new does not. And this is on the exact same terminal? so that it isn't that one is over Networked KVM while the other is not or similar?

Thank you NiKiZe for the quick reply. I will be adding the double pipes to the end of the line, I was already heading that way ;-)

Re your question: Yes, same server connected to regular monitor (not KVM). Doesn't boot with new binary, but does on old one.

If the double pipes resolve it, I will leave it alone. Just couldn't figure out what the difference if between the binaries and the fact that it states that it didn't find the file, when the download was definitely successful.
Find all posts by this user
Quote this message in a reply
2018-08-09, 22:47
Post: #4
RE: Loading PNG for console on older hardware broken
(2018-08-09 00:12)pxe_curious Wrote:  If the double pipes resolve it, I will leave it alone. Just couldn't figure out what the difference if between the binaries and the fact that it states that it didn't find the file, when the download was definitely successful.

Please run it with the debug build.
If possible it is good to get the data so that we can figure out what have gone bad. And also help others that might see this in the future.

If we don't get anything from the debug output then running a bisect to find out exactly when this broke would be extremely helpful
http://ipxe.org/howto/bisect

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)