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

Re: how is udev integrated in redhat enterprise linux5?



 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 hp com>:
>
> Try "pci=bfsort" on the boot commandline and see if you get the consistency you are looking for.
>
> Greg Caetano
> greg caetano hp com
> Red Hat Certified Engineer
> RHCE#805007310328754
>
> -----Original Message-----
> From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com] On Behalf Of leilei175 gmail com
> Sent: Wednesday, January 02, 2008 8:25 PM
> To: redhat-list redhat com
> 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 redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



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