Seg fault when connecting Android 4 MTP file system on Samsung Galaxy Tab 10.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mtpfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Firstly I would have thought the device would be automatically mounted like it does in windows... but it doesn't so on following the advice\suggestions from here:
However once I connect the device i get the following in dmesg:
[ 316.371082] usb 1-1.5: new high speed USB device number 5 using ehci_hcd
[ 316.399316] hub 1-1:1.0: unable to enumerate USB device on port 5
[ 316.819038] usb 1-1.5: new high speed USB device number 6 using ehci_hcd
Then I run mtp-detect and get:
Listing raw device(s)
Device 0 (VID=04e8 and PID=685c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
04e8:685c @ bus 1, dev 8
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_
Error 2: (Look this up in ptp.h for an explanation.)
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 04e8
idProduct: 685c
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 8
Device entry info:
Vendor: (null)
Vendor id: 0x04e8
Product: (null)
Vendor id: 0x685c
Device flags: 0x00008104
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: samsung
Model: GT-P7500
Device version: 1.0
Serial number: C16903012938C2E
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
Detected object size: 64 bits
Extensions:
Supported operations:
1001: get device info
1002: Open session
1003: Close session
1004: Get storage IDs
1005: Get storage info
1006: Get number of objects
1007: Get object handles
1008: Get object info
1009: Get object
100a: Get thumbnail
100b: Delete object
100c: Send object info
100d: Send object
1014: Get device property description
1015: Get device property value
1016: Set device property value
1017: Reset device property value
101b: Get partial object
9801: Get object properties supported
9802: Get object property description
9803: Get object property value
9804: Set object property value
9805: Get object property list
9810: Get object references
9811: Set object references
95c1: Unknown (95c1)
95c2: Unknown (95c2)
95c3: Unknown (95c3)
95c4: Unknown (95c4)
95c5: Unknown (95c5)
Followed by a whole lot of other information.
If I try running gmtp and connecting I get a seg fault:
~$ gmtp
Device 0 (VID=04e8 and PID=685c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_
Error 2: (Look this up in ptp.h for an explanation.)
Segmentation fault
in dmesg:
[ 965.433611] gmtp[7404]: segfault at 38 ip 0000000000409e22 sp 00007fff0b9ac280 error 4 in gmtp[400000+27000]
If I try and mount it, it mounts but when i cd into it:
cd: /media/gtab: Transport endpoint is not connected
and this seg fault in dmesg:
[ 1120.520628] mtpfs[7466]: segfault at 10 ip 0000000000402b03 sp 00007f1bdc926c28 error 4 in mtpfs[400000+6000]
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelMo
.etc.asound.conf:
pcm.!default {
type hw
card 1
device 7
}
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xfa120000 irq 65'
Mixer name : 'Realtek ALC892'
Components : 'HDA:10ec0892,
Controls : 35
Simple ctrls : 20
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xfa080000 irq 17'
Mixer name : 'Nvidia GPU 16 HDMI/DP'
Components : 'HDA:10de0016,
Controls : 16
Simple ctrls : 4
Date: Sun Feb 19 20:21:53 2012
HibernationDevice: RESUME=
HotplugNewDevices:
HotplugNewMounts:
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.60.1
RfKill:
SourcePackage: linux
StagingDrivers: mei
Symptom: storage
UdisksMonitorLog: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/19/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0902
dmi.board.
dmi.board.name: P8Z68-V PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Status changed to 'Confirmed' because the bug affects multiple users.