[aklug] Re: Confused -- manually mounting usb in Debian

From: bdk <bdk@thirdmason.com>
Date: Mon Oct 20 2008 - 11:52:22 AKDT

Richard, I had bought the 3 pack of 2gb cruzer drives at Costco and
un-u3smarted them and have been using them all summer to carry ebooks
with me. Mainly using them under Ubuntu (Hardy) and occasionally (like
yesterday when I was asked to confirm that the u3 software doesn't
auto-reinstall when plugged in) in Windows (Xp & Vista). I formatted
them as vfat and I can't remember if I used windows (after un-smarting
them) or linux to format them.

Output from my syslog after inserting one of them:

Oct 20 11:25:26 buddha kernel: [151902.441420] usb 3-4: new high speed
USB device using ehci_hcd and address 2
Oct 20 11:25:26 buddha kernel: [151902.556426] usb 3-4: configuration #1
chosen from 1 choice
Oct 20 11:25:26 buddha kernel: [151902.557434] scsi8 : SCSI emulation
for USB Mass Storage devices
Oct 20 11:25:26 buddha kernel: [151902.557712] usb-storage: device found
at 2
Oct 20 11:25:26 buddha kernel: [151902.557850] usb-storage: waiting for
device to settle before scanning
Oct 20 11:25:26 buddha NetworkManager: <debug> [1224530726.730881]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_781_5406_4317520A6702EF32').
Oct 20 11:25:26 buddha NetworkManager: <debug> [1224530726.841687]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_781_5406_4317520A6702EF32_if0').
Oct 20 11:25:31 buddha kernel: [151907.550294] usb-storage: device scan
complete
Oct 20 11:25:31 buddha kernel: [151907.550887] scsi 8:0:0:0:
Direct-Access SanDisk Cruzer 7.01 PQ: 0 ANSI: 0 CCS
Oct 20 11:25:31 buddha kernel: [151907.552722] sd 8:0:0:0: [sdd] 3940351
512-byte hardware sectors (2017 MB)
Oct 20 11:25:31 buddha kernel: [151907.553697] sd 8:0:0:0: [sdd] Write
Protect is off
Oct 20 11:25:31 buddha kernel: [151907.553705] sd 8:0:0:0: [sdd] Mode
Sense: 45 00 00 08
Oct 20 11:25:31 buddha kernel: [151907.553709] sd 8:0:0:0: [sdd]
Assuming drive cache: write through
Oct 20 11:25:31 buddha kernel: [151907.556468] sd 8:0:0:0: [sdd] 3940351
512-byte hardware sectors (2017 MB)
Oct 20 11:25:31 buddha kernel: [151907.557111] sd 8:0:0:0: [sdd] Write
Protect is off
Oct 20 11:25:31 buddha kernel: [151907.557119] sd 8:0:0:0: [sdd] Mode
Sense: 45 00 00 08
Oct 20 11:25:31 buddha kernel: [151907.557123] sd 8:0:0:0: [sdd]
Assuming drive cache: write through
Oct 20 11:25:31 buddha kernel: [151907.557134] sdd: sdd1
Oct 20 11:25:31 buddha kernel: [151907.558082] sd 8:0:0:0: [sdd]
Attached SCSI removable disk
Oct 20 11:25:31 buddha kernel: [151907.558121] sd 8:0:0:0: Attached scsi
generic sg5 type 0
Oct 20 11:25:31 buddha NetworkManager: <debug> [1224530731.798972]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_781_5406_4317520A6702EF32_if0_scsi_host').

Oct 20 11:25:31 buddha NetworkManager: <debug> [1224530731.802805]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_781_5406_4317520A6702EF32_if0_scsi_host_scsi_device_lun0').

Oct 20 11:25:31 buddha NetworkManager: <debug> [1224530731.805674]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_781_5406_4317520A6702EF32_if0_scsi_host_scsi_device_lun0_scsi_generic').

