LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2015, 06:26 PM   #1
kurodatsubasa
LQ Newbie
 
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
Raspberry Pi 2: USB Flash Driver Error Mounting


Hello,

I would like to ask for the help with my problem. I am using SanDisk Ultra Fit 128GB USB 3.0 Flash Drive (SDCZ43-128G-G46) as my storage, and it's formatted as ext4. It works fine, but after an hour or so I get an error in GUI.
Code:
"Error mounting: mount exited with exit code 1:helper failed with mount: according to mtab, /dev/sda1 is already mounted on /home/pi/bitcoinData mount failed
I also tried to run dmesg. Here is the part of "abnormal" log:
Code:
[ 1467.679761] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 1759.229967] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 3839.896416] usb 1-1.3: USB disconnect, device number 5
[ 3839.898532] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ 3839.898574] sd 0:0:0:0: [sda] CDB: opcode=0x2a 2a 00 01 2f 51 60 00 00 f0 00
[ 3839.898591] blk_update_request: I/O error, dev sda, sector 19878240
[ 3839.898613] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484810)
[ 3839.898629] Buffer I/O error on device sda1, logical block 2484524
[ 3839.898683] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484870)
[ 3839.898694] Buffer I/O error on device sda1, logical block 2484525
[ 3839.898703] Buffer I/O error on device sda1, logical block 2484526
[ 3839.898706] Buffer I/O error on device sda1, logical block 2484584
[ 3839.898717] Buffer I/O error on device sda1, logical block 2484585
[ 3839.898724] Buffer I/O error on device sda1, logical block 2484586
[ 3839.898731] Buffer I/O error on device sda1, logical block 2484527
[ 3839.898738] Buffer I/O error on device sda1, logical block 2484528
[ 3839.898745] Buffer I/O error on device sda1, logical block 2484587
[ 3839.898753] Buffer I/O error on device sda1, logical block 2484588
[ 3839.898879] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484900)
[ 3839.899000] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484930)
[ 3839.899117] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484960)
[ 3839.899241] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484990)
[ 3839.899356] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 0 size 2097152 starting block 2484992)
[ 3839.899384] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 2883625 (offset 2097152 size 45056 starting block 2485003)
[ 3839.899449] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 3407929 (offset 0 size 0 starting block 6031431)
[ 3839.899623] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 writing to inode 3407929 (offset 0 size 0 starting block 6031461)
[ 3839.900242] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ 3839.900266] sd 0:0:0:0: [sda] CDB: opcode=0x2a 2a 00 01 2f 52 50 00 00 f0 00
[ 3839.900280] blk_update_request: I/O error, dev sda, sector 19878480
[ 3839.902659] Aborting journal on device sda1-8.
[ 3839.902715] JBD2: Error -5 detected when updating journal superblock for sda1-8.
[ 3839.903174] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3839.903330] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
[ 3839.914302] EXT4-fs (sda1): Remounting filesystem read-only
[ 3839.920390] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3839.920557] EXT4-fs (sda1): ext4_writepages: jbd2_start: 2147483647 pages, ino 2883595; err -30
[ 3840.819237] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm pool: reading directory lblock 0
[ 3840.829116] EXT4-fs error (device sda1): ext4_wait_block_bitmap:493: comm bitcoin-loadblk: Cannot read block bitmap - block_group = 70, block_bitmap = 2097158
[ 3840.829128] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3840.829167] Unable to handle kernel paging request at virtual address 397a6000
[ 3840.829170] pgd = 80004000
[ 3840.829178] [397a6000] *pgd=00000000
[ 3840.829190] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 3840.829244] Modules linked in: cfg80211 rfkill snd_bcm2835 snd_pcm snd_seq snd_seq_device snd_timer snd evdev joydev fb_s6d02a1(C) fbtft(C) fb_sys_fops syscopyarea sysfillrect sysimgblt ads7846 hwmon 8192cu bcm2835_gpiomem spi_bcm2835 uio_pdrv_genirq uio
[ 3840.829255] CPU: 2 PID: 9558 Comm: bitcoin-loadblk Tainted: G         C      4.1.7-v7+ #817
[ 3840.829257] Hardware name: BCM2709
[ 3840.829262] task: 991c0600 ti: b5e28000 task.ti: b5e28000
[ 3840.829279] PC is at __percpu_counter_add+0x3c/0x110
[ 3840.829289] LR is at account_page_dirtied+0x84/0x19c
[ 3840.829295] pc : [<80314a74>]    lr : [<800fc63c>]    psr: 80000093
[ 3840.829295] sp : b5e29bb0  ip : 00000002  fp : b5e29bd4
[ 3840.829299] r10: 807fd650  r9 : b5ea7400  r8 : b9b84d00
[ 3840.829304] r7 : 00000000  r6 : 00000001  r5 : 807fd650  r4 : b9b84ce0
[ 3840.829308] r3 : 00000000  r2 : 397a6000  r1 : 00000018  r0 : b9b84d00
[ 3840.829315] Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 3840.829320] Control: 10c5387d  Table: 34fec06a  DAC: 00000015
[ 3840.829325] Process bitcoin-loadblk (pid: 9558, stack limit = 0xb5e28210)
[ 3840.829331] Stack: (0xb5e29bb0 to 0xb5e2a000)
[ 3840.829348] 9ba0:                                     00000000 b9b84ce0 807fd650 ba73af7c
[ 3840.829358] 9bc0: a0000013 00000000 b5e29bfc b5e29bd8 800fc63c 80314a44 00000018 b5e29be8
[ 3840.829367] 9be0: 8055d730 ba73af7c b9784b64 b9784b74 b5e29c24 b5e29c00 80176064 800fc5c4
[ 3840.829376] 9c00: 00000a32 ba73af7c 00000000 807fcd78 00000000 a26d1a80 b5e29c3c b5e29c28
[ 3840.829386] 9c20: 8017621c 80176010 7ff82790 b45a7c00 b5e29c7c b5e29c40 801e4974 8017619c
[ 3840.829395] 9c40: 01eaac73 00000000 b5e29c7c 00000001 801e235c b45a7c00 000001ed 8056e670
[ 3840.829404] 9c60: 80680a14 b5e29d38 00000046 b967ab88 b5e29cb8 b5e29c80 801e4ce4 801e4814
[ 3840.829413] 9c80: 991c0950 b5e29c90 b5e29cec b5e29cc0 80680a14 b5e29c8c 00001000 00200006
[ 3840.829422] 9ca0: 00000000 00000046 b45a7c00 b5e29cec b5e29cc0 801c0174 801e4c98 80680a14
[ 3840.829431] 9cc0: 00000046 b45a7c00 00200006 00000000 b5a8adc0 00000046 b45a7c00 b5e29d28
[ 3840.829440] 9ce0: b5e29d0c b5e29cf0 801c11c8 801c00c0 00000000 b45a7c00 b967ab88 b967ab98
[ 3840.829450] 9d00: b5e29d8c b5e29d10 80200e50 801c119c 08000008 b44de6c8 00000001 87467dfc
[ 3840.829458] 9d20: 00000000 00000000 b44de240 00000000 00000000 b8aa25d0 b967ab98 b967ab98
[ 3840.829467] 9d40: ba717660 b4ed8000 ba73a970 b5e7c000 b97d0070 b45a7c00 8015000c 00000046
[ 3840.829476] 9d60: 00000000 b8aa2478 b44de6c0 b8aa2460 87467dd0 00000008 00000000 b44de6c8
[ 3840.829486] 9d80: b5e29dac b5e29d90 801c34e0 80200c20 801c3430 b44de6c0 b8aa2478 b92f06d0
[ 3840.829495] 9da0: b5e29de4 b5e29db0 801464e4 801c343c 00000000 00000000 b90c1f44 991c0a54
[ 3840.829504] 9dc0: b44de000 80866ef4 991c0600 b4caf6f8 00000020 991c0600 b5e29df4 b5e29de8
[ 3840.829513] 9de0: 80146698 80146460 b5e29e14 b5e29df8 80040afc 8014668c 991c0a6c 00000006
[ 3840.829522] 9e00: b5e29ed4 b4caf6c0 b5e29e5c b5e29e18 80028c90 80040a48 991c0600 00000001
[ 3840.829531] 9e20: 00000000 00030003 b5e29e28 b5e29e28 b5e29ed4 b90cb440 00000006 b5e29ed4
[ 3840.829540] 9e40: b90c1aa8 020c0027 b90c1aa4 00000014 b5e29e7c b5e29e60 80029470 8002897c
[ 3840.829550] 9e60: b5e29ec0 00000000 00000006 b5e29ed4 b5e29ebc b5e29e80 80033ed4 8002942c
[ 3840.829559] 9e80: b90cb440 b5e29ec0 b90c1a40 b90c1f44 8055da14 b5e29fb0 76a128d8 76a128dc
[ 3840.829568] 9ea0: b5e29ec0 00000000 b5e28000 00000000 b5e29f84 b5e29ec0 80013194 80033c30
[ 3840.829577] 9ec0: b5e28000 00000000 b5e29ef4 b5e29ed8 80033364 00000006 00000000 fffffffa
[ 3840.829585] 9ee0: 00002387 000003e8 00000000 00000000 00000000 00000000 00000000 00000000
[ 3840.829593] 9f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3840.829601] 9f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3840.829610] 9f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 b5e28000
[ 3840.829619] 9f60: 8000fb88 b5e29fb0 0000010c 8000fb88 b5e28000 00000000 b5e29fac b5e29f88
[ 3840.829628] 9f80: 80013690 80013108 8000f98c 00000001 00000000 00000006 00000002 76b12bec
[ 3840.829636] 9fa0: 00000000 b5e29fb0 8000f9e4 800135e4 00000000 00002556 00000006 00002556
[ 3840.829646] 9fc0: 00000006 00000002 76b12bec 0000010c 76f76f10 76f76f10 7370cb60 76f76f10
[ 3840.829655] 9fe0: 00000000 6acfd904 76a128a8 76a128dc 20000010 00002387 00000000 00000000
[ 3840.829680] [<80314a74>] (__percpu_counter_add) from [<800fc63c>] (account_page_dirtied+0x84/0x19c)
[ 3840.829698] [<800fc63c>] (account_page_dirtied) from [<80176064>] (__set_page_dirty+0x60/0xc8)
[ 3840.829711] [<80176064>] (__set_page_dirty) from [<8017621c>] (mark_buffer_dirty+0x8c/0x13c)
[ 3840.829729] [<8017621c>] (mark_buffer_dirty) from [<801e4974>] (ext4_commit_super+0x16c/0x250)
[ 3840.829744] [<801e4974>] (ext4_commit_super) from [<801e4ce4>] (__ext4_error+0x5c/0xcc)
[ 3840.829763] [<801e4ce4>] (__ext4_error) from [<801c0174>] (ext4_wait_block_bitmap+0xc0/0xec)
[ 3840.829776] [<801c0174>] (ext4_wait_block_bitmap) from [<801c11c8>] (ext4_read_block_bitmap+0x38/0x70)
[ 3840.829791] [<801c11c8>] (ext4_read_block_bitmap) from [<80200e50>] (ext4_discard_preallocations+0x23c/0x434)
[ 3840.829805] [<80200e50>] (ext4_discard_preallocations) from [<801c34e0>] (ext4_release_file+0xb0/0xbc)
[ 3840.829818] [<801c34e0>] (ext4_release_file) from [<801464e4>] (__fput+0x90/0x1cc)
[ 3840.829830] [<801464e4>] (__fput) from [<80146698>] (____fput+0x18/0x1c)
[ 3840.829846] [<80146698>] (____fput) from [<80040afc>] (task_work_run+0xc0/0xf0)
[ 3840.829860] [<80040afc>] (task_work_run) from [<80028c90>] (do_exit+0x320/0xa64)
[ 3840.829872] [<80028c90>] (do_exit) from [<80029470>] (do_group_exit+0x50/0xcc)
[ 3840.829887] [<80029470>] (do_group_exit) from [<80033ed4>] (get_signal+0x2b0/0x6e0)
[ 3840.829905] [<80033ed4>] (get_signal) from [<80013194>] (do_signal+0x98/0x3ac)
[ 3840.829919] [<80013194>] (do_signal) from [<80013690>] (do_work_pending+0xb8/0xc8)
[ 3840.829932] [<80013690>] (do_work_pending) from [<8000f9e4>] (work_pending+0xc/0x20)
[ 3840.829942] Code: e1a07003 e59b1004 e5903010 ee1d2f90 (e7920003)
[ 3840.829950] ---[ end trace 5e930b5e8ccc5580 ]---
[ 3840.829956] Fixing recursive fault but reboot is needed!
[ 3841.415558] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[ 3841.427049] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm pool: reading directory lblock 0
[ 3841.437120] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3841.443699] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm pool: reading directory lblock 0
[ 3841.453804] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3841.461607] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm pool: reading directory lblock 0
[ 3841.471743] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3841.489810] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm pool: reading directory lblock 0
[ 3841.500627] EXT4-fs (sda1): previous I/O error to superblock detected
[ 3841.517127] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5583
[ 3841.524167] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3841.532540] usb 1-1.3: Product: Ultra Fit
[ 3841.545914] usb 1-1.3: Manufacturer: SanDisk
[ 3841.550308] usb 1-1.3: SerialNumber: 4C531153550910118352
[ 3841.557427] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 3841.564077] scsi host1: usb-storage 1-1.3:1.0
[ 3842.567164] scsi 1:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[ 3842.577493] sd 1:0:0:0: [sdb] 242614272 512-byte logical blocks: (124 GB/115 GiB)
[ 3842.586707] sd 1:0:0:0: [sdb] Write Protect is off
[ 3842.591544] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 3842.598471] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 3842.624825]  sdb: sdb1
[ 3842.643115] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 3842.698087] sd 1:0:0:0: [sdb] Attached SCSI removable disk
I am not sure I understand what the problem is. If someone could helped me to resolve this issue I will really appreciate that.
As a side note, I do not recall this happening before rpi-update.

Edit: Another problem that I've faced after this error is that I can't turn off or reboot rpi 2.
Code:
[ 4887.099684] INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 4887.105364]  1: (1 GPs behind) idle=455/140000000000000/0 softirq=181060/181060 fqs=2100
[ 4887.113524]  (detected by 0, t=2102 jiffies, g=98816, c=98815, q=186)
[ 4887.119959] Task dump for CPU 1:
[ 4887.123177] shutdown        R running      0 21571  21570 0x00000002
[ 4887.129563] [<8055985c>] (__schedule) from [<a43c5eb8>] (0xa43c5eb8)
 
Old 09-25-2015, 08:28 AM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
I have had similar issues with ext4 in flash drives. Under heavy load they tend to fail.

Try running fsck.ext4 on the drive to repair any errors.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting USB flash drive nasirdaudahmad Linux - Hardware 6 07-27-2007 08:45 AM
mounting a usb flash drive chodeman07 Linux - Hardware 1 02-09-2006 08:59 AM
USB flash drive mounting android6011 Linux - Hardware 5 01-03-2006 07:45 PM
Mounting USB Flash on Simputer mohanuppaluri Linux - Laptop and Netbook 1 01-25-2005 03:30 PM
Mounting a USB Flash Drive Garibaldi3489 Slackware 3 01-04-2005 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration