Re: Make undionly issue, http works unsteadily
"Miller, Shao" <[email protected]> Fri, 27 Mar 2009 18:19:58 -0400
| Newsgroups | gmane.network.etherboot.user,gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
Good day Sean, Just curious: What version does gPXE report it is when you boot the one you= made in RedHat Linux? Maybe you could try enabling debugging in your buil= d with: make DEBUG=3Dhttp bin/undionly.kpxe It's also possible that you don't need to use the 'dhcp net0' command in th= e script you showed in your e-mail. gPXE will already have received DHCP p= arameters if it was able to receive the gPXE script itself. Try removing t= hat line and see what happens. Thanks. - Shao Miller ________________________________________ From: Sean Lv [mailto:[email protected]] = Sent: Friday, March 27, 2009 04:46 To: [email protected]; [email protected]= rceforge.net Subject: [Etherboot-discuss] Make undionly issue, http works unsteadily Hi all =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I use following command in redhat linux t= o build my boot image. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0make bin/undionly.kpxe =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 then I copy undionly.kpxe to TFTP Server = and set DHCP option 67 to point this file. =A0In the DHCP server, there is = another Option 67 in User-class (gPXE) pointing to boot.gpxe (it's gpxe boo= t script). The boot.gpxe's content is list below, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 #!gpxe =A0=A0=A0=A0=A0=A0 ifstat =A0=A0=A0=A0=A0=A0 dhcp net0 =A0=A0=A0=A0=A0=A0 kernel http://10.254.196.6/pxeboot/pxelinux.0 = =A0=A0=A0=A0=A0=A0 boot pxelinux.0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 When I boot PXE client first time, it can= boot to pxelinux menu. =A0However, if I reboot PXE client immediately, it = encountered some problem when executing following command in boot script. kernel http://10.254.196.6/pxeboot/pxelinux.0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Error information: Could not fetch http:/= /10.254.196.6/pxeboot/pxelinux.0: Connecting timeout (0x4c0a6035) = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I tried to reboot PXE client again and ag= ain, and I got the same error. =A0If I wait about 2 or 3 minutes and reboot= ,=A0 the PXE client could boot to pxelinux menu normally. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I don not think it is due to the http ser= ver problem, I think there is something wrong when making undionly.kpxe fil= e. =A0Because I tried to get the boot image from http://rom-o-matic.net/, a= nd this file works fine, it has no any unstable issue as my described above= . = =A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Thanks in advanced. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = Thanks Best Regards Sean Lv Jie =A0 ---------------------------------------------------------------------------= ---