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

Bug#298950: marked as done (/sbin/udevsend breaks hotplug firmware loading?)



Your message dated Mon, 14 Mar 2005 10:02:04 -0500
with message-id <E1DAr52-000562-00@newraff.debian.org>
and subject line Bug#297481: fixed in hotplug 0.0.20040329-18
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Mar 2005 19:29:17 +0000
>From christian.weeks@oracle.com Thu Mar 10 11:29:17 2005
Return-path: <christian.weeks@oracle.com>
Received: from agminet04.oracle.com [141.146.126.231] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D9TLQ-0002wT-00; Thu, 10 Mar 2005 11:29:16 -0800
Received: from agminet04.oracle.com (localhost [127.0.0.1])
	by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j2AJSjCx000414
	for <submit@bugs.debian.org>; Thu, 10 Mar 2005 11:28:46 -0800
Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.191.49])
	by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j2AJSi8W000372
	for <submit@bugs.debian.org>; Thu, 10 Mar 2005 11:28:45 -0800
Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1])
	by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j2AJSigR021488
	for <submit@bugs.debian.org>; Thu, 10 Mar 2005 12:28:44 -0700
Received: from dhcp-ca-ottawa-144-23-217-137.ca.oracle.com (dhcp-ca-ottawa-144-23-217-137.ca.oracle.com [144.23.217.137])
	by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j2AJShad021473
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO)
	for <submit@bugs.debian.org>; Thu, 10 Mar 2005 12:28:43 -0700
Subject: /sbin/udevsend breaks hotplug firmware loading?
From: Christian Weeks <christian.weeks@oracle.com>
To: submit@bugs.debian.org
Content-Type: text/plain
Date: Thu, 10 Mar 2005 14:28:40 -0500
Message-Id: <1110482920.5641.4.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: udev
Version: 0.054-2
Severity: important

Hello, I just done a clean install of my laptop. I had had my ipw2100
wireless card working for some time, however, after the clean install it
simply has refused to work. I just noticed that udev has recently
changed the /proc/sys/kernel/hotplug value to /sbin/udevsend.


It appears that /sbin/udevsend is somehow swallowing the firmware load
request event?

A walkthrough of what happens:

Set the hotplug agend to udevsend:

cweeks-lap:/home/cpw# echo /sbin/udevsend >/proc/sys/kernel/hotplug

Try probing my module:
cweeks-lap:/home/cpw# modprobe -v ipw2100
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211_crypt.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/base/firmware_class.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ipw2100.ko

The kernel doesn't like it:
cweeks-lap:/home/cpw# tail -10 /var/log/kern.log
Mar 10 14:14:48 localhost kernel: ipw2100: Intel(R) PRO/Wireless 2100
Network Driver, 1.0.5
Mar 10 14:14:48 localhost kernel: ipw2100: Copyright(c) 2003-2004 Intel
Corporation
Mar 10 14:14:48 localhost kernel: ACPI: PCI interrupt 0000:02:03.0[A] ->
GSI 7 (level, low) -> IRQ 7
Mar 10 14:14:48 localhost kernel: ipw2100: Detected Intel PRO/Wireless
2100 Network Connection
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: Firmware
'ipw2100-1.3.fw' not available or load failed.
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: ipw2100_get_firmware
failed: -2
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: Failed to power on the
adapter.
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: Failed to start the
firmware.
Mar 10 14:14:58 localhost kernel: ipw2100Error calling register_netdev.
Mar 10 14:14:58 localhost kernel: ipw2100: probe of 0000:02:03.0 failed
with error -5

Cleanup:
cweeks-lap:/home/cpw# modprobe -v -r ipw2100
rmmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ipw2100.ko
rmmod /lib/modules/2.6.8-2-686/kernel/drivers/base/firmware_class.ko
rmmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211.ko
rmmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211_crypt.ko

Set the hotplug agent to hotplug:
cweeks-lap:/home/cpw# echo /sbin/hotplug >/proc/sys/kernel/hotplug

Try probing again:
cweeks-lap:/home/cpw# modprobe -v ipw2100
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211_crypt.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ieee80211.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/base/firmware_class.ko
insmod /lib/modules/2.6.8-2-686/kernel/drivers/net/wireless/ipw2100.ko

