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

Bug#423206: rmmod e1000 may cause system to become unusable, endless unregister_netdevice loop



Package: linux-image-2.6.18-4-686
Version: 2.6.18.dfsg.1-12
Severity: important

Somehow my network device does not want to recognise that it
actually has a carrier. This being Linux (and not Windows), I thus
decide to reload the driver, *after* taking down the network
interface::

  lapse:~# ip l dev eth0
  2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
      link/ether 00:0a:e4:30:43:16 brd ff:ff:ff:ff:ff:ff
  # notice: not UP
  lapse:~# rmmod e1000
  lapse kernel: unregister_netdevice: waiting for eth0 to become free.
    Usage count = 1
  lapse kernel: unregister_netdevice: waiting for eth0 to become free.
    Usage count = 1
  [...]
  # goes on forever, uninterruptible; thus new shell:
  lapse:~# ps u -C rmmod
  USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  root      5624  0.0  0.0   1656   480 pts/2    D+   00:02   0:00 rmmod e1000

Any network-related action, including su and sudo will not just hang
in uninterruptible sleep and the system cannot even be cleanly
rebooted as e.g. postfix stop will hang itself.

Ben Hutchings suggests, for your information:

  I think this happens when the driver repeatedly attempts to fix an
  error condition and keeps scheduling future work (retaining
  a reference to the device) rather than giving up.

This has happened several times before but I cannot reliably
reproduce it. I don't recall ever seeing it on another system and
this is the only e1000 system I own (it's an X40).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.18-4-686 depends on:
ii  coreutils                     5.97-5.3   The GNU core utilities
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.87b      tools for generating an initramfs
ii  module-init-tools             3.3-pre4-2 tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-20  Yet Another mkInitRD

Versions of packages linux-image-2.6.18-4-686 recommends:
ii  libc6-i686                    2.5-7      GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.18-4-686/preinst/failed-to-move-modules-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/lilo-initrd-2.6.18-4-686: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.18-4-686/preinst/elilo-initrd-2.6.18-4-686: true
  linux-image-2.6.18-4-686/preinst/overwriting-modules-2.6.18-4-686: true
  linux-image-2.6.18-4-686/prerm/removing-running-kernel-2.6.18-4-686: true
  linux-image-2.6.18-4-686/prerm/would-invalidate-boot-loader-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/bootloader-test-error-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/abort-overwrite-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/old-system-map-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/depmod-error-2.6.18-4-686: false
  linux-image-2.6.18-4-686/preinst/abort-install-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.18-4-686/postinst/bootloader-error-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/depmod-error-initrd-2.6.18-4-686: false
  linux-image-2.6.18-4-686/postinst/old-initrd-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/preinst/bootloader-initrd-2.6.18-4-686: true
* linux-image-2.6.18-4-686/preinst/already-running-this-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/initrd-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/create-kimage-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/old-dir-initrd-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/kimage-is-a-directory:

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: