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

Bug#401558: ipw3945d: Binary userspace regulatory daemon starting twice on bootup

Jurij Smakov wrote:

The thing you describe may happen if your /var/run/ipw3945d directory is writeable already when udev starts the daemon. Then it is started early, but later /etc/rcS.d/S36mountall-bootclean.sh is run, which cleans out the /var/run directory. So the pid file gets lost, and daemon is fired up again when S39ipw3945d script is run. So, what is your setup? Why would /var be writeable early in the boot process? It must be some local customization, because by now quite a few people have been using it, and nobody complained of anything like that :-).

Best regards,


You are right, /var is writeable when the daemon is started from udev. But i have no idea why... As far as I know, I'm running a standard debian testing (except kernel).

The only thing I could think of that's not standard in my install is that i was running bootlogd. I thought bootlogd was mounting /var early to be able to write its log in /var/log/, but I turned it off, and it still mounts /dev/sda1 before udev is starting ipw3945d.

From dmesg:
Adding 746980k swap on /dev/sda5.  Priority:-1 extents:1 across:746980k
EXT3 FS on sda1, internal journal
loop: loaded (max 8 devices)
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
ibm_acpi: http://ibm-acpi.sf.net/
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.2.15
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.1.2d
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 58
PCI: Setting latency timer of device 0000:03:00.0 to 64
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
hdaps: inverting axis readings.
hdaps: Lenovo ThinkPad X60 detected.
input: hdaps as /class/input/input2
hdaps: driver successfully loaded.
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
pcmcia: Detected deprecated PCMCIA ioctl usage from process: discover.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools. pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)

Any idea why this is happening?



Reply to: