Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
2016-06-03, 08:27
Post: #1
ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Hi!

I'm trying to iPXE boot of ASUS AT5IONT-I board with current iPXE master.
MoBo has most recent BIOS.
Unfortunatelly iPXE hangs on "iPXE Inicjalcizing devices..."
It hangs on undionly.kpxe and iPXE.pxe
May somebody hint me how to gather debug info and where report it to move forward?
Find all posts by this user
Quote this message in a reply
2016-06-03, 21:23
Post: #2
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Tried undionly.kkpxe (note the double 'k')?
Find all posts by this user
Quote this message in a reply
2016-06-04, 09:33
Post: #3
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Well - I had that idea - but in src/bin I see only undionly.kpxe
Unfortunately there is no undionly.kkpxe :-(
I'm building iPXE in cross-build enviroment with following configure:

BUILD_ARGS = \
HOST_CC="$(build_CC)" \
CROSS_COMPILE="$(compiler_prefix)" \
bin/undionly.kpxe \
bin/ipxe.pxe \
bin-x86_64-efi/ipxe.efi
Find all posts by this user
Quote this message in a reply
2016-06-07, 11:31
Post: #4
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Ok - I finally managed to compile undionly.kkpxe.
With this, boot process hangs on http://ipxe.org/err/040ee1
Issuing
Code:
"ifconf -c dhcp net0"
gives http://ipxe.org/err/4c1060
I tried configure static IP and ping from DHCP server. It timeouts.
Looking on ifstat output shows:
Code:
Link:up, TX:8, TXE:0, RX:0, RXE:0
It looks like iPXE can't read data from NIC.
I tried to compile
Code:
bin/undionly.kkpxe DEBUG=undionly:3,undinet:3,pxeparent:3
Booting with such binary gives following output http://pasteboard.co/1veaOjxk.png
br
Find all posts by this user
Quote this message in a reply
2016-06-30, 11:36
Post: #5
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Just another data point with this MoBo and iPXE: it boots OK with gPXE.
For me effectively it means not ASUS BIOS fault - but rather iPXE issue....
Find all posts by this user
Quote this message in a reply
2016-07-04, 11:42 (This post was last modified: 2016-07-04 11:42 by mcb30.)
Post: #6
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
(2016-06-30 11:36)warped Wrote:  Just another data point with this MoBo and iPXE: it boots OK with gPXE.
For me effectively it means not ASUS BIOS fault - but rather iPXE issue....

In that case, you could find the offending commit via bisection.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-07-08, 16:04
Post: #7
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
(2016-07-04 11:42)mcb30 Wrote:  
(2016-06-30 11:36)warped Wrote:  Just another data point with this MoBo and iPXE: it boots OK with gPXE.
For me effectively it means not ASUS BIOS fault - but rather iPXE issue....

In that case, you could find the offending commit via bisection.

Michael
right.
I forget that iPXE is based on gPXE.
I started bisect and....

receive

Code:
[BUILD] bin/tls.o
net/tls.c: In function ‘tls_new_handshake’:
net/tls.c:1654:19: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-array-qualifiers]
   void *payload = &handshake->payload;
                   ^
cc1: all warnings being treated as errors
bin/rules/net/tls.c.r:3: recipe for target 'bin/tls.o' failed
make: *** [bin/tls.o] Error 1


this was for first iteration of bisect. Command was:
Code:
[root@mythtv ipxe]# git bisect start
[root@mythtv ipxe]# git bisect bad
[root@mythtv ipxe]# git bisect good v1.0.0
Bisecting: 1168 revisions left to test after this (roughly 10 steps)
[b33082a52b093ad91d2de55be5fe258630985562] [pcbios] Add extra debugging messages when unhiding iPXE from memory
[root@mythtv ipxe]# cd src
[root@mythtv src]#   make bin/undionly.kpxe
Find all posts by this user
Quote this message in a reply
2016-07-08, 16:16
Post: #8
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
(2016-07-08 16:04)warped Wrote:  I forget that iPXE is based on gPXE.

Not exactly; I was the main developer of gPXE but had to rename it.

Quote:net/tls.c: In function ‘tls_new_handshake’:
net/tls.c:1654:19: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-array-qualifiers]
void *payload = &handshake->payload;
^
cc1: all warnings being treated as errors

You are likely to hit some build errors when bisecting against a very old commit (e.g. v1.0.0), since each new version of gcc introduces more potential warnings. These have all been fixed in iPXE, but obviously the older code won't have the fixes.

You can work around this by adding NO_WERROR=1 to your build command line. This will cause gcc to report the warnings, but not treat them as fatal.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-07-08, 21:13
Post: #9
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
Well - I'm not able to build even 2 or third bisect iteration.
Error is usually like this:

Code:
ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [LD] bin/gpxe.pxe.tmp
--defsym:2: undefined symbol `obj_gpxe' referenced in expression
Makefile.housekeeping:723: recipe for target 'bin/gpxe.pxe.tmp' failed
make: *** [bin/gpxe.pxe.tmp] Error 1
Find all posts by this user
Quote this message in a reply
2016-07-11, 10:52
Post: #10
RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..."
(2016-07-08 21:13)warped Wrote:  Well - I'm not able to build even 2 or third bisect iteration.
Error is usually like this:

Code:
ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [LD] bin/gpxe.pxe.tmp
--defsym:2: undefined symbol `obj_gpxe' referenced in expression
Makefile.housekeeping:723: recipe for target 'bin/gpxe.pxe.tmp' failed
make: *** [bin/gpxe.pxe.tmp] Error 1

You appear to be trying to build bin/gpxe.pxe. Try bin/ipxe.pxe instead. (Or do the bisection using bin/undionly.kpxe, since that name has not changed.)

Michael
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)