<div dir="ltr"><div><div><div><div><div><div><div><div><div>Thanks.<br></div>Those numbers tell us that iPXE allocates the memory for the card at a little over 255MB, which is what we would expect on a 256MB machine (iPXE tries to locate itself as high in memory as possible).<br>
<br><br></div>It might be the case that your machine, for some reason, doesn't like us using that memory address. As a test/workaround, you can open the file<br><br></div>ipxe/src/arch/i386/core/relocate.c<br></div>find the line that says:<br>
<br>#define MAX_ADDR (0xfff00000UL)<br><br></div>and replace it with:<br>#define MAX_ADDR (128 * 1024 * 1024)<br><br></div>This will force iPXE to stay just under 128MB in memory. Please let me know if it still freezes with those changes applied.<br>
<br></div>Additionally a log from iPXE built with DEBUG=memmap *without* the above modifications applied would be very helpful.<br>
</div>The memmap debugging output will show us what the BIOS tells us if that memory region is supposed to be usable or not.<br><br>Thanks<br></div>Thomas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Aug 19, 2013 at 5:24 PM, Arnaud Adamy <span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>With ipxe.lkrn it freeze and the debug output is:</div>
<div>3c90c: 0xca3f0 bus: 0ff58230</div>
<div> </div>
<div>Consequently, I haven’t test the ISO.</div>
<div> </div>
<div>Arnaud</div>
<div style="font-style:normal;font-size:small;display:inline;text-decoration:none;font-family:'Calibri';font-weight:normal">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas Miletich</a> </div>
<div><b>Sent:</b> Monday, August 19, 2013 4:00 PM</div><div><div class="h5">
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a> </div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div></div>
<div> </div></div><div><div class="h5">
<div style="font-style:normal;font-size:small;display:inline;text-decoration:none;font-family:'Calibri';font-weight:normal">
<div dir="ltr">
<div>
<div>
<div>
<div>Ok, thanks for testing.<br></div>
<div> </div></div></div>
<div>Just thinking out loudly:<br></div>We are most likely seeing some sort of
memory corruption that is caused by the card. We give the card a memory address
where we want it to put the received packets. As soon as the card has the
address, iPXE freezes. If there's no network cable connected the card can't
receive anything. Therefore it doesn't write to that memory address, and iPXE
doesn't crash.<br><br></div>I can't think of any reason why the memory address
we give to the card could be invalid though. Normally the grub4dos iso emulation
code stays in memory, even after the iso booted. Maybe grub4dos doesn't indicate
it's used memory in the memory map, or iPXE somehow fails to recognize this.<br>
<div>
<div>
<div>
<div class="gmail_extra"><br><br></div>
<div class="gmail_extra">To verify this theory I have attached two
files.<br></div>
<div class="gmail_extra">Please boot ipxe.lkrn directly from grub4dos, or any
other bootloader of your choice. This will eliminate any issues that might be
caused by the iso emulation.<br></div>
<div class="gmail_extra">This version of iPXE will print some values after you
open the interface. Please let me know what those values are, and if iPXE
freezes.<br><br></div>
<div class="gmail_extra">The second file is another iso which will also print the
same values as the lkrn file. If iPXE crashes with the lkrn file there is no
point in testing this iso also. If iPXE didn't crash in the first test, please
run this iso also, and again tell me the values it prints after
ifopen.<br><br>That way we can compare if the memory addresses differ in both
runs.<br><br></div>
<div class="gmail_extra">Thanks again for all your testing
efforts!<br>Thomas<br></div>
<div class="gmail_extra"> </div>
<div class="gmail_extra">
<div> </div>
<div class="gmail_quote">On Mon, Aug 19, 2013 at 3:27 PM, Arnaud Adamy <span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>Humm, is is freezing the same way as before with normal boot and by doing
ifopen from the command line.</div>
<div> </div>
<div>Arnaud</div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div style="FONT:10pt tahoma">
<div><font face="Calibri" size="3"></font> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas Miletich</a>
</div>
<div><b>Sent:</b> Monday, August 19, 2013 3:06 PM</div>
<div>
<div>
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a> </div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div dir="ltr">
<div>Here it is. Maybe you could use another way to load iPXE, to avoid having
to burn another CD?<br><br></div>floppy disk, use another, working, NIC to
chainload iPXE, etc?<br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Aug 19, 2013 at 2:57 PM, Arnaud Adamy <span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>with <a href="http://git.ipxe.org/people/meteger/ipxe.git" target="_blank">http://git.ipxe.org/people/meteger/ipxe.git</a> I got:</div>
<div>fatal: <a href="http://git.ipxe.org/people/meteger/ipxe.git/info/refs" target="_blank">http://git.ipxe.org/people/meteger/ipxe.git/info/refs</a> not
valid: is this a git repository?</div>
<div>I can access many git repos without errors , so to avoid wasting time
with it, please can you send a iso image built from your source and join it
as attached file?</div>
<div>Thank you.</div>
<div> </div>
<div>Arnaud</div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div style="FONT:10pt tahoma">
<div><font face="Calibri" size="3"></font> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas Miletich</a>
</div>
<div><b>Sent:</b> Monday, August 19, 2013 2:49 PM</div>
<div>
<div>
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a> </div>
<div><b>Cc:</b> <a title="ipxe-devel@lists.ipxe.org" href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a> </div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div dir="ltr">
<div> </div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Aug 19, 2013 at 2:45 PM, Arnaud Adamy <span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>Just tested with the cable unplugged and no freeze. The command promt
iPXE> is displayed and I can enter new
commands.</div></div></div></div></blockquote>
<div> </div>
<div>That's very good to know. Thanks<br></div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>I tried to get the sources, but from this repo, git send the
following message:</div>
<div><font face="Courier New">Cloning into 'ipxe'...</font></div>
<div><font face="Courier New">fatal: the remote end hung up
unexpectedly</font></div>
<div> </div>
<div>so I can’t get them. An idea about what is causing
this?</div></div></div></div></blockquote>
<div> </div>
<div>Maybe a firewall that is blocking the git protocol/port? Try the http
link instead:<br><br>git clone <a href="http://git.ipxe.org/people/meteger/ipxe.git" target="_blank">http://git.ipxe.org/people/meteger/ipxe.git</a><br></div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>Arnaud</div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:rgb(245,245,245)">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas Miletich</a>
</div>
<div><b>Sent:</b> Monday, August 19, 2013 1:56 PM</div>
<div>
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a> </div>
<div><b>Cc:</b> <a title="ipxe-devel@lists.ipxe.org" href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a> </div></div>
<div>
<div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hello Arnaud,<br></div>can you check if ifopen also freezes if the
network cable is disconnected?<br><br></div>I have also pushed some
modifications to the 3c90x driver here:<br><a href="https://git.ipxe.org/people/meteger/ipxe.git/shortlog/refs/heads/3c90x" target="_blank">https://git.ipxe.org/people/meteger/ipxe.git/shortlog/refs/heads/3c90x</a><br>
<br></div>One
of the commits has a very slim chance of fixing your issue, I wouldn't
hold my breath though.<br></div>You can get it with:<br><br></div>git
clone git://<a href="http://git.ipxe.org/people/meteger/ipxe.git" target="_blank">git.ipxe.org/people/meteger/ipxe.git</a><br></div>cd
ipxe/src<br>git checkout 3c90x<br><br></div>Then build iPXE as
usual.<br><br>Thomas<br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Aug 19, 2013 at 1:41 PM, Arnaud Adamy <span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>Thanks.</div>
<div>The card works perfectly in Windows 98 SE, in Windows 2000 and with
Debian 7.</div>
<div>In the BIOS, the plug&play option is set to off, the mainboard
an ISA card, an AGP video card and some PCI cards too.</div>
<div>The PC needs to be used today, but there is another 3C905C-TX in a
box, I’ll try with it in another computer. And if it works, I’ll
exchange the two cards.</div>
<div>Maybe it is an IRQ or a bus problem. I’ll try to put the card in
another PCI location and test it again the late afternoon.</div>
<div>Moreover I’ve done tests again early this morning and it freeze
every time. I cannot explain why if worked the first time....</div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">I
confirm the vendor is 10B7 and the device id is 9200</div></div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline"> </div></div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">Arnaud</div></div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline"></div>
<div style="FONT:10pt tahoma">
<div style="BACKGROUND:rgb(245,245,245)">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas
Miletich</a> </div>
<div><b>Sent:</b> Monday, August 19, 2013 12:08 PM</div>
<div>
<div>
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a> </div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div dir="ltr">
<div>
<div>I just tried to reproduce the problem, but everything worked fine
here. I tested with a 3c905C, PCI ID 10B7:9200, the same as
yours.<br><br></div>Could you put the 3c90x card into another machine
and see if iPXE freezes in that machine too? Does the card work in Linux
or Windows or whatever OS you use?<br><br></div>This should be valuable
information in trying to track down the issue. I'll also see if I can
spot anything obvious in the driver code.<br><br>Thomas<br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sat, Aug 17, 2013 at 10:37 PM, Arnaud Adamy
<span dir="ltr"><<a href="mailto:arnaud.adamy@free.fr" target="_blank">arnaud.adamy@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
<div>What I wanted to say is if I don’t press Ctrl+B, the message to
press it disappear and only the messages to the Features line
remain.</div>
<div> </div>
<div>I just made the test again with the debug version I’ve build, and
indeed, when I use ifopen or ifopen net0, it crach with the same
messages as the debug for dhcp do.</div>
<div>And I retested with the live CD and it freeze too.</div>
<div>That’s strange... I’ve done hard reboot, stop and run again, but
the fact is, now it crash every time with ifopen.</div>
<div> </div>
<div>I have done a memtest86 with 3 passes and 64% of the fourth and
no errors detected. The machine is very stable and haven’t had any
problem in the past.</div>
<div> </div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline"></div>
<div style="FONT:10pt tahoma">
<div style="BACKGROUND:rgb(245,245,245)">
<div><b>From:</b> <a title="thomas.miletich@gmail.com" href="mailto:thomas.miletich@gmail.com" target="_blank">Thomas
Miletich</a> </div>
<div><b>Sent:</b> Saturday, August 17, 2013 8:48 PM</div>
<div><b>To:</b> <a title="arnaud.adamy@free.fr" href="mailto:arnaud.adamy@free.fr" target="_blank">Arnaud Adamy</a>
</div>
<div>
<div><b>Subject:</b> Re: [ipxe-devel] iPXE fail to execute dhcp on old
system</div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Thanks for the log file.<br><br></div>I'm quite puzzled by the
output. You said you could open and close the interface manually, yet
the log shows that it freezes in the open function.<br><br></div>It
seems to freeze right when we send the receive ring buffer address to
the card.<br><br></div>Can you get us another log, where you execute
the following commands:<br></div>ifopen net0<br>dhcp
net0<br><br></div>Although there shouldn't be any difference, as dhcp
calls open internally, I'd like to know why your manual ifopen didn't
freeze.<br><br>><font face="Arial"> For test purpose I’m using the
live CD (1.0.0+ (c692a)) from your web site. It load SysLinux and iPXE
and stop after the “Features:” sentence. Just the cursor blink
forever.</font>
<div><font face="Arial">> When I enter the console with Crtl+B, I
get:</font></div>
<div> </div></div>
<div>I'm not sure what you're saying here. iPXE freezes after the
"Feature" line, but you can press CTRL+B to get to the iPXE prompt?
iPXE should try to autoboot after the feature line.<br><br></div>
<div>If it doesn't try to autoboot, please run memtest86+ or something
similar on the machine and let it do a couple of passes, just to make
sure we're not seeing any weird hardware issues.<br></div>
<div> </div>Thanks<br></div>Thomas<br></div></div></div></div></div></div></div></blockquote></div>
<div> </div></div></div></div></div></div></div></div></blockquote></div>
<div> </div></div></div></div></div></div></div></div></blockquote></div>
<div> </div></div></div></div></div></div></div></div></div></blockquote></div>
<div> </div></div></div></div></div></div></div></div></blockquote></div>
<div> </div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div>