Re: Where did the linksleep and nicdelay options go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Never really heard anything back on this so I opened a bug report. We can continue the discussion there. 

https://bugzilla.redhat.com/show_bug.cgi?id=784001


Dusty 




----- Original Message -----
From: Dusty Mabe <dustymabe@xxxxxxxxx>
To: Radek Vykydal <rvykydal@xxxxxxxxxx>; Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list@xxxxxxxxxx>
Cc: 
Sent: Friday, January 20, 2012 11:09 AM
Subject: Re: Where did the linksleep and nicdelay options go?

Ok, linksleep was added back in but it does not seem to have the same functionality. In the past we would wait for link regardless of how the network device was chosen. Now there are differing behaviors. 

For example:

If i specify options along the lines of "ks=<mac address> ip=<ip> netmask=<netmask> linksleep=50", then it prompts me saying it couldn't find the kickstart. If i don't change any values and click ok to continue it will find the kickstart and the install will complete.

If i specify options along the lines of "ks=link ip=<ip> netmask=<netmask> linksleep=50", then it finds the kickstart file because it waits for link first. 


This happens because if "anaconda already knows what interface to use" then it returns early from chooseNetworkInterface(). Early meaning before num_link_checks is used and the actual link status of the device is checked. Since it returns early(before the device has link), when anaconda tries to get the kickstart file from the network it fails. 

Do you guys agree with this logic?

Dusty Mabe




----- Original Message -----
From: Radek Vykydal <rvykydal@xxxxxxxxxx>
To: Dusty Mabe <dustymabe@xxxxxxxxx>; Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list@xxxxxxxxxx>
Cc: 
Sent: Friday, January 20, 2012 6:51 AM
Subject: Re: Where did the linksleep and nicdelay options go?

On 01/20/2012 05:49 AM, Dusty Mabe wrote:
>
> You guys must have added the linksleep functionality back. In the version of anaconda I am using (anaconda-13.21.82-1.el6.centos.1.x86_64.rpm ) the variable that linksleep sets (num_link_checks) is not used anywhere throughout the source code. In the latest anaconda (from the git repo) num_link_checks is used in net.c. I think it was fixed for rhbz#713991.
> I'll try to use anaconda from centos 6.2 and see if I have an issue when I set the linksleep option to a higher value.
> Dusty

You are right, it was added back in RHEL 6.2.

Radek


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux