I am using the new USB block hotplug scripts in order to mount a USB disk before mt-daapd runs. Mt-daapd is configured so that its media library is on the USB disk. I am finding that the USB subsystem does not finish initializing before the mt-daapd init script runs (even though the usb script runs before the mt-daapd script). The relevant scripts are run with the following priorities:
S39usb S50mt-daapd It takes 21 seconds before the kernel identifies sda2: Jan 1 00:00:21 golem user.notice kernel: scsi 0:0:0:0: Direct-Access Seagat Jan 1 00:00:21 golem user.notice kernel: sd 0:0:0:0: [sda] 976773168 512-byte l Jan 1 00:00:21 golem user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off Jan 1 00:00:21 golem user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 Jan 1 00:00:21 golem user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: w Jan 1 00:00:21 golem user.debug kernel: usb-storage: device scan complete Is anyone else having trouble with this? I have added a "sleep 5" to the mt-daapd init script as a quick solution, but this is not optimal. -- Mike :wq _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel