Package: udev
Version: 0.114-2
Severity: normal

When uppgrading my sparc cp1500 from kernel 2.6.17.3 to 2.6.22.3 (my own build 
and config without initrd).
I got the eth0 and eth1 renamed to eth0 eth1_rename. 

I do not know why this only happens for the later kernel but I did find out 
what it is trying to do.

It is the persistent naming scripts that gets confused by the fact that the 
sparc has two network interfaces
witht the same mac. This is something that sun dose on some of there boxes and 
is nothing I can change. 

Everything would be OK if it was possible to turn of this persistent naming but 
I could not find that option.

I could also not find a configuration that ended up eth0 and eth1 being the 
same as the kernel named them. 

This forced me to rename the devices to something else and change the config 
script to this.
----
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="08:00:20:9f:1a:56", 
ATTRS{ifindex}=="1", NAME="eth_a"
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="08:00:20:9f:1a:56", 
ATTRS{ifindex}=="2", NAME="eth_b"
----

And change all opther configuration that had the interface in them. dns, dhcp, 
interfaces, firewall plus a few more. 


Why is there not possible to turn off persistent naming ??





-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 8
lrwxrwxrwx 1 root root  20 Feb  8  2006 020_permissions.rules -> 
../permissions.rules
lrwxrwxrwx 1 root root  13 Feb  8  2006 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root  25 Sep 16  2006 z20_persistent-input.rules -> 
../persistent-input.rules
lrwxrwxrwx 1 root root  19 Feb  8  2006 z20_persistent.rules -> 
../persistent.rules
-rw-r--r-- 1 root root 711 Aug 18 22:19 z25_persistent-net.rules
-rw-r--r-- 1 root root 709 Aug 18 22:17 z25_persistent-net.rules~
lrwxrwxrwx 1 root root  33 Sep 16  2006 z45_persistent-net-generator.rules -> 
../persistent-net-generator.rules
lrwxrwxrwx 1 root root  12 Feb  8  2006 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root  16 Feb  8  2006 z55_hotplug.rules -> ../hotplug.rules
lrwxrwxrwx 1 root root  15 Jan  9  2006 z60_hdparm.rules -> ../hdparm.rules
lrwxrwxrwx 1 root root  29 Sep 16  2006 z75_cd-aliases-generator.rules -> 
../cd-aliases-generator.rules

-- /sys/:
/sys/block/loop0/dev
/sys/block/loop1/dev
/sys/block/loop2/dev
/sys/block/loop3/dev
/sys/block/loop4/dev
/sys/block/loop5/dev
/sys/block/loop6/dev
/sys/block/loop7/dev
/sys/block/ram0/dev
/sys/block/ram1/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sdb/dev
/sys/block/sdb/sdb1/dev
/sys/block/sdb/sdb2/dev
/sys/block/sdb/sdb3/dev
/sys/class/input/mice/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/openprom/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/scsi_generic/sg0/dev
/sys/class/scsi_generic/sg1/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.22.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  libselinux1                   2.0.15-2   SELinux shared libraries
ii  libvolume-id0                 0.114-2    libvolume_id shared library
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip

udev recommends no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/reboot_needed:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to