1 |
On 26/09/14 11:22, Canek Peláez Valdés wrote: |
2 |
> On Fri, Sep 26, 2014 at 3:07 AM, Neil Bothwick <neil@××××××××××.uk> wrote: |
3 |
>> On Fri, 26 Sep 2014 05:27:15 +0200, Alan McKinnon wrote: |
4 |
>> |
5 |
>>>> I buy machines with one ethernet interface. What I find |
6 |
>>>> particularly annoying is this doublespeak about calling it |
7 |
>>>> "predictable". Before the change, it was predicatbly "eth0". Now, |
8 |
>>>> it's different on every different model. |
9 |
>>> It's not doublespeak, the interfaces are named exactly according to |
10 |
>>> where they are on the PCI bus. If you had two interfaces, they show up |
11 |
>>> to the kernel in random order by time and sometimes eth0/eth1 are nto |
12 |
>>> the same they were before the reboot. |
13 |
>> That may be true for PCI devices but not for USB ones. If you unplug a |
14 |
>> USB device and plug it back into the same port, it will get a different |
15 |
>> device number. The naming is more predictable, but it's not there yet. |
16 |
> That doesn't sound right. If unplugging a USB net device and plugging |
17 |
> it again *in the same port* results in a different device *name*, then |
18 |
> it is a bug and should be reported; the description of the algorithm |
19 |
> in [1] sounds like it should get always the same name for the same |
20 |
> port, unless I'm misunderstanding something. |
21 |
> |
22 |
> Regards. |
23 |
> |
24 |
> [1] http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n51 |
25 |
|
26 |
I've seen this happening once on a cheap laptop with a stripped down |
27 |
BIOS I can't |
28 |
even recall brand for, it had a kludge in the BIOS settings for |
29 |
hotplugging, turning |
30 |
it off, allowed the port to remain same, turning it on, some machine |
31 |
specific code |
32 |
gets executed and the kernel interprets the same port as different port |
33 |
|
34 |
Bad hardware, bad hardware settings, maybe missing exception for that |
35 |
particular |
36 |
hardware type in the code that determines the name... I'm not sure, I |
37 |
don't have |
38 |
the machine anymore |
39 |
|
40 |
- Samuli |