Am Sonntag, 13. März 2005 12:14 schrieb Thomas Hertweck:
Guido Pinkernell wrote:
Ich habe hier zwei USB-Sticks, die lassen sich beide nur manuell mounten. Hotplug greift hier nicht. [...]
Da faengt es schon an :-)
Genau: Ein Beispiel im Detail mit log-Auszügen: Ich stecke einen USB-Stick ("Easydisk") ein. Udev erzeugt einen Node /dev/easydisk, den ich per Hand erfolgreich mounten kann. Ich umounte ihn, ziehe ihn ab und stecke ihn wieder neu ein, lasse derweil mal ein Hotplug-Log mitlaufen: Gleich vorweg: Was mich sehr irritiert ist, dass hier ständig von /block/sda die Rede ist. Zuletzt (letzte vier Zeilen) heisst es sogar "mount [...] /block/sda". Udev hat aber ein /dev/easydisk eingerichtet. Kann es denn sein, dass mein Hotplug überhaupt nicht mit udev arbeitet?? Guido === log follows === Mar 13 14:24:11 /sbin/hotplug[18341] add usb DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb3/3-1 Mar 13 14:24:11 /sbin/hotplug[18347] add usb DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb3/3-1/3-1:1.0 Mar 13 14:24:11 /sbin/hotplug[18373] add scsi_host DEVPATH=/class/scsi_host/host3 Mar 13 14:24:11 /sbin/hotplug[18385] add scsi DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb3/3-1/3-1:1.0/host3/3:0:0:0 Mar 13 14:24:11 /etc/hotplug/scsi_host.agent[18373] Unknown scsi_host type Mar 13 14:24:11 /sbin/hotplug[18397] add block DEVPATH=/block/sda Mar 13 14:24:11 /sbin/hotplug[18411] add scsi_device DEVPATH=/class/scsi_device/3:0:0:0 Mar 13 14:24:11 /sbin/hotplug[18412] add scsi_generic DEVPATH=/class/scsi_generic/sg0 Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb.handmap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb.handmap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /lib/modules/2.6.8-24.11-default/modules.usbmap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb/ISDN.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] Setup 'usb-storage usb-storage ' for 'USB product 1065/2136/1' (from /lib/modules/2.6.8-24.11-default/modules.usbmap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb/ISDN.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb/alsasound.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb/tascam_fw.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb/usb.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb/alsasound.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb/tascam_fw.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb/usb.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18341] No drivers for 'USB CCYU TECHNOLOGY EasyDisk Portable Device' (from /etc/hotplug/usb/usbcam.usermap) Mar 13 14:24:11 /etc/hotplug/usb.agent[18347] No drivers for 'USB product 1065/2136/1' (from /etc/hotplug/usb/usbcam.usermap) Mar 13 14:24:21 /etc/dev.d/block/50-hwscan.dev[18536] new block device /block/sda Mar 13 14:24:21 /etc/dev.d/block/51-subfs.dev[18544] mount block device /block/sda Mar 13 14:24:21 /etc/dev.d/block/51-subfs.dev[18544] ncookie easydisk Mar 13 14:24:21 /etc/dev.d/block/51-subfs.dev[18544] scookie