passing modules options on boot from floppy

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

 



Hello,

In a previous thread, Jeff Busch pointed that:

 >> put this in your ks.cfg before your network line:
 >>   device ethernet eepro100 --opts "options=0x30,0x30"

Are there any other ways to do this? The reason I ask is as follows:

I have a slew (read: several hundred) HP DL{360|380|580} boxes with Intel 
and Broadcom NICs. For historical reasons, all switch ports are pinned to
100/fd. Our kickstart environment gets the ks.cfg location from dhcp, and
the ks.cfg file comes from nfs at the location pointed to by dhcp.

This presents an interesting problem: I can't fully rely on Jeff's solution
because I need to set the interface _before_ I can get to ks.cfg :-P How is
it then that you pass options to module drivers when you're booting from the
floppy? My first inclination was to add something like this to module-info:

bcm5700
        eth
        "Broadcom BCM5700 10/100/1000 ethernet adapter"
        auto_speed "Autonegotiation on/off" "[01]" "0"
        line_speed "Line speed" "[01]+" "100"
        full_duplex "Link duplexity" "[01]" "1"

According to module-info:

  <default> is a default value.  This should not be provided unless it is
  almost always the correct value, and will not, say, hang a user's computer
  if it is wrong

Yet it makes no difference on how the module gets loaded. I tried adding
it to module-info on 'stage2', with no results either. I decided to get
creative and added a modules.conf file with

   options bcm5700 auto_speed=0 line_speed=100 full_duplex=1

and still no love (actually, the addition of this to stage2 seems to 
now lock the box 8-O).

Any pointers? I've been reading through the list and have not been able to
find much.

TIA.

-G





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux