Announcement

Collapse
No announcement yet.

Sony DCR-DVD405 (USB) doesn't get mounted anymore...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sony DCR-DVD405 (USB) doesn't get mounted anymore...

    Hi! I'm having trouble making my camera get mounted. The strange thing is that a few days ago it DID work... I would connect the camera, select "COMPUTER" in its LCD and then the "A new medium has been detected" would come up to allow me get the camera mounted.

    Now this doesn't come up anymore.
    The output of 'sudo tail -f /var/log/messages' when I connect and then disconnect the usb cable is:

    Code:
    May 23 12:04:32 fcksys kernel: [17184883.036000] usb 5-2: new high speed USB device using ehci_hcd and address 4
    May 23 12:04:32 fcksys kernel: [17184883.172000] usb 5-2: configuration #1 chosen from 1 choice
    May 23 12:04:32 fcksys kernel: [17184883.172000] scsi3 : SCSI emulation for USB Mass Storage devices
    May 23 12:04:37 fcksys kernel: [17184888.176000]  Vendor: SONY   Model: DDX-C1002     Rev: R1.0
    May 23 12:04:37 fcksys kernel: [17184888.176000]  Type:  CD-ROM               ANSI SCSI revision: 00
    May 23 12:04:37 fcksys kernel: [17184888.200000] sr0: scsi3-mmc drive: 32x/32x tray
    May 23 12:04:37 fcksys kernel: [17184888.200000] sr 3:0:0:0: Attached scsi generic sg2 type 5
    The output to 'lsusb' is:

    Code:
    Bus 005 Device 014: ID 054c:0255 Sony Corp.
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 004: ID 046d:c50d Logitech, Inc.
    Bus 001 Device 001: ID 0000:0000
    And there it is, in Bus 005.

    Any idea of what could be wrong?
    Thanks!

    #2
    Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

    Hmm... post your fstab (/etc/fstab).
    For external use only.

    Comment


      #3
      Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

      Here's my fstab:

      Code:
      neoakiraz@fcksys:~$ cat /etc/fstab
      # /etc/fstab: static file system information.
      #
      # -- This file has been automaticly generated by ntfs-config --
      #
      # <file system> <mount point>  <type> <options>    <dump> <pass>
      
      proc /proc proc defaults 0 0
      # Entry for /dev/sdb5 :
      UUID=2ddded9e-375f-420b-b738-816b4f4a9cc2 / ext3 defaults,errors=remount-ro 0 1
      # Entry for /dev/sda1 :
      UUID=3254A77654A73C0B /media/sda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
      # Entry for /dev/sda5 :
      UUID=9D5CE8676C200131 /media/sda5 ntfs-3g defaults,locale=en_US.UTF-8 0 1
      # Entry for /dev/sda6 :
      # UUID=441F-D143 /media/sda6 vfat defaults,utf8,umask=007,gid=46 0 1
      # Entry for /dev/sdb1 :
      UUID=12ECDA4CBE835299 /media/sdb1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
      # Entry for /dev/sdb7 :
      UUID=4BB369A86F670384 /media/sdb7 ntfs-3g defaults,locale=en_US.UTF-8 0 1
      # Entry for /dev/sdb6 :
      UUID=77dbe179-e910-4e90-a865-0fc8b760cefd none swap sw 0 0
      /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
      /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
      /dev/ /media/floppy0 auto rw,user,noauto 0 0
      Thanks!

      Comment


        #4
        Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

        Strange... are you sure that that's everything that gets printed?
        Next time you do it, try "dmesg", rather than looking at /var/log/messages. This'll give more output on what happened. (It'll give a whole lot of output, you only need the last several lines.)

        If you can figure out which device node the drive got assigned, try mounting it.
        For external use only.

        Comment


          #5
          Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

          Originally posted by SheeEttin
          post your fstab (/etc/fstab)
          You rather may want to read through the contents of /etc/mtab (with the USB device plugged in, of course ...).

          Comment


            #6
            Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

            I thought so... here it is /etc/mtab while the device was plugged in:

            Code:
            /dev/sdb5 / ext3 rw,errors=remount-ro 0 0
            proc /proc proc rw,noexec,nosuid,nodev 0 0
            /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
            varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
            varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
            procbususb /proc/bus/usb usbfs rw 0 0
            udev /dev tmpfs rw,mode=0755 0 0
            devshm /dev/shm tmpfs rw 0 0
            devpts /dev/pts devpts rw,gid=5,mode=620 0 0
            lrm /lib/modules/2.6.17-11-generic/volatile tmpfs rw 0 0
            /dev/disk/by-uuid/3254A77654A73C0B /media/sda1 fuse rw,nosuid,nodev,noatime,allow_other 0 0
            /dev/disk/by-uuid/9D5CE8676C200131 /media/sda5 fuse rw,nosuid,nodev,noatime,allow_other 0 0
            /dev/disk/by-uuid/12ECDA4CBE835299 /media/sdb1 fuse rw,nosuid,nodev,noatime,allow_other 0 0
            none /proc/fs/vmblock/mountPoint vmblock rw 0 0
            /dev/hdc /media/cdrom1 iso9660 ro,noexec,nosuid,nodev,user=neoakiraz 0 0
            The output to 'dmesg tail' is:

            Code:
            [17180063.068000] usb 5-2: new high speed USB device using ehci_hcd and address 3
            [17180063.212000] usb 5-2: configuration #1 chosen from 1 choice
            [17180063.328000] usbcore: registered new driver libusual
            [17180063.372000] Initializing USB Mass Storage driver...
            [17180063.372000] scsi2 : SCSI emulation for USB Mass Storage devices
            [17180063.372000] usb-storage: device found at 3
            [17180063.372000] usb-storage: waiting for device to settle before scanning
            [17180063.372000] usbcore: registered new driver usb-storage
            [17180063.372000] USB Mass Storage support registered.
            [17180068.376000] usb-storage: device scan complete
            [17180068.380000]  Vendor: SONY   Model: DDX-C1002     Rev: R1.0
            [17180068.380000]  Type:  CD-ROM               ANSI SCSI revision: 00
            [17180068.384000] 2:0:0:0: Attached scsi generic sg2 type 5
            [17180068.468000] sr0: scsi3-mmc drive: 32x/32x tray
            [17180068.472000] sr 2:0:0:0: Attached scsi CD-ROM sr0
            [17180117.408000] usb 5-2: USB disconnect, address 3
            I thought that this one and the cat /var/log... were the same, but just in real time, but I can see that it isn't, since the output to cat (...) was now:

            Code:
            May 27 11:40:42 fcksys kernel: [17180063.068000] usb 5-2: new high speed USB device using ehci_hcd and address 3
            May 27 11:40:42 fcksys kernel: [17180063.212000] usb 5-2: configuration #1 chosen from 1 choice
            May 27 11:40:43 fcksys kernel: [17180063.328000] usbcore: registered new driver libusual
            May 27 11:40:43 fcksys kernel: [17180063.372000] Initializing USB Mass Storage driver...
            May 27 11:40:43 fcksys kernel: [17180063.372000] scsi2 : SCSI emulation for USB Mass Storage devices
            May 27 11:40:43 fcksys kernel: [17180063.372000] usbcore: registered new driver usb-storage
            May 27 11:40:43 fcksys kernel: [17180063.372000] USB Mass Storage support registered.
            May 27 11:40:48 fcksys kernel: [17180068.380000]  Vendor: SONY   Model: DDX-C1002     Rev: R1.0
            May 27 11:40:48 fcksys kernel: [17180068.380000]  Type:  CD-ROM               ANSI SCSI revision: 00
            May 27 11:40:48 fcksys kernel: [17180068.384000] 2:0:0:0: Attached scsi generic sg2 type 5
            May 27 11:40:48 fcksys kernel: [17180068.468000] sr0: scsi3-mmc drive: 32x/32x tray
            May 27 11:41:37 fcksys kernel: [17180117.408000] usb 5-2: USB disconnect, address 3
            Does this give some more insight?
            Thx!

            Comment


              #7
              Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

              There seems to be something broken with HAL in Feisty

              There's some workarounds in here:

              https://bugs.launchpad.net/ubuntu/+bug/102097

              HTH
              Child
              http://www.last.fm/music/The+Pony+Collaboration

              Comment


                #8
                Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                Originally posted by neoAKiRAz
                /dev/disk/by-uuid/3254A77654A73C0B /media/sda1 [...]
                /dev/disk/by-uuid/9D5CE8676C200131 /media/sda5 [...]
                /dev/disk/by-uuid/12ECDA4CBE835299 /media/sdb1 [...]
                Assuming that these are your "regular" disks, I dare say that your system is downright ignoring your camera in terms of "file systems and the like" ... therefore, I'd suggest you "nail down" this device by hand, as elaborated in this text.

                Comment


                  #9
                  Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                  [17180068.468000] sr0: scsi3-mmc drive: 32x/32x tray
                  Unless you inserted a CD (or did something with a CD) while you were also using your camera, I'd suspect that it's being recognized as a CD drive.

                  Instead of the fstab, try plugging it in and going to System Settings > Disk & Filesystems. This'll (hopefully) also show the name, etc. of the device. If you can pick it out (or at least identify it by a new entry), inspect the values it shows. (You may want to try hitting "Modify", but the results could be undesirable with precarious fstabs.)
                  For external use only.

                  Comment


                    #10
                    Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                    It is a Mini-DVD Camera. I went to Disk & Filesystems and an entry with 'Device' /dev/scd0 and 'Name' Optical Disk DDX-C1002 shows up. And it turns out that:

                    Code:
                    neoakiraz@fcksys:~$ ls -l /dev/sr0
                    lrwxrwxrwx 1 root root 4 2007-05-30 00:52 /dev/sr0 -> scd0
                    
                    neoakiraz@fcksys:~$ ls -l /dev/scd0
                    brw-rw---- 1 root cdrom 11, 0 2007-05-30 00:52 /dev/scd0
                    Using Modify/Enable and specifying the filesystem seems to produce the same results as mounting the device, with some 'guessed' filesystems. Mounting with iso9660 produces:

                    Code:
                    neoakiraz@fcksys:~$ sudo mount -t iso9660 /dev/scd0 /media/sony
                    mount: block device /dev/scd0 is write-protected, mounting read-only
                    mount: wrong fs type, bad option, bad superblock on /dev/scd0,
                        missing codepage or other error
                        In some cases useful info is found in syslog - try
                        dmesg | tail or so
                    Mounting with usbfs doesn't produce any output, and I can even access the mountpoint, but the contents are not the ones expected (it should have a VR_SOMETHING folder and some other files...)

                    Code:
                    neoakiraz@fcksys:~$ ls -R /media/sony
                    /media/sony:
                    001 002 003 004 005 devices
                    
                    /media/sony/001:
                    001 004
                    
                    /media/sony/002:
                    001
                    
                    /media/sony/003:
                    001
                    
                    /media/sony/004:
                    001
                    
                    /media/sony/005:
                    001 004
                    I updated to Feisty yesterday, was using Edgy until then. The update didn't seem to help this matter (everything else working great!).
                    Those are my regular disks, and I tried going through that text, but I'm not sure what to do: fdisk -l doesn't show up my camera, just:

                    Code:
                    root@fcksys:/home/neoakiraz# fdisk -l
                    
                    Disk /dev/sda: 164.6 GB, 164696555520 bytes
                    255 heads, 63 sectors/track, 20023 cylinders
                    Units = cylinders of 16065 * 512 = 8225280 bytes
                    
                      Device Boot   Start     End   Blocks  Id System
                    /dev/sda1  *      1    5222  41945683+  7 HPFS/NTFS
                    /dev/sda2      5223    20023  118889032+  f W95 Ext'd (LBA)
                    /dev/sda5      5223    19761  116784486  7 HPFS/NTFS
                    /dev/sda6      19762    20023   2104483+  b W95 FAT32
                    
                    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
                    255 heads, 63 sectors/track, 24321 cylinders
                    Units = cylinders of 16065 * 512 = 8225280 bytes
                    
                      Device Boot   Start     End   Blocks  Id System
                    /dev/sdb1  *      1    18015  144705456  7 HPFS/NTFS
                    /dev/sdb2      18016    24321  50652945  5 Extended
                    /dev/sdb5      18016    24190  49600656  83 Linux
                    /dev/sdb6      24191    24321   1052226  83 Linux
                    It's a shame I didn't take a look at the mounted device once it worked... If I knew the filesystem maybe I could try mounting it by hand or something, right?
                    Thanks for all your help. I hope you can help me fix this

                    Comment


                      #11
                      Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                      Originally posted by neoAKiRAz
                      I tried going through that text, but I'm not sure what to do
                      Let's forget about that for the moment and concentrate on /dev/sr0 instead (- I missed that in your previous post ... sorry).

                      Did you try (as hinted in another thread of yours) to manually add the "storage" kernel module (e.g. by sudo modprobe -v usb_storage)? Did that change anything?

                      In addition, you may want to try mounting without specifying a file system - thus forcing mount to (hopefully) guess what would be correct (?).

                      Comment


                        #12
                        Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                        Without manually loading usb_storage, he output of dmesg already spits:

                        Code:
                        [ 2193.413998] usb-storage: device found at 4
                        [ 2193.414001] usb-storage: waiting for device to settle before scanning
                        [ 2198.409851] usb-storage: device scan complete
                        Any way I tried loading the module again, but nothing changed.

                        One thing I noted is that the first time I plug the camera since I restart, 'tail -f /var/log/messages' says:

                        Code:
                        May 30 10:34:54 fcksys kernel: [ 2193.400945] usbcore: registered new interface driver libusual
                        May 30 10:34:54 fcksys kernel: [ 2193.413734] Initializing USB Mass Storage driver...
                        .
                        .
                        .
                        May 30 10:34:54 fcksys kernel: [ 2193.413867] usbcore: registered new interface driver usb-storage
                        May 30 10:34:54 fcksys kernel: [ 2193.413871] USB Mass Storage support registered.
                        ...while in further attempts, these lines don't come up anymore. May that be something it's loading a module for the first time being used, or something like it? Could it be usb_storage?

                        The output of mounting without a filesystem is:

                        Code:
                        neoakiraz@fcksys:~$ sudo mount /dev/scd0 /media/sony
                        mount: block device /dev/scd0 is write-protected, mounting read-only
                        mount: you must specify the filesystem type
                        And, if it adds anything up, dmesg reports:

                        Code:
                        May 30 10:39:11 fcksys kernel: [ 2449.465704] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.465712] sr0: rw=0, want=68, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494271] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494280] sr0: rw=0, want=2770236, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494485] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494490] sr0: rw=0, want=2769212, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494496] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494499] sr0: rw=0, want=2768988, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494504] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494507] sr0: rw=0, want=2770228, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494511] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494514] sr0: rw=0, want=2769204, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494519] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494522] sr0: rw=0, want=2768980, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494526] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494529] sr0: rw=0, want=2769636, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494538] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494541] sr0: rw=0, want=2768612, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494546] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494548] sr0: rw=0, want=2768388, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494553] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494555] sr0: rw=0, want=2769628, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494560] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494563] sr0: rw=0, want=2768604, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494567] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494570] sr0: rw=0, want=2768380, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494574] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494577] sr0: rw=0, want=2273040, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494583] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494585] sr0: rw=0, want=2272016, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494590] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494593] sr0: rw=0, want=2271792, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494597] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494600] sr0: rw=0, want=2273032, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494604] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494607] sr0: rw=0, want=2272008, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494612] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494614] sr0: rw=0, want=2271784, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494619] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494622] sr0: rw=0, want=2272440, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494626] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494629] sr0: rw=0, want=2271416, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494633] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494636] sr0: rw=0, want=2271192, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494641] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494643] sr0: rw=0, want=2272432, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494648] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494650] sr0: rw=0, want=2271408, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494655] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494659] sr0: rw=0, want=2271184, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494665] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494667] sr0: rw=0, want=1252, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494672] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.494674] sr0: rw=0, want=1028, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.494678] UDF-fs: No partition found (1)
                        May 30 10:39:11 fcksys kernel: [ 2449.526092] attempt to access beyond end of device
                        May 30 10:39:11 fcksys kernel: [ 2449.526100] sr0: rw=0, want=68, limit=4
                        May 30 10:39:11 fcksys kernel: [ 2449.526288] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
                        It seems that it tried mounting with udf-fs, right?
                        Thx!

                        Comment


                          #13
                          Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                          I just tried restarting to check if this couldn't have something to do with manually adding the module. I did a 'lsmod | grep usb' and the output didn't report usb_storage. I plugged the camera, the 4 lines I mentioned above appeared between the others the first time, and not in the following pluggings. After the first time I plugged the camera, 'lsmod | grep usb' reported:

                          Code:
                          neoakiraz@fcksys:~$ lsmod | grep usb
                          usb_storage      72256 0
                          libusual        17936 1 usb_storage
                          usbhid         26592 0
                          hid          27392 1 usbhid
                          usbcore        134280 6 usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
                          scsi_mod       142348 5 sr_mod,usb_storage,sg,sd_mod,libata
                          So it seems it is loading the usb_storage module correctly in demand.

                          Comment


                            #14
                            Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                            Originally posted by neoAKiRAz
                            May 30 10:39:11 fcksys kernel: [ 2449.494678] UDF-fs: No partition found (1)
                            Oops, that doesn't look good ... are you sure that the disk (inside the camera) actually does contain a valid file system

                            Comment


                              #15
                              Re: Sony DCR-DVD405 (USB) doesn't get mounted anymore...

                              Mhh I didn't even think of changing the MiniDVD. I did it now, plugged it in and a the "what do you want to do..." window came up. I chose 'open in a new window', but it never showed up, and /var/log/messages reported

                              May 30 12:07:05 fcksys kernel: [ 4577.280684] Unable to identify CD-ROM format.
                              May 30 12:07:06 fcksys kernel: [ 4578.311199] Unable to identify CD-ROM format.

                              I changed the MiniDVD several times, and this only happens for the second disk. For the first one, it just ignores it. Both disks are working perfectly from within the camera, and are successfully seen by Windows and another PC

                              I'm going to try plugging the camera in in another Kubuntu installation, and see what happens. I'll post this night. Greetz and thx!

                              Comment

                              Working...
                              X