Package: hotplug
Version: 0.0.20040329-16
Severity: normal

See subject. If /sys is not mounted (missing support or just by accident),
firmware.agent simply fails. No error message, no warning in syslog, simply
silent failure. Looking at the script I realize that it just assumes that you
have kernel 2.4 if sysfs is not mounted somewhere, but this is pretty naive
assumption. procfs does not contain the firmware loader interface on kernel
2.6, so it cannot work. And believe me, it is not fun to search for that
bug when every Google hit says nothing but "drop your blobs to
/usr/lib/hotplug/firmware and you always will be fine".

To "solve" this problem, I suggest an additional check for kernel 2.4 after
this lines (maybe by looking at the required interface in procfs):

# use /proc for 2.4 kernels
if [ "$SYSFS" = "" ]; then

and then writting some meaningful warnings to syslog when it is not the case.

Regards,
Eduard.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages hotplug depends on:
ii  debconf                      1.4.42      Debian configuration management sy
ii  grep                         2.5.1.ds1-4 GNU grep, egrep and fgrep
ii  module-init-tools            3.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/static_module_list: hid
* hotplug/usbd_enable: true
* hotplug/usb_keyboard:
  hotplug/x11_usbmice_hack: true


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

Reply via email to