On Monday 09 August 2004 21:21, Kastus wrote:
You don't need to add anything to /etc/fstab An entry is created dynamically by hotplug.
That's part of the mystery. I can tell from other people's posts that this should be happening, and also I recall it from trying the Live CD. But no directories get created when I connect the camera.
If you changed HOTPLUG_USE_SUBFS to no they wouldn't be created.
I suppose not, but setting to "yes" doesn't behave any differently.
It looks like hardware error on your creative nomad.
It works fine with SuSE 9.0. And within the past few weeks has worked fine on SuSE 7.3 and Redhat 9 (but of course they are too far in the past to prove it is OK today).
Nothing bad with camera, I think.
This is what I would try to debug the problem.
Reinstate HOTPLUG_USE_SUBFS to yes and restart hotplug.
Connect camera, look in /var/log/messages for camera to be recognized.
After that, issue mount command without parameteres to see what mount point is created for camera.
It should look something like:
/dev/sda1 on /media/usb-storage-0000022176:0:0:0p1 type subfs (rw,noexec,nosuid,nodev,sync,fs=floppyfss,procuid,iocharset=utf8)
Tried that just now. There is no /media/usb... directory. As I mentioned, I think I remember such directories did used ot get created, but not since I made the current installation. When they did exist, I got the same "could not enter" message as I am getting with my home-grown mount points.
Try accessing mount point, e.g. ls /media/usb-storage-0000022176:0:0:0p1
If this produces an error "media not found", try to mount it manually with differnet subfs options. First unmount it with umount /media/usb-storage-0000022176:0:0:0p1 (of course, the name will be different in your case) and then mount manually with different options:
mount -t subfs -o rw,noexec,nosuid,nodev,sync,fs=floppyfss,procuid,iocharset=utf8 \ /dev/sda1 /media/usb-storage-0000022176:0:0:0p1
Or try mount it with vfat (I believe your camera card is formatted with FAT):
mount -t vfat /dev/sda1 /media/usb-storage-0000022176:0:0:0p1
Any attempt to mount /dev/sda1 results n the command hanging "forever". AT closedown, hda7 cannot be unmounted! Thanks for your feedback, Kastus. Much appreciated. I think maybe there could be some configuration problems with mounting my USB hotplug devices. (My scanner is USB too and that works fine; though I did have to edit the /etc/hotplug/usb/desktopdev file; but note that I was having mount problems before I changed that.) With the fstab entries I tried, something (I presume submount) did seem to try to mount the directory when I tried to enter it but it cannot mount it any more than I can mount it with a mount command; the only difference being at least submount returns an error rather than hanging. The amazing thing is that the system can clearly communicate with the devices. It knows all about them and how much disk space they have. My only reason for doubting it is as simple as configuration is that Mandrake 10 behaves the same way; so it could be something about 2.6 and my hardware. Any more thoughts? Is there any kind of diagnostic process I could follow - I know that it is very difficult to figure out a problem on a distant PC. Steve Dundee, UK