USB Mass Storage Device with HPS Stack

Xiaofan Chen xiaofanc at gmail.com
Fri Apr 25 14:33:54 UTC 2008


I've got a free USB flash disk from National Semiconductor. It may
be the so-called U3 device since it comes up as a CDROM and
a removable USB drive. The removable USB drive part works fine.
But I am not able to mount the CD part which contains some datasheets
from National Semiconductor. Any tips on this?

umass0: <USB Mass Storage, class 0/0, rev 2.00/2.00, addr 2> on usb2
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <NATIONAL FLASH DISK 2.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 477MB (976896 512 byte sectors: 64H 32S/T 477C)
cd0 at umass-sim0 bus 0 target 0 lun 1
cd0: <NATIONAL FLASH DISK 2.00> Removable CD-ROM SCSI-2 device
cd0: 40.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
GEOM_LABEL: Label for provider da0s1 is msdosfs/NATIONAL.


[mcuee at freebsd7 /media]$ sudo mount_msdosfs /dev/da0s1 /media/usbdisk1
[mcuee at freebsd7 /media]$ ls -la /media/usbdisk1
total 18
drwxr-xr-x   1 root  wheel  16384 Dec 31  1979 .
drwxr-xr-x  11 root  wheel    512 Apr 25 22:16 ..

[mcuee at freebsd7 /media]$ sudo mount_cd9660 /dev/cd0 /media/usbcd
mount_cd9660: /dev/cd0: Invalid argument

Xiaofan


More information about the freebsd-usb mailing list