Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-15 Thread Horms
On Tue, Mar 01, 2005 at 09:41:29PM +0100, Kay Sievers wrote:
 On Tue, 2005-03-01 at 21:26 +0100, Marco d'Itri wrote:
 reassign 297481 kernel-image-2.6.8-i386
 thanks
 
 On Mar 01, Kay Sievers [EMAIL PROTECTED] wrote:
 
  This kernel will not work correctly with managed events. It has holes in
  the sequence numbers. You need at least 2.6.10 if I remember correctly.
 This sucks, because the next Debian release will ship 2.6.8 as the
 default 2.6 kernel. Do you know what needs to be backported to fix this?
 
 It's all in lib/kobject_uevent.c and should be trivial. It was changed
 to increment the seqnum counter only if the kset wants to emit the
 event.

Sounds suspiciously like it will alter the kernel ABI,
but if you have a patch please send it here.

-- 
Horms


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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Simon Guest
At Tue, 1 Mar 2005 00:43:49 +0100,
Marco d'Itri wrote:
 I do not know what -2 means, but I see that it fails after the timeout
 so I think that the agent is not even trying to upload the firmware.
 
 What happens if you unload and then reload the module?

It does the same, i.e. fails in the same way with the same log message.

 
 The changes to firmware.agent between the two versions are very simple,
 can you also check what happens if you use -17 with the firmware.agent
 file from -16?

OK, this makes no difference.  Using the older firmware.agent with the
newer hotplug fails in the same way.

 
 Are you using udev?

Yes, using udev.  Does this help to explain it?

cheers,
Simon


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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Marco d'Itri
On Mar 01, Simon Guest [EMAIL PROTECTED] wrote:

  Are you using udev?
 Yes, using udev.  Does this help to explain it?
Maybe. Try to comment the line in /etc/init.d/udev which updates
/proc/sys/kernel/hotplug and reboot.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Simon Guest
At Tue, 1 Mar 2005 18:39:34 +0100,
Marco d'Itri wrote:
 
 On Mar 01, Simon Guest [EMAIL PROTECTED] wrote:
  Yes, using udev.  Does this help to explain it?
 Maybe. Try to comment the line in /etc/init.d/udev which updates
 /proc/sys/kernel/hotplug and reboot.

OK, this fixed my problem.

I commented out the following line from /etc/init.d/udev 

echo /sbin/udevsend  /proc/sys/kernel/hotplug

So, everything works again for me, and I'm happy.  Thanks for your
help.  

Is this then a bug in udev (for which I see you are also the Debian
maintainer)?  Is there anything else you need from me?

cheers,
Simon



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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Marco d'Itri
reassign 297481 udev
thanks

On Mar 01, Simon Guest [EMAIL PROTECTED] wrote:

 Is this then a bug in udev (for which I see you are also the Debian
 maintainer)?  Is there anything else you need from me?
Which version of udev are you using?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Simon Guest
At Tue, 1 Mar 2005 19:24:04 +0100,
Marco d'Itri wrote:
 Which version of udev are you using?

It got upgraded with everything else, so now on 0.054-1.

cheers,
Simon


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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-03-01 Thread Kay Sievers
On Tue, 2005-03-01 at 21:26 +0100, Marco d'Itri wrote:
reassign 297481 kernel-image-2.6.8-i386
thanks

On Mar 01, Kay Sievers [EMAIL PROTECTED] wrote:

 This kernel will not work correctly with managed events. It has holes in
 the sequence numbers. You need at least 2.6.10 if I remember correctly.
This sucks, because the next Debian release will ship 2.6.8 as the
default 2.6 kernel. Do you know what needs to be backported to fix this?

It's all in lib/kobject_uevent.c and should be trivial. It was changed
to increment the seqnum counter only if the kset wants to emit the
event.

What else does this break?

I should be safe, I think.

Kay


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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-02-28 Thread Simon Guest
Package: hotplug
Version: 0.0.20040329-17
Severity: normal

I've been using ipw2200 successfully with the previous hotplug
version, 0.0.20040329-16.  Following a dist-upgrade, my hotplug was
upgraded to 0.0.20040329-17, and after the next reboot, my ipw2200
wireless driver could no longer get its firmware loaded (via
hotplug).  Reverting to hotplug version 0.0.20040329-16 (and making no
other changes to my configuration) caused the problem to go away.

Lines logged in /var/log/kern.log as follows (for the broken case):

Feb 28 22:31:38 localhost kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 
Network Driver, 1.0.0
Feb 28 22:31:38 localhost kernel: ipw2200: Copyright(c) 2003-2004 Intel 
Corporation
Feb 28 22:31:38 localhost kernel: ACPI: PCI interrupt :02:06.0[A] - GSI 10 
(level, low) - IRQ 10
Feb 28 22:31:38 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG 
Network Connection
Feb 28 22:31:48 localhost kernel: ipw2200: ipw-2.2-boot.fw load failed: Reason 
-2
Feb 28 22:31:48 localhost kernel: ipw2200: Unable to load firmware: 0xFFFE
Feb 28 22:31:48 localhost kernel: ipw2200: failed to register network device
Feb 28 22:31:48 localhost kernel: ipw2200: probe of :02:06.0 failed with 
error -5

Of course, it may be that the bug is in ipw2200 or somewhere else.
I've built ipw2200 from the debian package ipw2200-source, version
1.0.0-1, running on standard Debian kernel image 2.6.8-1-686.

For reference, when it works (using the previous hotplug), I get this
logged:

Feb 28 22:36:23 localhost kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 
Network Driver, 1.0.0
Feb 28 22:36:23 localhost kernel: ipw2200: Copyright(c) 2003-2004 Intel 
Corporation
Feb 28 22:36:23 localhost kernel: ACPI: PCI interrupt :02:06.0[A] - GSI 10 
(level, low) - IRQ 10
Feb 28 22:36:23 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG 
Network Connection

Also, I certainly have the right firmware files is the right place:

$ pwd
/usr/lib/hotplug/firmware
$ ls
ipw-2.2-boot.fw  ipw-2.2-bss_ucode.fw  ipw-2.2-ibss_ucode.fw
ipw-2.2-bss.fw   ipw-2.2-ibss.fw

Ah, is it possible that having these as symlinks could cause a problem
for hotplug?  As you can see below, I have them all symlink'd into /usr/local.
(The links are not dangling - see wc output.)

$ ls -l
total 0
lrwxrwxrwx  1 root root 47 2005-02-06 19:28 ipw-2.2-boot.fw - 
/usr/local/lib/hotplug/firmware/ipw-2.2-boot.fw
lrwxrwxrwx  1 root root 46 2005-02-06 19:28 ipw-2.2-bss.fw - 
/usr/local/lib/hotplug/firmware/ipw-2.2-bss.fw
lrwxrwxrwx  1 root root 52 2005-02-06 19:28 ipw-2.2-bss_ucode.fw - 
/usr/local/lib/hotplug/firmware/ipw-2.2-bss_ucode.fw
lrwxrwxrwx  1 root root 47 2005-02-06 19:28 ipw-2.2-ibss.fw - 
/usr/local/lib/hotplug/firmware/ipw-2.2-ibss.fw
lrwxrwxrwx  1 root root 53 2005-02-06 19:28 ipw-2.2-ibss_ucode.fw - 
/usr/local/lib/hotplug/firmware/ipw-2.2-ibss_ucode.fw
$ wc -c *
  6472 ipw-2.2-boot.fw
166960 ipw-2.2-bss.fw
 16334 ipw-2.2-bss_ucode.fw
161568 ipw-2.2-ibss.fw
 16312 ipw-2.2-ibss_ucode.fw
367646 total

Any ideas?

cheers,
Simon


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

Versions of packages hotplug depends on:
ii  debconf  1.4.46  Debian configuration management sy
ii  grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii  module-init-tools3.2-pre1-2  tools for managing Linux kernel mo
ii  modutils 2.4.26-1.2  Linux module utilities
ii  procps   1:3.2.5-1   /proc file system utilities

-- debconf information:
  hotplug/ignore_pci_class_display: true
  hotplug/net_agent_policy: hotplug
* hotplug/usb_keyboard:
  hotplug/static_module_list:
  hotplug/x11_usbmice_hack: false


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



Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

2005-02-28 Thread Marco d'Itri
On Feb 28, Simon Guest [EMAIL PROTECTED] wrote:

 Feb 28 22:31:38 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG 
 Network Connection
 Feb 28 22:31:48 localhost kernel: ipw2200: ipw-2.2-boot.fw load failed: 
 Reason -2

I do not know what -2 means, but I see that it fails after the timeout
so I think that the agent is not even trying to upload the firmware.

What happens if you unload and then reload the module?

The changes to firmware.agent between the two versions are very simple,
can you also check what happens if you use -17 with the firmware.agent
file from -16?

Are you using udev?

 Ah, is it possible that having these as symlinks could cause a problem
 for hotplug?  As you can see below, I have them all symlink'd into /usr/local.
No, files are checked with -e.

-- 
ciao,
Marco


signature.asc
Description: Digital signature