Re: USB drive is a CDROM drive and is not writable

2007-01-08 Thread Kelvin Woods
On Mon, January 8, 2007 03:48, Michael M. Press wrote:
 I have a 2 gigabyte USB memory stick from made by PNY. When I plug it
 in, I
 get the following:

 umass0: vendor 0x0930 USB Flash Memory, rev 2.00/2.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 1901MB (3894975 512 byte sectors: 255H 63S/T 242C)
 cd1 at umass-sim0 bus 0 target 0 lun 1
 cd1:  USB Flash Memory 6.50 Removable CD-ROM SCSI-0 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not
 present

 I want to be able to mount the device read-write, so I use the
 following command:

 mount -t cd9660 -o rw /dev/cd1 /media/flashdrv

 The command runs without spitting any errors at me, but it does a
 read-only
 mount. I can see files on the drive, but (of course) I can't change
 them. Does
 my problem have anything to do with the device being detected as a
 CD-ROM
 drive? If that is what's wrong I don't really know where to start
 looking to fix it.
 Any ideas?

This sounds like a Smart drive - can you confirm? It this is the
case it's designed to work this way. You won't be able to write to the
CD partition of this flash drive. Smart isn't supported under *nix so
the functionality it provides isn't available to FreeBSD users.

I have one of these devices myself and simply removed the Smart
partition to reclaim the space it takes up.

-- 
Kelvin

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


Re: USB drive is a CDROM drive and is not writable

2007-01-08 Thread Malcolm Kay
On Mon, 8 Jan 2007 02:18 pm, Michael M. Press wrote:
 I have a 2 gigabyte USB memory stick from made by PNY. When I
 plug it in, I get the following:

 umass0: vendor 0x0930 USB Flash Memory, rev 2.00/2.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  USB Flash Memory 6.50 Removable Direct Access SCSI-0
 device da0: 40.000MB/s transfers
 da0: 1901MB (3894975 512 byte sectors: 255H 63S/T 242C)
 cd1 at umass-sim0 bus 0 target 0 lun 1
 cd1:  USB Flash Memory 6.50 Removable CD-ROM SCSI-0 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium
 not present

 I want to be able to mount the device read-write, so I use the
 following command:

 mount -t cd9660 -o rw /dev/cd1 /media/flashdrv

You cannot mount even a conventional CD drive as a writable
cd9660 filesystem. Creating a cd9660 fs is normally a one hit 
prossess in which the fs is created fully populated and can't 
then normally be changed except on RW media by overwriting the 
entire fs.

I don't know the device you are using but would expect that you 
can write a populated cd9660 file system directly using cdrecord
(or perhaps burncd) without attempting to mount; just as you 
would on a conventional ATAPI or SCSII CD drive.

Malcolm

 The command runs without spitting any errors at me, but it
 does a read-only mount. I can see files on the drive, but (of
 course) I can't change them. Does my problem have anything to
 do with the device being detected as a CD-ROM drive? If that
 is what's wrong I don't really know where to start looking to
 fix it.
 Any ideas?

 -- I have 'device pass' in my kernel
 -- I am using 6.2 prerelease
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB drive is a CDROM drive and is not writable

2007-01-08 Thread Michael M. Press

This sounds like a Smart drive - can you confirm?


I plugged it into a Windows system and it also recognized a CD drive.
In addition, it vomited out a few popup windows and started something
in the system tray. This is so ingenious that I think it must be a 'smart'
drive. An article from the following URL tells me it is a 'U3 smart drive':
http://www.everythingusb.com/u3.html

I didn't know such a thing existed before today.


I have one of these devices myself and simply removed the Smart
partition to reclaim the space it takes up.


Apparently there is a U3 uninstaller:
http://www.u3.com/uninstall/default.aspx


Thanks for the responses everyone. My confusion is gone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB drive is a CDROM drive and is not writable

2007-01-07 Thread Michael M. Press

I have a 2 gigabyte USB memory stick from made by PNY. When I plug it in, I
get the following:

umass0: vendor 0x0930 USB Flash Memory, rev 2.00/2.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 1901MB (3894975 512 byte sectors: 255H 63S/T 242C)
cd1 at umass-sim0 bus 0 target 0 lun 1
cd1:  USB Flash Memory 6.50 Removable CD-ROM SCSI-0 device
cd1: 40.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present

I want to be able to mount the device read-write, so I use the
following command:

mount -t cd9660 -o rw /dev/cd1 /media/flashdrv

The command runs without spitting any errors at me, but it does a read-only
mount. I can see files on the drive, but (of course) I can't change them. Does
my problem have anything to do with the device being detected as a CD-ROM
drive? If that is what's wrong I don't really know where to start
looking to fix it.
Any ideas?

-- I have 'device pass' in my kernel
-- I am using 6.2 prerelease
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB drive is a CDROM drive and is not writable

2007-01-07 Thread Dan Nelson
In the last episode (Jan 07), Michael M. Press said:
 I have a 2 gigabyte USB memory stick from made by PNY. When I plug it
 in, I get the following:
 
 umass0: vendor 0x0930 USB Flash Memory, rev 2.00/2.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 1901MB (3894975 512 byte sectors: 255H 63S/T 242C)
 cd1 at umass-sim0 bus 0 target 0 lun 1
 cd1:  USB Flash Memory 6.50 Removable CD-ROM SCSI-0 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 
 I want to be able to mount the device read-write, so I use the
 following command:
 
 mount -t cd9660 -o rw /dev/cd1 /media/flashdrv
 
 The command runs without spitting any errors at me, but it does a
 read-only mount. I can see files on the drive, but (of course) I
 can't change them.  Does my problem have anything to do with the
 device being detected as a CD-ROM drive? If that is what's wrong I
 don't really know where to start looking to fix it. Any ideas?

Very interesting!  cd1 and da0 look like the same device, with cd1 just
on LUN 1.  I bet if you were to examine /dev/da0 you'd see the real
writable FAT filesystem there.  I wonder if it is doing fat-cd9660
filesystem emulation on the fly?

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