Re: [SLE] /dev/sda1 usb flash memory

From: Kastus (NOSPAM_at_tprfct.net)
Date: 08/15/04

  • Next message: Elijah Savage: "[SLE] SuSE9.1 As multimedia office machine"
    Date: Sun, 15 Aug 2004 10:40:37 -0700
    To: suse-linux-e@suse.com
    
    

    On Sun, Aug 15, 2004 at 11:13:44AM +0200, steve-ss wrote:
    > My camera flash card has an fstab entry like this:
    >
    > /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0
    > #HOTPLUG 4t_9.GdvU0fSB2R0

    fstab entry doesn't mean that file system is mounted.

    >
    > I get this error when trying to access it:
    >
    > Could not enter
    > folder /media/usb-storage-000000000002:0:0:0p1

    As you see, mount point is different from entry in fstab.
    Generally, you don't need an entry in fstab for the camera on 9.1,
    the mount point is created dynamically by hotplug.

    Are you using standard 9.1 hotplug or did you disable subfs?

    If it's standard unchanged hotplug, then after connecting your camera
    you should see something like this in your /var/log/messages:
    (I'm using latest updates from YOU, hotplug-0.44-32.22 and submount-0.9-33.6)

    Aug 15 10:13:14 fizia kernel: usb 1-2.1: new full speed USB device using address 6
    Aug 15 10:13:15 fizia kernel: usb 1-2.1: Product: C5050Z
    Aug 15 10:13:15 fizia kernel: usb 1-2.1: Manufacturer: OLYMPUS
    Aug 15 10:13:15 fizia kernel: usb 1-2.1: SerialNumber: 000242727020
    Aug 15 10:13:15 fizia kernel: scsi3 : SCSI emulation for USB Mass Storage devices
    Aug 15 10:13:15 fizia kernel: Vendor: OLYMPUS Model: C5050Z Rev: 1.00
    Aug 15 10:13:15 fizia kernel: Type: Direct-Access ANSI SCSI revision: 02
    Aug 15 10:13:15 fizia kernel: SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
    Aug 15 10:13:15 fizia kernel: sda: assuming Write Enabled
    Aug 15 10:13:15 fizia kernel: sda: assuming drive cache: write through
    Aug 15 10:13:15 fizia /etc/hotplug/usb.agent[7887]: need a device for this command
    Aug 15 10:13:15 fizia /etc/hotplug/block.agent[7950]: try 1 while waiting for /block/sda's bus_id 3:0:
    0:0
    Aug 15 10:13:15 fizia kernel: sda: sda1
    Aug 15 10:13:15 fizia kernel: Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
    Aug 15 10:13:15 fizia kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
    Aug 15 10:13:15 fizia kernel: USB Mass Storage device found at 6
    Aug 15 10:13:16 fizia /etc/hotplug/block.agent[7974]: new block device /block/sda/sda1
    Aug 15 10:13:16 fizia /etc/hotplug/block.agent[7950]: waiting for /var/lock/block.agent.lock, process
    7974 holds it
    Aug 15 10:13:21 fizia /etc/hotplug/block.agent[7974]: mount by-path/usb-storage-000242727020:0:0:0p1
    Aug 15 10:13:21 fizia /etc/hotplug/block.agent[7950]: new block device /block/sda

    Mount command should now report your camera mounted at a dynamically created mount point:

    mount

    /dev/sda1 on /media/usb-storage-000242727020:0:0:0p1 type subfs (rw,noexec,nosuid,nodev,sync,procuid,iocharset=utf8)

    The directory name will be different in your case, most probably it will be
    /media/usb-storage-000000000002:0:0:0p1

    If you cannot access your camera at this point (try something like
    ls -l /media/usb-storage-000000000002\:0\:0\:0p1) and it's reported as mounted,
    then for diagnosing purposes unmount it manually with command:

    umount /media/usb-storage-000000000002\:0\:0\:0p1

    and then mount it manually:

    mount -t vfat /dev/sda1 /media/usb-storage-000000000002\:0\:0\:0p1

    If you can access it after that, then it means some problem with subfs/submountd.
    If not, the problem is at some other layer.

    I don't know if this procedure will help you, at least it provides some guidelines
    where to look.

    Regards, -Kastus

    --
    (suse-lists at tprfct dot net)
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Elijah Savage: "[SLE] SuSE9.1 As multimedia office machine"

    Relevant Pages

    • Re: Film SLR or Digital Camera?
      ... If you are experimenting with imaging, there is NO better solution out there to get you started. ... This camera is capable of low noise RAW 5 minute exposures at ISO 400, and digital data is easily manipulated on a PC using a plethora of software options, some free, some not. ... There are several clones of the "original" low end amateur mount that allowed for reasonable success with light gear and moderate exposure times, ... The EQ-5/CG-5 Polar Scope sucks, the Vixen GP Polar Scope is AMAZING, if properly installed and calibrated to the mount. ...
      (sci.astro.amateur)
    • Re: Film SLR or Digital Camera?
      ... explore film based camera first and then move on to the digital ... with imaging, there is NO better solution out there to get you started. ... to let the scope settle. ... about the mount. ...
      (sci.astro.amateur)
    • Re: more about the camera design I would like to have
      ... |> so adaptors work easily) mount that is actually closer. ... |> it on an SLR can damage both lens and camera mirror). ... able to use all those SLR lenses. ... uses an LCD display in the viewfinder in live mode, ...
      (rec.photo.digital)
    • Re: Nikon D40 with 300mm lens AND teleconverter (Nikkor AF-S Teleconverter TC-20E II)
      ... capable EOS system and it's EF mount. ... and 40 year old lenses still mount and work perfectly ... Matrix/evaluative metering may be degraded, as the camera cannot ...
      (rec.photo.digital.slr-systems)
    • Re: analemma
      ... of the analemma and the other of the foreground. ... What you could is to setup a permanent pier which is oriented for the mean azimuth of your analemma of interest for the twelve months. ... You will also need some sort of mechanism, either fixed or permanent, for the camera itself and which address the issue of the mean altitude for the same analemma. ... you may wish to construct a mount which will fit into the permanent pier like a glove each and every time so that you will always be oriented precisely the same for both dimensions. ...
      (sci.astro.amateur)