The size of the memory card in the Panasonic DMC-FZ150 is reported wrong, making it impossible to mount (FAT32). From /var/log/messages: - attach camera, switch on: (nothing yet) - select PC mode: May 19 11:54:42 acer kernel: ugen2.3: <Panasonic> at usbus2 May 19 11:54:42 acer kernel: umass0: <Panasonic DMC-FZ150, class 0/0, rev 2.00/1.00, addr 3> on usbus2 May 19 11:54:42 acer kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 May 19 11:54:42 acer kernel: umass0:5:0:-1: Attached to scbus5 May 19 11:54:42 acer kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 May 19 11:54:42 acer kernel: da0: <MATSHITA DMC-FZ150 0100> Removable Direct Access SCSI-5 device May 19 11:54:42 acer kernel: da0: 40.000MB/s transfers May 19 11:54:42 acer kernel: da0: 12781820575744MB (134263559596015617 512 byte sectors: 255H 63S/T -486308467C) root@acer:/root # file -s /dev/da0 /dev/da0: ERROR: cannot read `/dev/da0' (Input/output error) root@acer:/root # mount_msdosfs /dev/da0 /mnt/ mount_msdosfs: /dev/da0: Input/output error How-To-Repeat: See above, not sure if it is limited to MATSHITA interfaces. 134263559596015617 == 0x1dcffff00000001 sectors looks suspicious.
FreeBSD 9.0-p1 with a GENERIC kernel on i386 works correctly: dmesg after switching the camera to PC mode: ugen4.4: <Panasonic> at usbus4 umass1: <Panasonic DMC-FZ150, class 0/0, rev 2.00/1.00, addr 4> on usbus4 umass1: SCSI over Bulk-Only; quirks = 0x4100 umass1:3:1:-1: Attached to scbus3 da1 at umass-sim1 bus 1 scbus3 target 0 lun 0 da1: <MATSHITA DMC-FZ150 0100> Removable Direct Access SCSI-5 device da1: 40.000MB/s transfers da1: 15264MB (31260672 512 byte sectors: 255H 63S/T 1945C) mounting /dev/da1s1 (which pops up after accessing /dev/da1) as msdosfs works as expected (read-only).
Responsible Changed From-To: freebsd-bugs->freebsd-usb reclassify.
Note that 0x1dcffff (the high 32 bits of the number of sectors reported on amd64) == 31260672-1 which is the number of sectors reported on i386. -- http://www.rene-ladan.nl:8080/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net)
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped