iPXE discussion forum
ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." (/showthread.php?tid=8092)



ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-06-03 08:27

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?


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - SebastianRoth - 2016-06-03 21:23

Tried undionly.kkpxe (note the double 'k')?


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-06-04 09:33

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


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-06-07 11:31

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


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-06-30 11:36

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....


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - mcb30 - 2016-07-04 11:42

(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


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-07-08 16:04

(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



RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - mcb30 - 2016-07-08 16:16

(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


RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - warped - 2016-07-08 21:13

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



RE: ASUS AT5IONT-I: iPXE hangs on "iPXE Inicjalcizing devices..." - mcb30 - 2016-07-11 10:52

(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