You are not logged in.

#1 2014-12-24 23:13:26

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

I need help accessing the sdcard of a cellphone

Hello! I have a cellphone that is ages old (samsung e2121l) and I want to change the music I have in it but I can't access the sdcard (the filesystem it uses is FAT) using linux. In the settings of the cellphone I have set it to 'usb mass storage mode' and checking lsusb I see it BUT I don't see it in the file manager and it has all empty fields when checking lsblk (apart from name=sdb--sdb1). It works in windows so the device does not seem to be flawed. I tried with the latest kernel in stable (3.17.6-1-ARCH) and the current lts one and the same happens.
lsusb output:

us 005 Device 006: ID 04e8:681e Samsung Electronics Co., Ltd 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x681e 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0

dmesg output after plugging it:

[ 2078.275568] usb 5-1: new full-speed USB device number 6 using ohci-pci
[ 2078.452734] usb-storage 5-1:1.0: USB Mass Storage device detected
[ 2078.452957] scsi host8: usb-storage 5-1:1.0
[ 2079.464110] scsi 8:0:0:0: Direct-Access     Samsung  E2121L  0        USB  PQ: 0 ANSI: 0 CCS
[ 2079.516157] sd 8:0:0:0: [sdb] 494080 512-byte logical blocks: (252 MB/241 MiB)
[ 2079.522160] sd 8:0:0:0: [sdb] Write Protect is off
[ 2079.522174] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2079.528174] sd 8:0:0:0: [sdb] No Caching mode page found
[ 2079.528188] sd 8:0:0:0: [sdb] Assuming drive cache: write through                                               
[ 2079.567284]  sdb: sdb1
[ 2079.605291] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[ 2110.589489] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2141.661683] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2172.700789] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2203.719915] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2234.812471] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2265.831742] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2265.988840] sd 8:0:0:0: [sdb]  
[ 2265.988852] Result: hostbyte=0x05 driverbyte=0x00
[ 2265.988859] sd 8:0:0:0: [sdb] CDB: 
[ 2265.988863] cdb[0]=0x28: 28 00 00 00 00 80 00 00 f0 00
[ 2265.988881] end_request: I/O error, dev sdb, sector 128
[ 2265.988890] quiet_error: 8 callbacks suppressed
[ 2265.988895] Buffer I/O error on device sdb, logical block 16
[ 2265.988913] Buffer I/O error on device sdb, logical block 17
[ 2265.988918] Buffer I/O error on device sdb, logical block 18
[ 2265.988923] Buffer I/O error on device sdb, logical block 19
[ 2265.988927] Buffer I/O error on device sdb, logical block 20
[ 2265.988932] Buffer I/O error on device sdb, logical block 21
[ 2265.988937] Buffer I/O error on device sdb, logical block 22
[ 2265.988942] Buffer I/O error on device sdb, logical block 23
[ 2265.988947] Buffer I/O error on device sdb, logical block 24
[ 2265.988952] Buffer I/O error on device sdb, logical block 25
[ 2296.869554] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2327.939955] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2358.923677] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2389.994420] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2403.588985] INFO: task systemd-udevd:1037 blocked for more than 120 seconds.
[ 2403.588998]       Tainted: P           O   3.17.6-1-ARCH #1
[ 2403.589003] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 2403.589009] systemd-udevd   D 0000000000000000     0  1037    171 0x00000006
[ 2403.589020]  ffff88008e3c79c8 0000000000000046 ffff8800cafd64a0 00000000000135c0
[ 2403.589028]  ffff88008e3c7fd8 00000000000135c0 ffff88008e14b250 ffff8800cafd64a0
[ 2403.589035]  ffff880129462f68 0000000180270019 0000000200000000 0000000000000002
[ 2403.589042] Call Trace:
[ 2403.589060]  [<ffffffff81159b38>] ? free_pcppages_bulk+0x398/0x4f0
[ 2403.589070]  [<ffffffff81539f90>] ? bit_wait+0x60/0x60
[ 2403.589078]  [<ffffffff81539649>] schedule+0x29/0x70
[ 2403.589084]  [<ffffffff81539924>] io_schedule+0x94/0xf0
[ 2403.589091]  [<ffffffff81539fc4>] bit_wait_io+0x34/0x60
[ 2403.589098]  [<ffffffff81539e1b>] __wait_on_bit_lock+0x4b/0xb0
[ 2403.589105]  [<ffffffff811511ea>] __lock_page+0xba/0xd0
[ 2403.589115]  [<ffffffff810af9a0>] ? autoremove_wake_function+0x40/0x40
[ 2403.589123]  [<ffffffff81162086>] truncate_inode_pages_range+0x426/0x7a0
[ 2403.589132]  [<ffffffff81162415>] truncate_inode_pages+0x15/0x20
[ 2403.589140]  [<ffffffff811feaaf>] kill_bdev+0x2f/0x40
[ 2403.589147]  [<ffffffff81200128>] __blkdev_put+0x68/0x1c0
[ 2403.589155]  [<ffffffff81200c0c>] blkdev_put+0x4c/0x150
[ 2403.589162]  [<ffffffff81200dc5>] blkdev_close+0x25/0x30
[ 2403.589169]  [<ffffffff811c95bc>] __fput+0x9c/0x200
[ 2403.589176]  [<ffffffff811c976e>] ____fput+0xe/0x10
[ 2403.589184]  [<ffffffff8108c91c>] task_work_run+0xbc/0xe0
[ 2403.589193]  [<ffffffff81072ff5>] do_exit+0x3a5/0xb30
[ 2403.589200]  [<ffffffff810d3c52>] ? current_fs_time+0x12/0x60
[ 2403.589207]  [<ffffffff811e2751>] ? touch_atime+0x91/0x170
[ 2403.589214]  [<ffffffff81073803>] do_group_exit+0x43/0xc0
[ 2403.589222]  [<ffffffff8107ee23>] get_signal+0x273/0x710
[ 2403.589231]  [<ffffffff81014607>] do_signal+0x37/0x800
[ 2403.589237]  [<ffffffff811c711b>] ? new_sync_read+0x8b/0xd0
[ 2403.589246]  [<ffffffff81014e38>] do_notify_resume+0x68/0xa0
[ 2403.589254]  [<ffffffff8153dea0>] int_signal+0x12/0x17
[ 2403.589261] INFO: task systemd-udevd:1055 blocked for more than 120 seconds.
[ 2403.589266]       Tainted: P           O   3.17.6-1-ARCH #1
[ 2403.589269] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 2403.589273] systemd-udevd   D 0000000000000001     0  1055    171 0x00000000
[ 2403.589281]  ffff8801250c7b00 0000000000000082 ffff88008e146eb0 00000000000135c0
[ 2403.589288]  ffff8801250c7fd8 00000000000135c0 ffff880129b16eb0 ffff88008e146eb0
[ 2403.589294]  0000000000000000 0000000000000001 ffff88008e146eb0 ffffffff8109b9b0
[ 2403.589301] Call Trace:
[ 2403.589310]  [<ffffffff8109b9b0>] ? wake_up_process+0x50/0x50
[ 2403.589317]  [<ffffffff8153a29d>] ? wait_for_completion+0x1d/0x20
[ 2403.589325]  [<ffffffff81088229>] ? flush_work+0xe9/0x170
[ 2403.589331]  [<ffffffff81085fa0>] ? work_busy+0x80/0x80
[ 2403.589338]  [<ffffffff81539649>] schedule+0x29/0x70
[ 2403.589345]  [<ffffffff81539ab6>] schedule_preempt_disabled+0x16/0x20
[ 2403.589352]  [<ffffffff8153b575>] __mutex_lock_slowpath+0xe5/0x250
[ 2403.589386]  [<ffffffff8153b6f7>] mutex_lock+0x17/0x30
[ 2403.589393]  [<ffffffff812002fb>] __blkdev_get+0x7b/0x4d0
[ 2403.589401]  [<ffffffff812007a0>] blkdev_get+0x50/0x3a0
[ 2403.589409]  [<ffffffff81216194>] ? __break_lease+0x254/0x4a0
[ 2403.589417]  [<ffffffff81200b40>] ? blkdev_get_by_dev+0x50/0x50
[ 2403.589424]  [<ffffffff81200b9b>] blkdev_open+0x5b/0x80
[ 2403.589432]  [<ffffffff811c52d2>] do_dentry_open+0x1d2/0x320
[ 2403.589439]  [<ffffffff811c57c1>] finish_open+0x31/0x50
[ 2403.589446]  [<ffffffff811d5e42>] do_last.isra.36+0x652/0xe50
[ 2403.589453]  [<ffffffff811d6707>] path_openat+0xc7/0x6f0
[ 2403.589462]  [<ffffffff81193b19>] ? free_pages_and_swap_cache+0xb9/0xe0
[ 2403.589471]  [<ffffffff8117dd2d>] ? tlb_finish_mmu+0x4d/0x50
[ 2403.589478]  [<ffffffff811d806d>] do_filp_open+0x4d/0xc0
[ 2403.589484]  [<ffffffff811d2c4c>] ? getname_flags+0x2c/0x130
[ 2403.589491]  [<ffffffff811e52f7>] ? __alloc_fd+0xa7/0x130
[ 2403.589500]  [<ffffffff811c6a9e>] do_sys_open+0x14e/0x250
[ 2403.589508]  [<ffffffff811c6bbe>] SyS_open+0x1e/0x20
[ 2403.589516]  [<ffffffff8153dc69>] system_call_fastpath+0x16/0x1b
[ 2421.031981] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2452.049733] usb 5-1: reset full-speed USB device number 6 using ohci-pci
[ 2452.207213] sd 8:0:0:0: [sdb]  
[ 2452.207226] Result: hostbyte=0x05 driverbyte=0x00
[ 2452.207233] sd 8:0:0:0: [sdb] CDB: 
[ 2452.207237] cdb[0]=0x28: 28 00 00 00 01 70 00 00 90 00
[ 2452.207256] end_request: I/O error, dev sdb, sector 368
[ 2452.207264] quiet_error: 20 callbacks suppressed
[ 2452.207270] Buffer I/O error on device sdb, logical block 46
[ 2452.207286] Buffer I/O error on device sdb, logical block 47
[ 2452.207291] Buffer I/O error on device sdb, logical block 48
[ 2452.207296] Buffer I/O error on device sdb, logical block 49
[ 2452.207301] Buffer I/O error on device sdb, logical block 50
[ 2452.207306] Buffer I/O error on device sdb, logical block 51
[ 2452.207311] Buffer I/O error on device sdb, logical block 52
[ 2452.207316] Buffer I/O error on device sdb, logical block 53
[ 2452.207321] Buffer I/O error on device sdb, logical block 54
[ 2452.207326] Buffer I/O error on device sdb, logical block 55
[ 2810.786762] usb 5-1: USB disconnect, device number 6
[ 2814.152511] usb 5-1: new full-speed USB device number 8 using ohci-pci
[ 2814.329524] usb-storage 5-1:1.0: USB Mass Storage device detected
[ 2814.329745] scsi host9: usb-storage 5-1:1.0
[ 2815.340899] scsi 9:0:0:0: Direct-Access     Samsung  E2121L  0        USB  PQ: 0 ANSI: 0 CCS
[ 2815.393955] sd 9:0:0:0: [sdb] 494080 512-byte logical blocks: (252 MB/241 MiB)
[ 2815.399950] sd 9:0:0:0: [sdb] Write Protect is off
[ 2815.399964] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2815.405958] sd 9:0:0:0: [sdb] No Caching mode page found
[ 2815.405972] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 2815.445031]  sdb: sdb1
[ 2815.483084] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[ 2846.620298] usb 5-1: reset full-speed USB device number 8 using ohci-pci
[ 2877.693042] usb 5-1: reset full-speed USB device number 8 using ohci-pci
[ 2908.679026] usb 5-1: reset full-speed USB device number 8 using ohci-pci

Any help to make it work will be appreciated, thanks!

Last edited by Asta666 (2014-12-24 23:48:33)

Offline

#2 2014-12-24 23:45:36

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: I need help accessing the sdcard of a cellphone

Can you mount it manually?

# mount /dev/sdb1 /mnt

Jin, Jîyan, Azadî

Offline

#3 2014-12-24 23:56:53

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

Thanks for your reply. If I try to do that the terminal freezes.

Offline

#4 2014-12-25 00:01:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: I need help accessing the sdcard of a cellphone

Open another terminal, run this command:

journalctl -fx

Then try to mount it again in the first terminal & post the journalctl output here plz.


Jin, Jîyan, Azadî

Offline

#5 2014-12-25 00:48:28

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

OK, here it is:

Dec 24 21:41:43 sdf1 kernel: usb 3-1: new full-speed USB device number 5 using ohci-pci
Dec 24 21:41:43 sdf1 kernel: usb-storage 3-1:1.0: USB Mass Storage device detected
Dec 24 21:41:43 sdf1 kernel: scsi host7: usb-storage 3-1:1.0
Dec 24 21:41:44 sdf1 kernel: scsi 7:0:0:0: Direct-Access     Samsung  E2121L  0        USB  PQ: 0 ANSI: 0 CCS
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] 494080 512-byte logical blocks: (252 MB/241 MiB)
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] Write Protect is off
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] Mode Sense: 43 00 00 00
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] No Caching mode page found
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through
Dec 24 21:41:44 sdf1 kernel:  sdb: sdb1
Dec 24 21:41:44 sdf1 kernel: sd 7:0:0:0: [sdb] Attached SCSI removable disk
Dec 24 21:42:15 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci
Dec 24 21:42:44 sdf1 systemd-udevd[171]: worker [859] /devices/pci0000:00/0000:00:13.0/usb3/3-1/3-1:1.0/host7/target7:0:0/7:0:0:0/block/sdb is taking a long time
Dec 24 21:42:46 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci
Dec 24 21:43:17 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci
Dec 24 21:43:48 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci
Dec 24 21:44:27 sdf1 kernel: INFO: task mount:881 blocked for more than 120 seconds.
Dec 24 21:44:27 sdf1 kernel:       Tainted: P           O   3.17.6-1-ARCH #1
Dec 24 21:44:27 sdf1 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 24 21:44:27 sdf1 kernel: mount           D 0000000000000000     0   881    880 0x00000000
Dec 24 21:44:27 sdf1 kernel:  ffff8800c280b960 0000000000000086 ffff8800cab9e4a0 00000000000135c0
Dec 24 21:44:27 sdf1 kernel:  ffff8800c280bfd8 00000000000135c0 ffffffff81818500 ffff8800cab9e4a0
Dec 24 21:44:27 sdf1 kernel:  ffff88012fc10a00 0000000000000001 ffff8800cab9eaa0 0000000000000000
Dec 24 21:44:27 sdf1 kernel: Call Trace:
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8109593a>] ? finish_task_switch+0x4a/0xf0
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81538fa0>] ? __schedule+0x3e0/0xa60
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81539649>] schedule+0x29/0x70
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8153c739>] schedule_timeout+0x1b9/0x240
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81098cac>] ? check_preempt_curr+0x7c/0x90
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81098cd9>] ? ttwu_do_wakeup+0x19/0x100
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8153a1bf>] wait_for_common+0xcf/0x190
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8109b9b0>] ? wake_up_process+0x50/0x50
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8153a29d>] wait_for_completion+0x1d/0x20
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81088229>] flush_work+0xe9/0x170
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81085fa0>] ? work_busy+0x80/0x80
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81088bdf>] __cancel_work_timer+0x8f/0x130
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81088cb3>] cancel_delayed_work_sync+0x13/0x20
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8128d241>] disk_block_events+0x81/0x90
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff812002f3>] __blkdev_get+0x73/0x4d0
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff812007a0>] blkdev_get+0x50/0x3a0
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811e1db0>] ? unlock_new_inode+0x50/0x80
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811ff0f3>] ? bdget+0x133/0x150
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81200b40>] ? blkdev_get_by_dev+0x50/0x50
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff81200b9b>] blkdev_open+0x5b/0x80
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811c52d2>] do_dentry_open+0x1d2/0x320
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811c57c1>] finish_open+0x31/0x50
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d5e42>] do_last.isra.36+0x652/0xe50
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d2603>] ? lookup_fast+0x53/0x300
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d6707>] path_openat+0xc7/0x6f0
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d2c4c>] ? getname_flags+0x2c/0x130
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d806d>] do_filp_open+0x4d/0xc0
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811d2c4c>] ? getname_flags+0x2c/0x130
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811e52f7>] ? __alloc_fd+0xa7/0x130
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811c6a9e>] do_sys_open+0x14e/0x250
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff811c6bbe>] SyS_open+0x1e/0x20
Dec 24 21:44:27 sdf1 kernel:  [<ffffffff8153dc69>] system_call_fastpath+0x16/0x1b
Dec 24 21:44:44 sdf1 systemd-udevd[171]: worker [859] /devices/pci0000:00/0000:00:13.0/usb3/3-1/3-1:1.0/host7/target7:0:0/7:0:0:0/block/sdb timeout; kill it
Dec 24 21:44:44 sdf1 systemd-udevd[171]: seq 1740 '/devices/pci0000:00/0000:00:13.0/usb3/3-1/3-1:1.0/host7/target7:0:0/7:0:0:0/block/sdb' killed
Dec 24 21:44:50 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci
Dec 24 21:44:50 sdf1 kernel: sd 7:0:0:0: [sdb]  
Dec 24 21:44:50 sdf1 kernel: Result: hostbyte=0x05 driverbyte=0x00
Dec 24 21:44:50 sdf1 kernel: sd 7:0:0:0: [sdb] CDB: 
Dec 24 21:44:50 sdf1 kernel: cdb[0]=0x28: 28 00 00 00 00 80 00 00 f0 00
Dec 24 21:44:50 sdf1 kernel: end_request: I/O error, dev sdb, sector 128
Dec 24 21:44:50 sdf1 kernel: quiet_error: 8 callbacks suppressed
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 16
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 17
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 18
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 19
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 20
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 21
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 22
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 23
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 24
Dec 24 21:44:50 sdf1 kernel: Buffer I/O error on device sdb, logical block 25
Dec 24 21:45:21 sdf1 kernel: usb 3-1: reset full-speed USB device number 5 using ohci-pci

and it keeps looping on that sequence of messages until I kill the terminal executing the mount command.

Offline

#6 2014-12-25 00:58:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: I need help accessing the sdcard of a cellphone

The "I/O error" messages suggest that the card (or 'phone) is damaged.

Can you read the contents of the card if you put it in a card-reader?


Jin, Jîyan, Azadî

Offline

#7 2014-12-25 01:38:25

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

I don't have a card-reader, but it's full of .mp3 files and I can listen to all of them and in windows I can copy files in and out of it without any errors through usb.
BTW I tried with a debian wheezy live cd that has kernel 3.2 and I was able to mount the card and browse the files and folders, but I was unable to copy files in or out... maybe it's a kernel bug?

Last edited by Asta666 (2014-12-25 03:12:54)

Offline

#8 2014-12-25 13:06:52

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: I need help accessing the sdcard of a cellphone

can you start a ftp client on your phone and transfer in/out that way. does your phone have any complaints about the card? it may be a touchie usb cord(usually on the mini/micro end for it is not that deep and can get worn and such) though if it works in windows not sure. sd to micro sd adapter's are pretty cheep you might look into it.

Offline

#9 2014-12-25 14:26:57

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

I don't think I can start a ftp client, the phone is old and doesn't have a wifi adapter or installable applications like the current ones. It has never complained about the card, and I don't think it's the cable either because I've never had any problems when transferring data with it in windows and it has never worked in linux, besides that wheezy cd that can see the files in it.

Offline

#10 2014-12-25 15:44:23

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: I need help accessing the sdcard of a cellphone

Asta666 wrote:

maybe it's a kernel bug?

Well, that's easy enough to check -- just install the LTS kernel & boot up with that, see if there's any difference.
https://www.archlinux.org/packages/?q=linux-lts


Jin, Jîyan, Azadî

Offline

#11 2014-12-25 16:37:04

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: I need help accessing the sdcard of a cellphone

i c, have you looked into mtp as arch is a basic install and you may not have all you need mtp treats it as a camera so it has its limitations but does work mostly.

though os othera have said if its the kernel it all will be moot.

Last edited by bleach (2014-12-25 16:40:18)

Offline

#12 2014-12-26 15:41:38

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

The same happens with the lts kernel, by now the only difference I've noticed was with the 3.2 version debian wheezy uses. I also thought about mtp but this phone is not among the supported ones, I tried to manually add it but it didn't work either or I didn't do it correctly. Anyway, thanks for your suggestions.

Offline

#13 2014-12-26 15:46:08

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: I need help accessing the sdcard of a cellphone

i have no other idea though if you find out why it works in debian be sure to share.

Offline

#14 2014-12-26 19:23:17

Asta666
Member
From: Argentina
Registered: 2014-12-08
Posts: 20

Re: I need help accessing the sdcard of a cellphone

It works partially u.u... Here is the output of dmesg in debian wheezy (kernel version 3.2.0-4-amd64) where automount works and I can see all the files in it and copy some of them, small ones:

[  427.932117] usb 5-1: new full-speed USB device number 3 using ohci_hcd
[  428.116291] usb 5-1: New USB device found, idVendor=04e8, idProduct=681e
[  428.116302] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  428.116309] usb 5-1: Product: USB MMC Storag
[  428.116314] usb 5-1: Manufacturer: SAMSUNG Electronics Co.,Ltd  
[  428.411150] Initializing USB Mass Storage driver...
[  428.411258] scsi6 : usb-storage 5-1:1.0
[  428.411322] usbcore: registered new interface driver usb-storage
[  428.411323] USB Mass Storage support registered.
[  429.414474] scsi 6:0:0:0: Direct-Access     Samsung  E2121L  0        USB  PQ: 0 ANSI: 0 CCS
[  429.419153] sd 6:0:0:0: Attached scsi generic sg2 type 0
[  429.468417] sd 6:0:0:0: [sdb] 494080 512-byte logical blocks: (252 MB/241 MiB)
[  429.474408] sd 6:0:0:0: [sdb] Write Protect is off
[  429.474420] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[  429.480449] sd 6:0:0:0: [sdb] No Caching mode page found
[  429.480460] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  429.510457] sd 6:0:0:0: [sdb] No Caching mode page found
[  429.510469] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  429.519478]  sdb: sdb1
[  429.557454] sd 6:0:0:0: [sdb] No Caching mode page found
[  429.557466] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  429.557474] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[  437.153042] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  589.304660] fuse init (API version 7.17)

