Re: how is udev integrated in redhat enterprise linux5?

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

 



 pci=bfsort doesn't help.it seems this option will ask kernel to use
breadth-first when probing devices.
However, lspci always shows the same result whatever the eth[N] order
is.So I guess this has something to do with udev.
This box uses an EL5,in which the udev version is 095.

I think in the udev.c file udev will use the following sequence to
name all the devices:

udevd_main loops
found device
fork()
call modprobe to load drivers

I think this means udev cannot promise module loading order.

could you give me more hint on this?


2008/1/3, Caetano, Greg <Greg.Caetano@xxxxxx>:
>
> Try "pci=bfsort" on the boot commandline and see if you get the consistency you are looking for.
>
> Greg Caetano
> greg.caetano@xxxxxx
> Red Hat Certified Engineer
> RHCE#805007310328754
>
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of leilei175@xxxxxxxxx
> Sent: Wednesday, January 02, 2008 8:25 PM
> To: redhat-list@xxxxxxxxxx
> Subject: how is udev integrated in redhat enterprise linux5?
>
> Hi,
>
> I have some question about the network device naming mechanism in enterprise Linux5.
> On my box with 2 on-board network interface and another 2 intel network interface,the order of these four interfaces will change from time to time.I mean sometimes the 2 on-board are eth0 eth1,sometimes they are eth1 eth2.
>
> I know I can use MAC address to fix the order.I'm just curious about how could the order change boot by boot without any modification on configuration or hardware.
>
> could any one give some suggestion?
>
> Thanks
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux