<br><font size=2 face="sans-serif">I have been fighting almost the identical
problem. See the thread entitled</font>
<br>
<br><font size=2 face="sans-serif">"Re: Kickstart via PXE/NFS"</font>
<br>
<br><font size=2 face="sans-serif">After the kernel is loaded via configuration
set up in the pxelinux config file, the</font>
<br><font size=2 face="sans-serif">network will not come up and the ks.cfg
file can then not be loaded. I get the</font>
<br><font size=2 face="sans-serif">network config screen asking to use
DHCP or to enter static info for setup of eth0. It </font>
<br><font size=2 face="sans-serif">has really bee frustrating. I finally
just placed my ks.cfg on CDROM and was able</font>
<br><font size=2 face="sans-serif">to get the rest of the PXE auto install
to complete.</font>
<br>
<br><font size=2 face="sans-serif">If you get a resolution, I will be very
interested. I have had a case open with</font>
<br><font size=2 face="sans-serif">RedHat for 2 days waiting for a response.</font>
<br>
<br><font size=2><tt>kickstart-list-bounces@redhat.com wrote on 05/16/2007
04:38:30 AM:<br>
<br>
> Nope. Nothing in the error logs.<br>
> <br>
> In my troubleshooting, this is what I've found...<br>
> <br>
> When I remove the ks=http://<ServerIP>/<PATH>/ks.cfg from
my "default" file<br>
> Client PXE boots, shows menu and loads vmlinuz/initrd.<br>
> Then it shows up the Language selection.  No luck.<br>
> However, when I change my default file to read: ks=/<PATH>/ks.cfg,<br>
> Client PXE boots, shows menu and loads vmlinuz/initrd.<br>
> Then it gives the error "Error opening kickstart file (null):
Bad address"<br>
> I do some more research (see link below)<br>
> http://linux.derkeiler.com/Mailing-Lists/Fedora/2004-06/5939.html<br>
> and modified the ks.cfg file...add more network parameters like so:<br>
> network --device=eth0 --bootproto=static --ip=171.67.39.139<br>
> --netmask=255.255.255.224 --gateway=171.67.39.129 --nameserver=171.64.7.77<br>
> --hostname=as-test.stanford.edu<br>
> Still no luck.<br>
> I then changed my --device=eth0 to --device=link and then to<br>
> --device=eth1...still no luck.  Then put it back to --device=eth0.<br>
> Then I change my PATH from:<br>
> url --url http://171.67.39.130/ENT_LINUX_64/Enterprise<br>
> to<br>
> url --url http://171.67.39.130/ENT_LINUX_64<br>
> Still no luck.<br>
> Again nothing in the http logs.<br>
> <br>
> It looks like the installer is reading the ks.cfg file silently since
it<br>
> complained that it couldn't find it from the default file when I didn't<br>
> specify the http://<servername>.  <br>
> Can I figure out what is reading and stopping.  Is there a way
to look at<br>
> the kickstart logs (If there is any...I haven't seen one).<br>
> <br>
> I tried to create logging as well in my ks.cfg file...no luck...no
output:<br>
> %pre --log=/tmp/my-pre-log<br>
> echo 'Hello, World!'<br>
> <br>
> Here is my directory/file setup:<br>
> <br>
> TFTP:<br>
> <br>
> /tftpboot/linux-install/pxelinux.cfg<br>
> [root@as-kickball pxelinux.cfg]# ls<br>
> default  pxeos.xml<br>
> <br>
> [root@as-kickball linux-install]# ls -lR<br>
> .:<br>
> total 32<br>
> drwxr-xr-x  2 root root  4096 May 14 00:31 ENT_LINUX_32<br>
> drwxr-xr-x  2 root root  4096 May 16 00:30 ENT_LINUX_64<br>
> drwxr-xr-x  2 root root  4096 May 14 21:09 msgs<br>
> -rwxr-xr-x  1 root root 12952 Oct 24  2006 pxelinux.0<br>
> drwxr-xr-x  2 root root  4096 May 16 00:25 pxelinux.cfg<br>
> <br>
> ./ENT_LINUX_32:<br>
> total 0<br>
> <br>
> ./ENT_LINUX_64:<br>
> total 5984<br>
> -rwxr-xr-x  1 root root 4310479 May 14 15:29 initrd.img<br>
> -rwxr-xr-x  1 root root      85 May 16 00:30 ks.cfg<br>
> -rwxr-xr-x  1 root root 1792835 May 14 15:29 vmlinuz<br>
> <br>
> ./msgs:<br>
> total 24<br>
> -rwxr-xr-x  1 root root 534 May 14 21:00 boot.msg<br>
> -rwxr-xr-x  1 root root 668 Oct 24  2006 expert.msg<br>
> -rwxr-xr-x  1 root root 871 Oct 24  2006 general.msg<br>
> -rwxr-xr-x  1 root root 860 Oct 24  2006 param.msg<br>
> -rwxr-xr-x  1 root root 530 Oct 24  2006 rescue.msg<br>
> -rwxr-xr-x  1 root root 545 Oct 24  2006 snake.msg<br>
> <br>
> ./pxelinux.cfg:<br>
> total 20<br>
> -rwxr-xr-x  1 root root 511 May 16 00:25 default<br>
> -rwxr-xr-x  1 root root 511 May 15 23:34 default.bak<br>
> -rwxr-xr-x  1 root root 461 May 15 14:44 default.dhcp<br>
> -rwxr-xr-x  1 root root 573 May 15 13:30 default.staticIP<br>
> -rwxr-xr-x  1 root root  42 May 14 16:28 pxeos.xml<br>
> <br>
> My HTTP directory:<br>
> <br>
> [root@as-kickball /]# ls -lart /var/www/html<br>
> total 24<br>
> drwxr-xr-x  8 root root 4096 Mar 21 19:17 ..<br>
> drwxr-xr-x  4 root root 4096 May 14 00:35 .<br>
> drwxr-xr-x  3 root root 4096 May 14 00:40 ENT_LINUX_32<br>
> drwxr-xr-x  3 root root 4096 May 15 15:49 ENT_LINUX_64<br>
> <br>
> [root@as-kickball /]# ls -lart /var/www/html/ENT_LINUX_64/Enterprise/<br>
> total 136<br>
> drwxr-xr-x  2 root root 114688 Feb 24 13:15 RPMS<br>
> drwxr-xr-x  2 root root   4096 May 14 15:53 base<br>
> -rwxr-xr-x  1 root root   1386 May 15 15:05 ks_ent_linux_64.cfg<br>
> drwxr-xr-x  3 root root   4096 May 15 15:49 ..<br>
> -rw-r--r--  1 root root   1242 May 16 01:08 ks.cfg<br>
> drwxr-xr-x  4 root root   4096 May 16 01:08 .<br>
> <br>
> I am at a loss now.  I am sure it's something simple as it mostly
is.<br>
> Help is appreciated.<br>
> <br>
> Tomorrow, I'll tell my networking guy to enable "spanning tree"
so I could<br>
> use dhcp and get the static crap out of my way.<br>
> Will let you know more.<br>
> <br>
> -Mukarram.<br>
> <br>
> <br>
> -----Original Message-----<br>
> From: kickstart-list-bounces@redhat.com<br>
> [mailto:kickstart-list-bounces@redhat.com] On Behalf Of Mike Jennings<br>
> Sent: Tuesday, May 15, 2007 8:47 PM<br>
> To: Discussion list about Kickstart<br>
> Subject: Re: Unable to get any http requests:Unable to retreive<br>
> netstg2.imgfile<br>
> <br>
> Is the apache log showing any 404 errors? My stupid screwups  are
 <br>
> always shown in the error log when I typo something.<br>
> <br>
> Mike<br>
> <br>
> <br>
> <br>
> On May 15, 2007, at 10:39 PM, Mukarram Syed wrote:<br>
> <br>
> ><br>
> > Colin,<br>
> > I changed it from ksdevice=eth0 to ksdevice=link<br>
> ><br>
> > Sorry, that didn't help.<br>
> ><br>
> > Wonder what else could it be, why is it not connecting to the
http  <br>
> > server?<br>
> > I don't see any traffic in tcpdump after pxeboot.<br>
> ><br>
> > -Mukarram.<br>
> ><br>
> > -----Original Message-----<br>
> > From: kickstart-list-bounces@redhat.com<br>
> > [mailto:kickstart-list-bounces@redhat.com] On Behalf Of Coe,
Colin  <br>
> > C. (Unix<br>
> > Engineer)<br>
> > Sent: Tuesday, May 15, 2007 5:56 PM<br>
> > To: Discussion list about Kickstart<br>
> > Subject: RE: Unable to get any http requests:Unabletoretreive<br>
> > netstg2.imgfile<br>
> ><br>
> ><br>
> > Try changing 'ksdevice=eth0' to 'ksdevice=link'.  With 2.6
kernels,  <br>
> > the<br>
> > kernel's idea of what eth0 and eth1 are often differs from the
BIOS/ <br>
> > PXE<br>
> > stack.<br>
> ><br>
> > CC<br>
> ><br>
> >> -----Original Message-----<br>
> >> From: kickstart-list-bounces@redhat.com<br>
> >> [mailto:kickstart-list-bounces@redhat.com] On Behalf Of Mukarram
Syed<br>
> >> Sent: Wednesday, 16 May 2007 8:42 AM<br>
> >> To: 'Discussion list about Kickstart'<br>
> >> Subject: RE: Unable to get any http requests:<br>
> >> Unabletoretreive netstg2.imgfile<br>
> >><br>
> >> John,<br>
> >> Sorry...just to make things clear.<br>
> >> eth0 works to get the dhcp/tftp request and eth1 does not.<br>
> >> However, I tried using both is what I meant.<br>
> >><br>
> >> We have a problem with dhcp, the networking folks here did<br>
> >> not enable "spanning tree" on the switch ports,
until that<br>
> >> happens I am using static<br>
> >> ip.   I double checked the syntax etc.<br>
> >><br>
> >> Thanks<br>
> >> -Mukarram.<br>
> >><br>
> >> -----Original Message-----<br>
> >> From: kickstart-list-bounces@redhat.com<br>
> >> [mailto:kickstart-list-bounces@redhat.com] On Behalf Of John<br>
> >> Summerfield<br>
> >> Sent: Tuesday, May 15, 2007 5:32 PM<br>
> >> To: Discussion list about Kickstart<br>
> >> Subject: Re: Unable to get any http requests: Unable<br>
> >> toretreive netstg2.imgfile<br>
> >><br>
> >> Mukarram Syed wrote:<br>
> >>> Thanks Colin for the quick response<br>
> >>><br>
> >>><br>
> >>><br>
> >>> Yes.  It does have.  It's a Dell PE2950.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> I have already tried that option as well.<br>
> >>><br>
> >>> I tried both ksdevice=eth0 and ksdevice=eth1 and they
don't work.<br>
> >>><br>
> >><br>
> >> If you can connect all network interfaces, that might help,<br>
> >> because it then doesn't matter whether either one or both
is used.<br>
> >><br>
> >> If you run arpwatch that will report on which interfaces
are<br>
> >> used (by mac address and IP).<br>
> >><br>
> >> More below...<br>
> >><br>
> >>><br>
> >>><br>
> >>> -Mukarram.<br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>>   _____<br>
> >>><br>
> >>> From: kickstart-list-bounces@redhat.com<br>
> >>> [mailto:kickstart-list-bounces@redhat.com] On Behalf
Of<br>
> >> Coe, Colin C.<br>
> >> (Unix<br>
> >>> Engineer)<br>
> >>> Sent: Tuesday, May 15, 2007 4:52 PM<br>
> >>> To: Discussion list about Kickstart<br>
> >>> Subject: RE: Unable to get any http requests: Unable
to retreive<br>
> >>> netstg2.imgfile<br>
> >>><br>
> >>><br>
> >>><br>
> >>> Does the machine you're on have multiple Ethernet<br>
> >> interfaces?  If so,<br>
> >>> what you may find is adding 'ksdevice=link' will assist.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> CC<br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>>   _____<br>
> >>><br>
> >>><br>
> >>> From: kickstart-list-bounces@redhat.com<br>
> >>> [mailto:kickstart-list-bounces@redhat.com] On Behalf
Of<br>
> >> Mukarram Syed<br>
> >>> Sent: Wednesday, 16 May 2007 7:50 AM<br>
> >>> To: kickstart-list@redhat.com<br>
> >>> Subject: Unable to get any http requests: Unable to retreive<br>
> >>> netstg2.img file<br>
> >>><br>
> >>> Hi<br>
> >>><br>
> >>> I am sure there is some information regarding my request,
but I am<br>
> >>> unable<br>
> >> to<br>
> >>> find it, hence the post.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> I configured my kickstart server using http.<br>
> >>><br>
> >>> I am able to pxeboot the client, but my client is not
able<br>
> >> to get the<br>
> >>> netstg2.img file from the server.<br>
> >>><br>
> >>> I am able to http into my netstg2.img directory from
a web browser<br>
> >>> from another server in the same subnet successfully.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> Also I tried to put in a boot cdrom and run the following:<br>
> >>><br>
> >>> Linux ks=http://<ServerIP>/ENT_LINUX_64/Enterprise/ks.cfg<br>
> >>> ip=<ClientIP><br>
> >>> netmask=255.255.255.224 gateway=<GatewayIP><br>
> >><br>
> >><br>
> >> I have never used static IP for ks, I alway configure<br>
> >> everything I can with dhcp. However, I do know that that's<br>
> >> not the format the kernel expects for the ip parameter. Check<br>
> >> your documentation, if I were writing a script tp parse ip=<br>
> >> then I'd conform to the existing standards (that is, the
way<br>
> >> the kernel expects it), and that's what works with Ubuntu.<br>
> >><br>
> >><br>
> >><br>
> >>><br>
> >>><br>
> >>><br>
> >>> Still no luck. It goes straight to the cd installer.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> I tried to tcpdump the traffic on the MAC address of
the client, it<br>
> >> outputs<br>
> >>> the tftp information and after that it stops.<br>
> >>><br>
> >>> I don't see any http traffic coming from the client.<br>
> >><br>
> >> That's fairly consistent with you specifying ip= incorrectly.<br>
> >><br>
> >> btw, if you're using PXE, the why are you trying to spectify<br>
> >> static IP info?<br>
> >><br>
> >> btw, as I recall, pxelinux has an option to pass on the IP<br>
> >> address info it gets in the proper format for the kernel
to parse.<br>
> >><br>
> >><br>
> >>><br>
> >>><br>
> >>><br>
> >>> I'd appreciate some help in this regard.<br>
> >>><br>
> >>> I've spent all day trying to troubleshoot this but no
luck.<br>
> >>><br>
> >>><br>
> >>><br>
> >>> Thanks Much<br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>> Mukarram Syed<br>
> >>><br>
> >>> Unix Systems Administrator,<br>
> >>><br>
> >>> Stanford University.<br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>> NOTICE: This email and any attachments are confidential.<br>
> >>> They may contain legally privileged information or<br>
> >>> copyright material. You must not read, copy, use or<br>
> >>> disclose them without authorisation. If you are not an<br>
> >>> intended recipient, please contact us at once by return<br>
> >>> email and then delete both messages and all attachments.<br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >> --------------------------------------------------------------<br>
> >> ----------<br>
> >>><br>
> >>> _______________________________________________<br>
> >>> Kickstart-list mailing list<br>
> >>> Kickstart-list@redhat.com<br>
> >>> https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> >><br>
> >><br>
> >> -- <br>
> >><br>
> >> Cheers<br>
> >> John<br>
> >><br>
> >> -- spambait<br>
> >> 1aaaaaaa@coco.merseine.nu  Z1aaaaaaa@coco.merseine.nu<br>
> >><br>
> >> Please do not reply off-list<br>
> >><br>
> >> _______________________________________________<br>
> >> Kickstart-list mailing list<br>
> >> Kickstart-list@redhat.com<br>
> >> https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> >><br>
> >> _______________________________________________<br>
> >> Kickstart-list mailing list<br>
> >> Kickstart-list@redhat.com<br>
> >> https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> >><br>
> ><br>
> > NOTICE: This email and any attachments are confidential.<br>
> > They may contain legally privileged information or<br>
> > copyright material. You must not read, copy, use or<br>
> > disclose them without authorisation. If you are not an<br>
> > intended recipient, please contact us at once by return<br>
> > email and then delete both messages and all attachments.<br>
> ><br>
> > _______________________________________________<br>
> > Kickstart-list mailing list<br>
> > Kickstart-list@redhat.com<br>
> > https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> ><br>
> > _______________________________________________<br>
> > Kickstart-list mailing list<br>
> > Kickstart-list@redhat.com<br>
> > https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> <br>
> _______________________________________________<br>
> Kickstart-list mailing list<br>
> Kickstart-list@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/kickstart-list<br>
> <br>
> _______________________________________________<br>
> Kickstart-list mailing list<br>
> Kickstart-list@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/kickstart-list<br>
</tt></font>

<DIV>
NOTE:  THIS DOCUMENT MAY CONTAIN CONFIDENTIAL AND NONPUBLIC INFORMATION.  IT IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL(S) OR ENTITY(IES) NAMED ABOVE, AND OTHERS SPECIFICALLY AUTHORIZED TO RECEIVE IT.  If you are not the intended recipient of this document, you are notified that any review, dissemination, distribution or copying of this communication is prohibited.  If you have received this communication in error, please notify me immediately by return email, delete the electronic message and destroy any printed copies.  Thank you for your cooperation.<BR>
</DIV>