Hi,
I've got two digital cameras (one Olympus, one Casio) that I access without problems after a fresh reboot (Slackware 10 btw, but with home compiled 2.6.10 kernel). After mounting, and unmounting them both, I am then unable to remount the first :-(
If I connect the first, an Olympus 5050, I get the following in my /var/log/messages file:
Code:
Feb 5 13:10:47 bob kernel: usb 1-1.2: new full speed USB device using uhci_hcd and address 4
Feb 5 13:10:47 bob usb.agent[3037]: ... no modules for USB product 7b4/105/100
Feb 5 13:10:47 bob kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 5 13:10:52 bob scsi.agent[3076]: how to add device type= at /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1.2/1-1.2:1.0/host0/target0:0:0/0:0:0:0 ??
Feb 5 13:10:52 bob kernel: Vendor: OLYMPUS Model: C5050Z Rev: 1.00
Feb 5 13:10:52 bob kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 5 13:10:53 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:10:53 bob kernel: sda: assuming Write Enabled
Feb 5 13:10:53 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:10:53 bob kernel: sda: assuming Write Enabled
Feb 5 13:10:53 bob kernel: sda: sda1
Feb 5 13:10:53 bob kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Feb 5 13:10:54 bob udev[3096]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:10:54 bob udev[3096]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda' becomes '%k'
Feb 5 13:10:54 bob udev[3096]: creating device node '/dev/sda'
Feb 5 13:10:54 bob udev[3104]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:10:54 bob udev[3104]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda1' becomes '%k'
Feb 5 13:10:54 bob udev[3104]: creating device node '/dev/sda1'
I mount it 'mount -t vfat /dev/oly_5050 /mnt/olympus' without a problem.
Unmounting it and disconnecting, I get :
Code:
Feb 5 13:11:52 bob kernel: usb 1-1.2: USB disconnect, address 4
Feb 5 13:11:52 bob udev[3139]: removing device node '/dev/sda1'
Feb 5 13:11:52 bob udev[3147]: removing device node '/dev/sda'
This sequence I can perform several times without problems. When I then mount the second camera (Casio 100S) there are still no problems. After unmounting and disconnecting the Casio, I cannot mount the Olympus again (connection and device creating is fine):
Code:
Feb 5 13:12:04 bob kernel: usb 1-1.2: new full speed USB device using uhci_hcd and address 5
Feb 5 13:12:04 bob usb.agent[3204]: ... no modules for USB product 7b4/105/100
Feb 5 13:12:04 bob kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Feb 5 13:12:10 bob scsi.agent[3243]: how to add device type= at /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1.2/1-1.2:1.0/host1/target1:0:0/1:0:0:0 ??
Feb 5 13:12:10 bob kernel: Vendor: OLYMPUS Model: C5050Z Rev: 1.00
Feb 5 13:12:10 bob kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 5 13:12:10 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:12:10 bob kernel: sda: assuming Write Enabled
Feb 5 13:12:10 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:12:10 bob kernel: sda: assuming Write Enabled
Feb 5 13:12:10 bob kernel: sda: sda1
Feb 5 13:12:10 bob kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Feb 5 13:12:11 bob udev[3263]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:12:11 bob udev[3263]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda' becomes '%k'
Feb 5 13:12:11 bob udev[3263]: creating device node '/dev/sda'
Feb 5 13:12:11 bob udev[3271]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:12:11 bob udev[3271]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda1' becomes '%k'
Feb 5 13:12:11 bob udev[3271]: creating device node '/dev/sda1'
Feb 5 13:12:20 bob kernel: usb 1-1.1: new full speed USB device using uhci_hcd and address 6
Feb 5 13:12:20 bob kernel: usb 1-1.1: configuration #1 chosen from 2 choices
Feb 5 13:12:20 bob usb.agent[3283]: Keeping default configuration with /sys//devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1.1
Feb 5 13:12:20 bob usb.agent[3289]: ... no modules for USB product 7cf/1001/1000
Feb 5 13:12:20 bob kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Feb 5 13:12:25 bob scsi.agent[3333]: how to add device type= at /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1.1/1-1.1:1.0/host2/target2:0:0/2:0:0:0 ??
Feb 5 13:12:25 bob kernel: Vendor: Casio Model: QV DigitalCamera Rev: 1000
Feb 5 13:12:25 bob kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 5 13:12:25 bob kernel: SCSI device sdb: 1030144 512-byte hdwr sectors (527 MB)
Feb 5 13:12:25 bob kernel: sdb: assuming Write Enabled
Feb 5 13:12:25 bob kernel: SCSI device sdb: 1030144 512-byte hdwr sectors (527 MB)
Feb 5 13:12:25 bob kernel: sdb: assuming Write Enabled
Feb 5 13:12:25 bob kernel: sdb: sdb1
Feb 5 13:12:25 bob kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Feb 5 13:12:26 bob udev[3353]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 2 applied, added symlink 'casio_100'
Feb 5 13:12:26 bob udev[3353]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 2 applied, 'sdb' becomes '%k'
Feb 5 13:12:26 bob udev[3353]: creating device node '/dev/sdb'
Feb 5 13:12:26 bob udev[3361]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 2 applied, added symlink 'casio_100'
Feb 5 13:12:26 bob udev[3361]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 2 applied, 'sdb1' becomes '%k'
Feb 5 13:12:26 bob udev[3361]: creating device node '/dev/sdb1'
Feb 5 13:12:47 bob udev[3389]: removing device node '/dev/sdb1'
Feb 5 13:12:47 bob udev[3397]: removing device node '/dev/sdb'
Feb 5 13:12:47 bob kernel: usb 1-1.1: USB disconnect, address 6
Feb 5 13:12:47 bob udev[3458]: removing device node '/dev/sda1'
Feb 5 13:12:47 bob kernel: usb 1-1.2: USB disconnect, address 5
Feb 5 13:12:47 bob udev[3466]: removing device node '/dev/sda'
Feb 5 13:12:56 bob kernel: usb 1-1.2: new full speed USB device using uhci_hcd and address 7
Feb 5 13:12:56 bob usb.agent[3525]: ... no modules for USB product 7b4/105/100
Feb 5 13:12:56 bob kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Feb 5 13:13:01 bob scsi.agent[3561]: how to add device type= at /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1.2/1-1.2:1.0/host3/target3:0:0/3:0:0:0 ??
Feb 5 13:13:01 bob kernel: Vendor: OLYMPUS Model: C5050Z Rev: 1.00
Feb 5 13:13:01 bob kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 5 13:13:01 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:13:01 bob kernel: sda: assuming Write Enabled
Feb 5 13:13:01 bob kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Feb 5 13:13:01 bob kernel: sda: assuming Write Enabled
Feb 5 13:13:01 bob kernel: sda: sda1
Feb 5 13:13:01 bob kernel: Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Feb 5 13:13:02 bob udev[3589]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:13:02 bob udev[3589]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda1' becomes '%k'
Feb 5 13:13:02 bob udev[3589]: creating device node '/dev/sda1'
Feb 5 13:13:02 bob udev[3581]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, added symlink 'oly_5050'
Feb 5 13:13:02 bob udev[3581]: configured rule in '/etc/udev/rules.d/000-userdefined.rules' at line 1 applied, 'sda' becomes '%k'
Feb 5 13:13:02 bob udev[3581]: creating device node '/dev/sda'
Feb 5 13:13:06 bob kernel: VFS: Can't find a valid FAT filesystem on dev sda.
That last line occurs when I manually try to mount the Olympus camera. The Casio mounts and unmounts with no problems...
The /var/log/syslog file contains the following when the error occurs :
Code:
Feb 5 13:13:06 bob kernel: FAT: bogus number of reserved sectors
And 'dmesg' gives me a summary :
Code:
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.
So the devices are correctly created and removed by Udev. The system works the first time, any ideas what I should be looking at ? I cannot mount the Olympus camera again until I've rebooted the PC, no matter what the status of the Casio is :-(
Hope you can help...