Unfortunately when I attempt to copy a larger file, like one of the songs, it also starts throwing IO errors it and it never completes the operation:

[  802.190654] sd 6:0:0:0: [sdb] Unhandled error code
[  802.190663] sd 6:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[  802.190673] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 00 05 8e 40 00 00 f0 00
[  802.190693] end_request: I/O error, dev sdb, sector 364096
[  833.000104] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  863.976119] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  895.016116] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  925.992100] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  956.968114] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  960.836118] INFO: task udisks-daemon:4131 blocked for more than 120 seconds.
[  960.836127] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  960.836134] udisks-daemon   D ffff88012fc13780     0  4131   4105 0x00000000
[  960.836147]  ffff880128e2c880 0000000000000082 ffff880128e2c880 ffff8800cfaea0c0
[  960.836158]  0000000000013780 ffff880127c0dfd8 ffff880127c0dfd8 ffff880128e2c880
[  960.836167]  0000000000000000 ffffffff81040d9e ffff880129cc0b80 7fffffffffffffff
[  960.836177] Call Trace:
[  960.836192]  [<ffffffff81040d9e>] ? select_task_rq_fair+0x421/0x667
[  960.836204]  [<ffffffff8134fabb>] ? schedule_timeout+0x2c/0xdb
[  960.836213]  [<ffffffff810371fc>] ? test_tsk_need_resched+0xa/0x13
[  960.836222]  [<ffffffff8103b077>] ? check_preempt_curr+0x52/0x5f
[  960.836230]  [<ffffffff8134f701>] ? wait_for_common+0xa0/0x119
[  960.836237]  [<ffffffff8103f6d2>] ? try_to_wake_up+0x197/0x197
[  960.836244]  [<ffffffff8105ad7e>] ? wait_on_work+0xe6/0x11c
[  960.836252]  [<ffffffff8105a3b8>] ? worker_set_flags+0x8f/0x8f
[  960.836260]  [<ffffffff8105b9de>] ? __cancel_work_timer+0xb2/0xf4
[  960.836270]  [<ffffffff811a1181>] ? disk_block_events+0x5b/0x74
[  960.836278]  [<ffffffff811232fc>] ? __blkdev_get+0x92/0x3a9
[  960.836306]  [<ffffffff811238ba>] ? blkdev_get+0x2a7/0x2a7
[  960.836313]  [<ffffffff811237da>] ? blkdev_get+0x1c7/0x2a7
[  960.836321]  [<ffffffff81102f56>] ? path_to_nameidata+0x27/0x3a
[  960.836329]  [<ffffffff8110afe3>] ? dput+0x27/0xee
[  960.836335]  [<ffffffff811238ba>] ? blkdev_get+0x2a7/0x2a7
[  960.836343]  [<ffffffff810f98a0>] ? __dentry_open+0x1ab/0x2c2
[  960.836351]  [<ffffffff81102dac>] ? dget+0x12/0x1e
[  960.836359]  [<ffffffff81105e49>] ? do_last+0x553/0x58d
[  960.836367]  [<ffffffff8110647b>] ? path_openat+0xce/0x33a
[  960.836376]  [<ffffffff81350a17>] ? _raw_spin_unlock_irqrestore+0xe/0xf
[  960.836386]  [<ffffffff811067a9>] ? do_filp_open+0x2a/0x6e
[  960.836393]  [<ffffffff8134f64c>] ? _cond_resched+0x7/0x1c
[  960.836402]  [<ffffffff811b52a9>] ? __strncpy_from_user+0x18/0x48
[  960.836411]  [<ffffffff8110f52f>] ? alloc_fd+0x64/0x109
[  960.836419]  [<ffffffff810fa775>] ? do_sys_open+0x5e/0xe5
[  960.836427]  [<ffffffff81355a92>] ? system_call_fastpath+0x16/0x1b
[  988.008073] usb 5-1: reset full-speed USB device number 3 using ohci_hcd
[  988.174734] sd 6:0:0:0: [sdb] Unhandled error code
[  988.174744] sd 6:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[  988.174754] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 00 05 8f 40 00 00 f0 00
[  988.174773] end_request: I/O error, dev sdb, sector 364352

Offline

Board footer

Powered by FluxBB