No errors this time:
cweeks-lap:/home/cpw# tail -10 /var/log/kern.log
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: Failed to power on the
adapter.
Mar 10 14:14:58 localhost kernel: ipw2100: eth1: Failed to start the
firmware.
Mar 10 14:14:58 localhost kernel: ipw2100Error calling register_netdev.
Mar 10 14:14:58 localhost kernel: ipw2100: probe of 0000:02:03.0 failed
with error -5
Mar 10 14:16:18 localhost kernel: ieee80211_crypt: unregistered
algorithm 'NULL' (deinit)
Mar 10 14:17:03 localhost kernel: ieee80211_crypt: registered algorithm
'NULL'
Mar 10 14:17:03 localhost kernel: ipw2100: Intel(R) PRO/Wireless 2100
Network Driver, 1.0.5
Mar 10 14:17:03 localhost kernel: ipw2100: Copyright(c) 2003-2004 Intel
Corporation
Mar 10 14:17:03 localhost kernel: ACPI: PCI interrupt 0000:02:03.0[A] ->
GSI 7 (level, low) -> IRQ 7
Mar 10 14:17:03 localhost kernel: ipw2100: Detected Intel PRO/Wireless
2100 Network Connection

And my wireless device is visible:
cweeks-lap:/home/cpw# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               |
Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc |
beacon | 16
  eth1: 0800    0.    0.    0.       0      0      0      0      0
0

Thanks,
Christian

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx  1 root root 19 2005-03-09 23:30 cd-aliases.rules
-> ../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-03-09 23:30 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root 12 2005-03-09 23:29 z_hal-plugdev.rules
-> ../hal.rules

-- /sys/:
/sys/block/dm-0/dev
/sys/block/dm-1/dev
/sys/block/dm-2/dev
/sys/block/hda/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda2/dev
/sys/block/hdc/dev
/sys/block/hdc/hdc1/dev
/sys/block/ram0/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/ram1/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/class/drm/radeon/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/event3/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/mouse1/dev
/sys/class/input/ts0/dev
/sys/class/input/ts1/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/misc/vmmon/dev
/sys/class/printer/lp0/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio1/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/controlC1/dev
/sys/class/sound/dsp1/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer1/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D3c/dev
/sys/class/sound/pcmC0D4p/dev
/sys/class/sound/pcmC1D0c/dev
/sys/class/sound/pcmC1D0p/dev
/sys/class/sound/timer/dev

-- Kernel configuration:


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages udev depends on:
ii  hotplug                  0.0.20040329-17 Linux Hotplug Scripts
ii  initscripts              2.86.ds1-1      Standard scripts needed for
bootin
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared
libraries an
ii  makedev                  2.3.1-76        creates device files
in /dev
ii  sed                      4.1.4-2         The GNU sed stream editor

-- no debconf information


---------------------------------------
Received: (at 297481-close) by bugs.debian.org; 14 Mar 2005 15:08:07 +0000
>From katie@ftp-master.debian.org Mon Mar 14 07:08:06 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DArAs-0000nn-00; Mon, 14 Mar 2005 07:08:06 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DAr52-000562-00; Mon, 14 Mar 2005 10:02:04 -0500
From: Fumitoshi UKAI <ukai@debian.or.jp>
To: 297481-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#297481: fixed in hotplug 0.0.20040329-18
Message-Id: <E1DAr52-000562-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 14 Mar 2005 10:02:04 -0500
Delivered-To: 297481-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: hotplug
Source-Version: 0.0.20040329-18

We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:

hotplug_0.0.20040329-18.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-18.diff.gz
hotplug_0.0.20040329-18.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-18.dsc
hotplug_0.0.20040329-18_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-18_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 297481@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fumitoshi UKAI <ukai@debian.or.jp> (supplier of updated hotplug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 14 Mar 2005 23:33:28 +0900
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-18
Distribution: unstable
Urgency: high
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Fumitoshi UKAI <ukai@debian.or.jp>
Description: 
 hotplug    - Linux Hotplug Scripts
Closes: 297481 299154
Changes: 
 hotplug (0.0.20040329-18) unstable; urgency=high
 .
   * workaound fix to load firmware problem for sarge release.
     closes: Bug#297481, Bug#299154
     /sbin/hotplug may have potential problem in hotplug event multiplexing,
     but /sbin/udevsend has grave problem in firmware loading in old kernel,
     so I add workaround fix to this.
     Recommends upgrade kernel 2.6.10 or later.
   * fix purge problem in hotplug.postrm.
Files: 
 a20b5a26734aed204d9465546f80fcaf 673 admin standard hotplug_0.0.20040329-18.dsc
 26563987878f58c78c0bac582f52c460 48763 admin standard hotplug_0.0.20040329-18.diff.gz
 e0849499b8b8e77e1fa53f8ab36abe0d 66202 admin standard hotplug_0.0.20040329-18_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCNaZE9D5yZjzIjAkRAoJUAKCdlnn/vECOOjlHRzPqQ6lA9jnTOACfaEfA
mz4WcpPH9kRY3beSPXOGsEY=
=0uf/
-----END PGP SIGNATURE-----



Reply to: