Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread Andrew Gould
 From: Garrett Cooper [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Monday, January 22, 2007 10:42:15 PM
 Subject: Re: trouble mounting Olympus WS-310M voice recorder
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 ajm wrote:
  On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
  Andrew Gould wrote:
  [snip]
  
  this is from a previous message in the thread:
  attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
  
  try as root or su to root
  
  # mount_msdosfs /dev/da0s1 /mnt/ws310
 
 Interestingly enough I tried out these steps as root to see if I could
 resimulate this with my camera and I ended up with the same results.
 Only by trying to mount the camera as root could I succeed.
 
 Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
 a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
 using amd(8)?
 
 - -Garrett

I tried mounting the partition as root.  It didn't work.  I think I'll install 
an older version of FreeBSD somewhere and see if the problem is isolated to 6.2.

Andrew



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread youshi10

On Tue, 23 Jan 2007, Andrew Gould wrote:


From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, January 22, 2007 10:42:15 PM
Subject: Re: trouble mounting Olympus WS-310M voice recorder


Interestingly enough I tried out these steps as root to see if I could
resimulate this with my camera and I ended up with the same results.
Only by trying to mount the camera as root could I succeed.

Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
using amd(8)?

- -Garrett


I tried mounting the partition as root.  It didn't work.  I think I'll install 
 an older version of FreeBSD somewhere and see if the problem is isolated to
6.2.

Andrew


cd /dev; ls -l xpt* pass* da0 says?

You do need pass and da compiled into the kernel with the right permissions in 
order to make stuff work with cameras AFAIK.

-Garrett

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread Andrew Gould
 cd /dev; ls -l xpt* pass* da0 says?
 
 You do need pass and da compiled into the kernel with the right permissions 
 in order to
 make stuff work with cameras AFAIK.
 
 -Garrett

Here's the output:

# ls -l xpt* pass* da0
crw-r-  1 root  operator0, 139 Jan 23 22:05 da0
crw---  1 root  operator0, 126 Jan 23 22:05 pass0
crw---  1 root  operator0, 138 Jan 23 22:05 pass1
crw---  1 root  operator0, 127 Jan 23 22:05 xpt0

FYI - In case it makes a difference, the Olympus WS-310 is a digital voice 
recorder, not a camera.

Thanks,

Andrew



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread ajm
On Mon, Jan 22, 2007 at 11:16:54PM -0800, Garrett Cooper wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 ajm wrote:
  On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote:
  ajm wrote:
  On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
  Andrew Gould wrote:
  [snip]
  this is from a previous message in the thread:
  attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
  try as root or su to root
 
  # mount_msdosfs /dev/da0s1 /mnt/ws310
  Interestingly enough I tried out these steps as root to see if I could
  resimulate this with my camera and I ended up with the same results.
  Only by trying to mount the camera as root could I succeed.
  
  Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
  a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
  using amd(8)?
  
  -Garrett
 
  Take a look at   sudoers(5)   and   visudo(8)
 
  I use sudo to mount my mass storage compliant devices with the 
  following command as regular user:
 
  for my mp3 player
  [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player
 
  for my camera
  [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak
 
  for a memory card reader
  [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 
  /usr/home/ajm/mnt/card_reader
 
  Just make sure you change the  ?  to an actual device number.
  You do need to create the /mnt directories in your own home directory 
  so that you can read and write to those devices as a regular user.
 
  Also use sudo to un mount the device:
 
  [EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1
 
  NOTE: I did not change anything in the /etc/devfs.conf or am I using 
  amd(8).
 
 That's not an absolute solution though, because it should work as a
 regular user (maybe with a bit of fenaggling). Besides, installing sudo
 is a security risk anyhow..
 - -Garrett
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.1 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFFtbZmEnKyINQw/HARAjMJAJwPrVm8VI64gdwBwtDOrDmxO+Cv4gCfQzXT
 eudjUIzKZtXf9g3khIaK84k=
 =oY+M
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Sudo...security risk???  It depends on how you set it up.  This is my 
setup:

See man visudo for a description of Defaults section...

# Defaults specification
Defaults env_reset
Defaults timestamp_timeout=0
Defaults tty_tickets
Defaults requiretty
Defaults passwd_timeout=1

# User privilege specification
rootALL=(ALL) ALL
wtck57  ALL=/sbin/shutdown,/sbin/mount,/sbin/umount,\
/sbin/mount_msdosfs

# Uncomment to allow people in group wheel to run all commands
# %wheelALL=(ALL)   ALL

# Same thing without a password
# %wheelALL=(ALL)   NOPASSWD: ALL

As you can see I can only run certain commands from sudo...

-- 
Alexander
FreeBSD 6.0-RELEASE i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ajm wrote:
 On Mon, Jan 22, 2007 at 11:16:54PM -0800, Garrett Cooper wrote:
 ajm wrote:
 On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote:
 ajm wrote:
 On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
 Andrew Gould wrote:
 [snip]
 this is from a previous message in the thread:
 attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
 try as root or su to root

 # mount_msdosfs /dev/da0s1 /mnt/ws310
 Interestingly enough I tried out these steps as root to see if I could
 resimulate this with my camera and I ended up with the same results.
 Only by trying to mount the camera as root could I succeed.

 Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
 a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
 using amd(8)?

 -Garrett
 Take a look at   sudoers(5)   and   visudo(8)
 I use sudo to mount my mass storage compliant devices with the 
 following command as regular user:
 for my mp3 player
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player
 for my camera
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak
 for a memory card reader
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 
 /usr/home/ajm/mnt/card_reader
 Just make sure you change the  ?  to an actual device number.
 You do need to create the /mnt directories in your own home directory 
 so that you can read and write to those devices as a regular user.
 Also use sudo to un mount the device:
 [EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1
 NOTE: I did not change anything in the /etc/devfs.conf or am I using 
 amd(8).
 That's not an absolute solution though, because it should work as a
 regular user (maybe with a bit of fenaggling). Besides, installing sudo
 is a security risk anyhow..
 -Garrett

 Sudo...security risk???  It depends on how you set it up.  This is my 
 setup:

 See man visudo for a description of Defaults section...

 # Defaults specification
 Defaults env_reset
 Defaults timestamp_timeout=0
 Defaults tty_tickets
 Defaults requiretty
 Defaults passwd_timeout=1

 # User privilege specification
 rootALL=(ALL) ALL
 wtck57  ALL=/sbin/shutdown,/sbin/mount,/sbin/umount,\
 /sbin/mount_msdosfs

 # Uncomment to allow people in group wheel to run all commands
 # %wheelALL=(ALL)   ALL

 # Same thing without a password
 # %wheelALL=(ALL)   NOPASSWD: ALL

 As you can see I can only run certain commands from sudo...

Last time I checked though, the FreeBSD Security group warned against
using it (you know.. the warning message after installing some ports).
But that was some time ago when I last used that command..

I dunno. su serves its purpose well enough and it's a rock solid
command. If there's a problem with su there's a problem with the
login/password storage mechanism, like there would be with sudo.

I admit that your setup does look secure though. Cheers on that.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtu52EnKyINQw/HARAr7oAJ9dPnD73y1NI2eLjnzVOQ2NAnM6iACcDPgP
PmFRtdSnetLs3xq5gGpOHeM=
=ibQ9
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-23 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Gould wrote:
 cd /dev; ls -l xpt* pass* da0 says?

 You do need pass and da compiled into the kernel with the right permissions 
 in order to
 make stuff work with cameras AFAIK.

 -Garrett
 
 Here's the output:
 
 # ls -l xpt* pass* da0
 crw-r-  1 root  operator0, 139 Jan 23 22:05 da0
 crw---  1 root  operator0, 126 Jan 23 22:05 pass0
 crw---  1 root  operator0, 138 Jan 23 22:05 pass1
 crw---  1 root  operator0, 127 Jan 23 22:05 xpt0
 
 FYI - In case it makes a difference, the Olympus WS-310 is a digital voice 
 recorder, not a camera.
 
 Thanks,
 
 Andrew

Technically it's a mountable item via SCSI though.. so it's really no
different.

Try adding +x permissions to those items and mounting as root to see if
stuff works. Getting pass and SCSI stuff to work properly permissions
wise is a bit weird sometimes..

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtu6YEnKyINQw/HARAmZlAJ90CcAJhA/Vz+u0I+hQ4pjClEsFsgCfTzGH
AlnKMqJcE3vxT1YyN0lzz9o=
=03rg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-22 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ajm wrote:
 On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
 Andrew Gould wrote:
 [snip]
 
 this is from a previous message in the thread:
 attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
 
 try as root or su to root
 
 # mount_msdosfs /dev/da0s1 /mnt/ws310

Interestingly enough I tried out these steps as root to see if I could
resimulate this with my camera and I ended up with the same results.
Only by trying to mount the camera as root could I succeed.

Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
using amd(8)?

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN
XJG0nd+4LjvIvNM8ZX5uiFo=
=GTAC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-22 Thread ajm
On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 ajm wrote:
  On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
  Andrew Gould wrote:
  [snip]
  
  this is from a previous message in the thread:
  attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
  
  try as root or su to root
  
  # mount_msdosfs /dev/da0s1 /mnt/ws310
 
 Interestingly enough I tried out these steps as root to see if I could
 resimulate this with my camera and I ended up with the same results.
 Only by trying to mount the camera as root could I succeed.
 
 Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
 a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
 using amd(8)?
 
 - -Garrett
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.1 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN
 XJG0nd+4LjvIvNM8ZX5uiFo=
 =GTAC
 -END PGP SIGNATURE-


Take a look at   sudoers(5)   and   visudo(8)

I use sudo to mount my mass storage compliant devices with the 
following command as regular user:

for my mp3 player
[EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player

for my camera
[EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak

for a memory card reader
[EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader

Just make sure you change the  ?  to an actual device number.
You do need to create the /mnt directories in your own home directory 
so that you can read and write to those devices as a regular user.

Also use sudo to un mount the device:

[EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1

NOTE: I did not change anything in the /etc/devfs.conf or am I using 
amd(8).

-- 
Alexander
FreeBSD 6.0 RELEASE i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-22 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ajm wrote:
 On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote:
 ajm wrote:
 On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
 Andrew Gould wrote:
 [snip]
 this is from a previous message in the thread:
 attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310
 try as root or su to root

 # mount_msdosfs /dev/da0s1 /mnt/ws310
 Interestingly enough I tried out these steps as root to see if I could
 resimulate this with my camera and I ended up with the same results.
 Only by trying to mount the camera as root could I succeed.
 
 Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as
 a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you
 using amd(8)?
 
 -Garrett

 Take a look at   sudoers(5)   and   visudo(8)

 I use sudo to mount my mass storage compliant devices with the 
 following command as regular user:

 for my mp3 player
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player

 for my camera
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak

 for a memory card reader
 [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader

 Just make sure you change the  ?  to an actual device number.
 You do need to create the /mnt directories in your own home directory 
 so that you can read and write to those devices as a regular user.

 Also use sudo to un mount the device:

 [EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1

 NOTE: I did not change anything in the /etc/devfs.conf or am I using 
 amd(8).

That's not an absolute solution though, because it should work as a
regular user (maybe with a bit of fenaggling). Besides, installing sudo
is a security risk anyhow..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtbZmEnKyINQw/HARAjMJAJwPrVm8VI64gdwBwtDOrDmxO+Cv4gCfQzXT
eudjUIzKZtXf9g3khIaK84k=
=oY+M
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Andrew Gould
Background:  The Olympus WS-310M digital voice recorder has a standard USB 
interface and uses flash memory to store sound files.  Unfortunately, this 
device only records to WMA files.  I was able to view the filesystem on my 
MacMini without installing any software.  I'm trying to mount it to my FreeBSD 
system so that I can use ffmpeg to convert the WMA files to a more universally 
readable format.

Problem:  I am having trouble mounting this device in FreeBSD 6.2.

Here is the related dmesg output:

 umass0: OLYMPUS CORPORATION DIGITAL VOICE RECORDER, rev 1.10/1.00, addr 3
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: OLYMPUS DVR 1.00 Removable Direct Access SCSI-2 device 
 da0: 1.000MB/s transfers
 da0: 500MB (256000 2048 byte sectors: 64H 32S/T 125C)
 umass0: at uhub3 port 2 (addr 3) disconnected
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 umass0: detached
 umass0: OLYMPUS CORPORATION DIGITAL VOICE RECORDER, rev 1.10/1.00, addr 3
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: OLYMPUS DVR 1.00 Removable Direct Access SCSI-2 device 
 da0: 1.000MB/s transfers
 da0: 500MB (256000 2048 byte sectors: 64H 32S/T 125C)
 
Here is the output from 'fdisk /dev/da0':

 *** Working on device /dev/da0 ***
 parameters extracted from in-core disklabel are:
 cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)
 
 parameters to be used for BIOS calculations are:
 cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)
 
 Media sector size is 2048
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
start 117, size 255885 (499 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 54;
 end: cyl 499/ head 7/ sector 32
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED

Here is the output from 'ls /dev/da0*':

 /dev/da0/dev/da0s1

Here is the output of my various attempts at mounting this device as root:

attempt:  mount -tmsdos -orw /dev/da0 /mnt/ws310
result: mount_msdosfs: /dev/da0: Invalid argument

attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310

result: mount_msdosfs: /dev/da0s1: Invalid argument


Attempts with '-oro' instead of '-orw' had similar results.

What am I doing wrong?

Thanks,

Andrew Gould


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Garrett Cooper

On Jan 21, 2007, at 10:40 AM, Andrew Gould wrote:

Background:  The Olympus WS-310M digital voice recorder has a  
standard USB interface and uses flash memory to store sound files.   
Unfortunately, this device only records to WMA files.  I was able  
to view the filesystem on my MacMini without installing any  
software.  I'm trying to mount it to my FreeBSD system so that I  
can use ffmpeg to convert the WMA files to a more universally  
readable format.


Problem:  I am having trouble mounting this device in FreeBSD 6.2.

Here is the related dmesg output:

 umass0: OLYMPUS CORPORATION DIGITAL VOICE RECORDER, rev  
1.10/1.00, addr 3

 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: OLYMPUS DVR 1.00 Removable Direct Access SCSI-2 device
 da0: 1.000MB/s transfers
 da0: 500MB (256000 2048 byte sectors: 64H 32S/T 125C)
 umass0: at uhub3 port 2 (addr 3) disconnected
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 umass0: detached
 umass0: OLYMPUS CORPORATION DIGITAL VOICE RECORDER, rev  
1.10/1.00, addr 3

 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: OLYMPUS DVR 1.00 Removable Direct Access SCSI-2 device
 da0: 1.000MB/s transfers
 da0: 500MB (256000 2048 byte sectors: 64H 32S/T 125C)

Here is the output from 'fdisk /dev/da0':

 *** Working on device /dev/da0 ***
 parameters extracted from in-core disklabel are:
 cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)

 parameters to be used for BIOS calculations are:
 cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)

 Media sector size is 2048
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
start 117, size 255885 (499 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 54;
 end: cyl 499/ head 7/ sector 32
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED

Here is the output from 'ls /dev/da0*':

 /dev/da0/dev/da0s1

Here is the output of my various attempts at mounting this device  
as root:


attempt:  mount -tmsdos -orw /dev/da0 /mnt/ws310
result: mount_msdosfs: /dev/da0: Invalid argument

attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310

result: mount_msdosfs: /dev/da0s1: Invalid argument


Attempts with '-oro' instead of '-orw' had similar results.

What am I doing wrong?

Thanks,

Andrew Gould


Try /dev/da0s1.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Garrett Cooper

On Jan 21, 2007, at 10:40 AM, Andrew Gould wrote:


snip


Nevermind.. didn't see the last line. What does your MacMini say when  
you mount the camera (Utilities - Disk Utility or Utilities -  
Terminal and type in mount and provide the output here)?

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Gould wrote:

 The MacMini mounts the drive as soon as it sees it, and deletes the device as 
 soon as I unmount it; so I can't test it that way.  When I try to mount it 
 while 
 it's mounted, I get:
 
  mount_msdos /dev/disk1s1: resource busy

 When I get_info on the drive, it reports a DOS_16 partition with a 
 MS_DOS_12 file system.

I didn't mean to mount the drive, just to see what the mount options
were (that can be found via strictly the mount command). However, the
get_info portion that you provided gave me the information that mount
could have provided, most likely.

 I successfully mounted a DOS floppy on my FreeBSD system to ensure that 
 mount_msdos was working properly.

Ok. Do you have MSDOSFS_LARGE compiled in the kernel?

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFs9prEnKyINQw/HARAtiwAJ4tJfdiWRRdnsjDWVVgZ/0C+LrPmACfUCHQ
gb7sQEeMJ1TOOWVJ0QqD+uE=
=QnLK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Andrew Gould
- Original Message 
From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sunday, January 21, 2007 3:26:03 PM
Subject: Re: trouble mounting Olympus WS-310M voice recorder

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Gould wrote:

 The MacMini mounts the drive as soon as it sees it, and deletes the device as 
 soon as I unmount it; so I can't test it that way.  When I try to mount it 
 while 
 it's mounted, I get:
 
  mount_msdos /dev/disk1s1: resource busy

 When I get_info on the drive, it reports a DOS_16 partition with a 
 MS_DOS_12 file system.

I didn't mean to mount the drive, just to see what the mount options
were (that can be found via strictly the mount command). However, the
get_info portion that you provided gave me the information that mount
could have provided, most likely.

 I successfully mounted a DOS floppy on my FreeBSD system to ensure that 
 mount_msdos was working properly.

Ok. Do you have MSDOSFS_LARGE compiled in the kernel?

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFs9prEnKyINQw/HARAtiwAJ4tJfdiWRRdnsjDWVVgZ/0C+LrPmACfUCHQ
gb7sQEeMJ1TOOWVJ0QqD+uE=
=QnLK
-END PGP SIGNATURE-

I do not have MSDOSFS_LARGE compiled in the kernel.  I'm recompiling now.

Thanks,

Andrew




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Andrew Gould
- Original Message 
From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sunday, January 21, 2007 3:26:03 PM
Subject: Re: trouble mounting Olympus WS-310M voice recorder

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Gould wrote:

 The MacMini mounts the drive as soon as it sees it, and deletes the device as 
 soon as I unmount it; so I can't test it that way.  When I try to mount it 
 while 
 it's mounted, I get:
 
  mount_msdos /dev/disk1s1: resource busy

 When I get_info on the drive, it reports a DOS_16 partition with a 
 MS_DOS_12 file system.

I didn't mean to mount the drive, just to see what the mount options
were (that can be found via strictly the mount command). However, the
get_info portion that you provided gave me the information that mount
could have provided, most likely.

 I successfully mounted a DOS floppy on my FreeBSD system to ensure that 
 mount_msdos was working properly.

Ok. Do you have MSDOSFS_LARGE compiled in the kernel?

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFs9prEnKyINQw/HARAtiwAJ4tJfdiWRRdnsjDWVVgZ/0C+LrPmACfUCHQ
gb7sQEeMJ1TOOWVJ0QqD+uE=
=QnLK
-END PGP SIGNATURE-

Adding MSDOSFS_LARGE to the kernel didn't help.

I mounted the voice recorder successfully on Suse Enterprise Desktop 10.  
Upon mounting, however, the following 10 lines similar to the one below (only 
the number is changed) are 
added to dmesg:

 Buffer I/O error on device sda1, logical block 255884

This did not prevent Suse from mounting and reading the flash drive.

I don't feel comfortable using FreeBSD or Linux to reformat the device because 
when I have the drive do the reformatting, it also creates several files.

Andrew



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread Tore Lund
Andrew Gould wrote:
 [snip]

Honestly, Andrew.  Please try to use a style where on or more 
indicates quoting level.  It is 100% foggy who wrote what in the parent
message of this post.  TIA.
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting Olympus WS-310M voice recorder

2007-01-21 Thread ajm
On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote:
 Andrew Gould wrote:
  [snip]
 

this is from a previous message in the thread:
attempt:  mount -tmsdos -orw /dev/da0s1 /mnt/ws310

try as root or su to root

# mount_msdosfs /dev/da0s1 /mnt/ws310


-- 
Alexander
FreeBSD 6.0-RELEASE i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]