Oct 20 11:25:31 buddha NetworkManager: <debug> [1224530731.975448]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/storage_serial_SanDisk_Cruzer_4317520A6702EF32_0_0').

Oct 20 11:25:31 buddha NetworkManager: <debug> [1224530731.989600]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/volume_uuid_473D_00FA').
Oct 20 11:25:32 buddha hald: mounted /dev/sdd1 on behalf of uid 1000

Output from 'mount':

/dev/sdd1 on /media/CISCOBOOKS2 type vfat
(rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush)

I tried the flash drives in two other headless Debian servers and
neither auto-mounted and I don't think they ever did but they did detect
them and attach them to the next scsi /dev/sd? device.

Hopefully comparing output can help you figure out why they're not
auto-mounting at least under Debian, did they auto-mount prior under
Debian? I wonder if the Debian desktop has an auto-mount package
installed that the non-x server doesn't

-Sean

Richard Moore wrote:
> I have 3 scandisk drives that do not mount as U3 devices in ubuntu, and
> debian desktops. since I used the U3 uninstaller it does not auto mount on
> anything..
> Richard
>
> On Sun, Oct 19, 2008 at 3:58 PM, Jim Gribbin <jimgribbin@gmail.com> wrote:
>
>
>> You can't just mount the SanDisk and ignore the U3?
>>
>> My U3 drive mounts automatically on most later distros, since FC3 or so.
>> I end up with a 'U3 System' and a 'whatever I named the other partition.
>> I just ignore the U3 System. Doesn't seem to bother anything.
>>
>> I occasionally get stuck doing some stuff on Windows boxes I don't own
>> and I find it handy having FireFox and OpenOffice handy without
>> installing at times.
>> -
>> Jim G
>>
>> Linux User: #179129 http://counter.li.org/
>>
>>
>>
>> On Sat, 2008-10-18 at 10:02 -0800, James Zuelow wrote:
>>
>>> On Saturday 18 October 2008 01:45:57 Christopher Howard wrote:
>>>
>>>> Hi. I want to know how to manually mount a usb stick on my debian
>>>> system, but I'm a bit confused about something.
>>>>
>>>>
>>> It should be fairly automatic. From your log excerpt it looks like
>>>
>> almost
>>
>>> everything is working.
>>>
>>>
>>>> [318078.341408] usb 3-6: Product: U3 Cruzer Micro
>>>> [318078.341409] usb 3-6: Manufacturer: SanDisk
>>>>
>>> Here's a problem. Avoid these U3 drives. They have this CD-ROM image on
>>>
>> them
>>
>>> that insists on loading. If you delete the image on a Linux box and
>>>
>> sometime
>>
>>> in the future insert the key into a Windows machine that has had a U3
>>>
>> device
>>
>>> inserted, you'll get it back. For no other reason than SanDisk thinks
>>>
>> they
>>
>>> have a right to keep putting that junk on your USB key, avoid these.
>>>
>>> (snip)
>>>
>>>
>>>> However, when I try (as root) to mount these with
>>>> mount /dev/sda /media/usb (after creating the usb directory, of course)
>>>> The only message I get is 'mount: no medium found'. Same with
>>>> /dev/sdb... etc.
>>>>
>>>>
>>> It detected the /dev/sde1 partition, but didn't mount it. Is the SanDisk
>>> formatted with NTFS? If so, do you have ntfs-3g or fuse installed?
>>>
>>> ---------
>>> To unsubscribe, send email to <aklug-request@aklug.org>
>>> with 'unsubscribe' in the message body.
>>>
>>>
>> ---------
>> To unsubscribe, send email to <aklug-request@aklug.org>
>> with 'unsubscribe' in the message body.
>>
>>
>>
>
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Oct 20 11:52:39 2008

This archive was generated by hypermail 2.1.8 : Mon Oct 20 2008 - 11:52:40 AKDT