kern/168132: MATSHITA memory card size reported wrong, mount impossible

Rene Ladan rene at FreeBSD.org
Sat May 19 10:20:05 UTC 2012


>Number:         168132
>Category:       kern
>Synopsis:       MATSHITA memory card size reported wrong, mount impossible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 19 10:20:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 10.0-amd64
>Organization:
>Environment:
FreeBSD acer 10.0-CURRENT FreeBSD 10.0-CURRENT #10 r235451M: Mon May 14 22:46:29 CEST 2012     rene at acer:/usr/obj/usr/src/sys/ACER  amd64  (GENERIC + CAPABILITIES)
>Description:
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 at acer:/root # file -s /dev/da0
/dev/da0: ERROR: cannot read `/dev/da0' (Input/output error)
root at 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.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list