Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172234 - updating udev makes network fail
Summary: updating udev makes network fail
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 21:03 UTC by Nicolai Marck Ødum
Modified: 2007-03-26 00:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This is dmesg when booting on live dvd (dmesg.boot_livedvd,19.64 KB, text/plain)
2007-03-25 21:05 UTC, Nicolai Marck Ødum
Details
dmesg when booting after updating udev (dmesg.sky2_not_working,19.90 KB, text/plain)
2007-03-25 21:06 UTC, Nicolai Marck Ødum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolai Marck Ødum 2007-03-25 21:03:52 UTC
I have installed gentoo using amd64 livedvd doing a netless install and network works.
When I update udev to current version (emerge udev) it mean that my netcard doesn't start after reboot.
I have done some testing trying to workaroud this bug: tried updating all system, building a new kernel (with genkernel), using ACCEPT_KEYWORDS="~amd64" but without any luck.

My netcard is a onboard card on gigabyte GA-965P-DQ6 witch uses sky2 as driver.

lspci | grep -i net
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)

My bios is latest version F9.

When booting on livecd 

dmesg | grep -i sky2
sky2 v1.6 addr 0xe8000000 irq 16 Yukon-EC (0xb6) rev 2
sky2 eth0: addr 00:16:e6:5e:c2:8a
sky2 eth0: enabling interface
sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both

When booting after updating udev
dmesg | grep -i sky2
sky2 v1.6 addr 0xe8000000 irq 16 Yukon-EC (0xb6) rev 2
sky2 eth1: addr 00:16:e6:5e:c2:8a

looks like the interface is never enabled :-)


Reproducible: Always

Steps to Reproduce:
1.Do a netless install with amd64 livedvd
2.Reboot
2.do emerge --sync
3.do emerge udev
4.Reboot
Actual Results:  
dhcp client reports that "netcard is not a ethernet or tokenring card"


Expected Results:  
The netcard initialised and ready to use.

Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System release 1.12.9
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~amd64"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU vorbis win32codecs x86 xml xorg xv zlib alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Nicolai Marck Ødum 2007-03-25 21:05:32 UTC
Created attachment 114427 [details]
This is dmesg when booting on live dvd
Comment 2 Nicolai Marck Ødum 2007-03-25 21:06:07 UTC
Created attachment 114429 [details]
dmesg when booting after updating udev
Comment 3 SpanKY gentoo-dev 2007-03-25 21:42:02 UTC
udev does not really affect network interfaces ... the kernel/drivers do that

post the output of `ifconfig -a` as the output of `dmesg` isnt really useful
Comment 4 Nicolai Marck Ødum 2007-03-25 22:14:40 UTC
sorry - didn't know that.

But that actually helped alot.

ifconfig -a (booting on livedvd) give

eth0      Link encap:Ethernet  HWaddr 00:16:E6:5E:C2:8A
          inet addr:192.168.3.100  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::216:e6ff:fe5e:c28a/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:168868 (164.9 Kb)  TX bytes:38111 (37.2 Kb)
          Interrupt:16

but after updating baselayout and udev 

ifconfig -a (normal boot) gives

eth0      Link encap:UNSPEC  HWaddr 00-16-E6-00-00-B7-51-5A-00-00-00-00-00-00-0$          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth1      Link encap:Ethernet  HWaddr 00:16:E6:5E:C2:8A
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16

and if I do 
ln -s net.lo net.eth1
/etc/init.d/net.eth1 start

then my network works again - GREAT!

No idea what eth0 is.
Comment 5 Nicolai Marck Ødum 2007-03-25 22:21:26 UTC
Maybe eth0 is my logitech diNovo usb bluetooh dongle. If you want me to verify please tell me how to do that.
Comment 6 SpanKY gentoo-dev 2007-03-26 00:08:37 UTC
this is a feature ... newer udev does persistent interface binding

edit /etc/udev/rules.d/70-persistent-net.rules to align MACs to interfaces