Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

ssd external!

Tue Nov 10, 2015 10:49 am

Hi! created an external SSD with a kingston ssd and a box! I mounted the external SSD! but after a while that transmission download , go to file system read only! pleas help me!

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Tue Nov 10, 2015 2:34 pm

sudo fsck /dev/sda1
sudo mount /dev/sda1 /your/mount/point
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 8:58 am

DougieLawson wrote:sudo fsck /dev/sda1
sudo mount /dev/sda1 /your/mount/point
but does so with two different disks , is a coincidence ? of which one brand new

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Wed Nov 11, 2015 9:12 am

Have you added

Code: Select all

max_usb_current=1
to your config.txt?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 9:17 am

DougieLawson wrote:Have you added

Code: Select all

max_usb_current=1
to your config.txt?
I find it in sudo nano /boot/config.txt, but where I have to add the string?

Code: Select all

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README


User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Wed Nov 11, 2015 10:51 am

Anywhere. Top, bottom or middle. Then reboot.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 10:56 am

THX man!

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 11:38 am

Read only again! It can be the power supply of the rasp, it s 5v 1A, the external disk have a external power supply

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Wed Nov 11, 2015 11:48 am

You need to look at dmesg to see what's causing your drive to go read-only.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 11:53 am

DougieLawson wrote:You need to look at dmesg to see what's causing your drive to go read-only.

Code: Select all

pi@raspberrypi ~ $ sudo dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 2014                0303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #8                17 PREEMPT Sat Sep 19 15:25:36 BST 2015
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr                =00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruc                tion cache
[    0.000000] Machine model: Raspberry Pi Model B Plus Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x1b800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c088beac, node_mem_map db40300                0
[    0.000000]   Normal zone: 1008 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                es: 113680
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 b                cm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0x6a9d0aa8 smsc95xx.                macaddr=B8:27:EB:9D:0A:A8 bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.d                isk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1                ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200                 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 436504K/458752K available (6132K kernel code, 490K rwdata                , 1780K rodata, 348K init, 720K bss, 14056K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07c23ec   (7913 kB)
[    0.000000]       .init : 0xc07c3000 - 0xc081a000   ( 348 kB)
[    0.000000]       .data : 0xc081a000 - 0xc0894824   ( 491 kB)
[    0.000000]        .bss : 0xc0894824 - 0xc09489b0   ( 721 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:522
[    0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idl                e_ns: 1911260446275 ns
[    0.000014] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2                147483647500ns
[    0.000056] Switching to timer-based delay loop, resolution 1000ns
[    0.000338] Console: colour dummy device 80x30
[    0.001742] console [tty1] enabled
[    0.001806] Calibrating delay loop (skipped), value calculated using timer fr                equency.. 2.00 BogoMIPS (lpj=10000)
[    0.001903] pid_max: default: 32768 minimum: 301
[    0.002274] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002354] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003456] Initializing cgroup subsys blkio
[    0.003555] Initializing cgroup subsys memory
[    0.003632] Initializing cgroup subsys devices
[    0.003700] Initializing cgroup subsys freezer
[    0.003765] Initializing cgroup subsys net_cls
[    0.003888] CPU: Testing write buffer coherency: ok
[    0.004017] ftrace: allocating 19773 entries in 58 pages
[    0.108928] Setting up static identity map for 0x81c0 - 0x81f8
[    0.111714] devtmpfs: initialized
[    0.122659] VFP support v0.3: implementor 41 architecture 1 part 20 variant b                 rev 5
[    0.123122] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max                _idle_ns: 19112604462750000 ns
[    0.125162] pinctrl core: initialized pinctrl subsystem
[    0.126118] NET: Registered protocol family 16
[    0.131721] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.133292] bcm2708.uart_clock = 3000000
[    0.138837] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.138930] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.139122] Serial: AMBA PL011 UART driver
[    0.139433] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud =                 0) is a PL011 rev2
[    0.526930] console [ttyAMA0] enabled
[    0.531338] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.599485] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f200700                0, dmachans=0xf35
[    0.608375] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 l                egacy)
[    0.616890] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver
[    0.623890] bcm2708-dmaengine 20007000.dma: dma_debug:0
[    0.630083] SCSI subsystem initialized
[    0.634323] usbcore: registered new interface driver usbfs
[    0.639980] usbcore: registered new interface driver hub
[    0.645579] usbcore: registered new device driver usb
[    0.651648] raspberrypi-firmware soc:firmware: Attached to firmware from 2015                -09-23 12:12
[    0.687509] Switched to clocksource stc
[    0.738721] FS-Cache: Loaded
[    0.742049] CacheFiles: Loaded
[    0.761855] NET: Registered protocol family 2
[    0.767897] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.775099] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.781906] TCP: Hash tables configured (established 4096 bind 4096)
[    0.788477] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.794379] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.801137] NET: Registered protocol family 1
[    0.806172] RPC: Registered named UNIX socket transport module.
[    0.812304] RPC: Registered udp transport module.
[    0.817052] RPC: Registered tcp transport module.
[    0.821834] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.829639] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters ava                ilable
[    0.838939] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.861473] VFS: Disk quotas dquot_6.6.0
[    0.865868] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.875540] FS-Cache: Netfs 'nfs' registered for caching
[    0.882646] NFS: Registering the id_resolver key type
[    0.887997] Key type id_resolver registered
[    0.892230] Key type id_legacy registered
[    0.900241] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                52)
[    0.908356] io scheduler noop registered
[    0.912369] io scheduler deadline registered (default)
[    0.918127] io scheduler cfq registered
[    0.924482] BCM2708FB: allocated DMA memory 5bc00000
[    0.929843] BCM2708FB: allocated DMA channel 0 @ f2007000
[    0.940493] Console: switching to colour frame buffer device 82x26
[    0.951866] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[    0.961794] vc-cma: Videocore CMA driver
[    0.967671] vc-cma: vc_cma_base      = 0x00000000
[    0.974107] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.981276] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.988744] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000                000(512 MiB)
[    1.020173] brd: module loaded
[    1.034323] loop: module loaded
[    1.040384] vchiq: vchiq_init_state: slot_zero = 0xdbc80000, is_master = 0
[    1.051152] Loading iSCSI transport class v2.0-870.
[    1.059356] usbcore: registered new interface driver smsc95xx
[    1.066888] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.274797] Core Release: 2.80a
[    1.279622] Setting default values for core params
[    1.285988] Finished setting default values for core params
[    1.493506] Using Buffer DMA mode
[    1.498453] Periodic Transfer Interrupt Enhancement - disabled
[    1.505878] Multiprocessor Interrupt Enhancement - disabled
[    1.513113] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.519121] Dedicated Tx FIFOs mode
[    1.524633] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdbc                14000 dma = 0x5bc14000 len=9024
[    1.537880] FIQ FSM acceleration enabled for :
[    1.537880] Non-periodic Split Transactions
[    1.537880] Periodic Split Transactions
[    1.537880] High-Speed Isochronous Endpoints
[    1.561111] dwc_otg: Microframe scheduler enabled
[    1.561244] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc0423ab8
[    1.568856] WARN::hcd_init_fiq:413: FIQ ASM at 0xc0423d90 length 36
[    1.576794] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdc896000
[    1.584542] dwc_otg 20980000.usb: DWC OTG Controller
[    1.591283] dwc_otg 20980000.usb: new USB bus registered, assigned bus number                 1
[    1.600386] dwc_otg 20980000.usb: irq 32, io mem 0x00000000
[    1.607675] Init: Port Power? op_state=1
[    1.613186] Init: Power Port (0)
[    1.618397] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.626842] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                1
[    1.635731] usb usb1: Product: DWC OTG Controller
[    1.642079] usb usb1: Manufacturer: Linux 4.1.7+ dwc_otg_hcd
[    1.649375] usb usb1: SerialNumber: 20980000.usb
[    1.656632] hub 1-0:1.0: USB hub found
[    1.662254] hub 1-0:1.0: 1 port detected
[    1.668465] dwc_otg: FIQ enabled
[    1.668492] dwc_otg: NAK holdoff enabled
[    1.668505] dwc_otg: FIQ split-transaction FSM enabled
[    1.668568] Module dwc_common_port init
[    1.669149] usbcore: registered new interface driver usb-storage
[    1.677192] mousedev: PS/2 mouse device common for all mice
[    1.685594] bcm2835-cpufreq: min=700000 max=700000
[    1.692532] sdhci: Secure Digital Host Controller Interface driver
[    1.700454] sdhci: Copyright(c) Pierre Ossman
[    1.707061] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.714623] mmc-bcm2835 20300000.mmc: DMA channels allocated
[    1.757999] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.766057] ledtrig-cpu: registered to indicate activity on CPUs
[    1.775596] hidraw: raw HID events driver (C) Jiri Kosina
[    1.787655] usbcore: registered new interface driver usbhid
[    1.796968] usbhid: USB HID core driver
[    1.807047] Initializing XFRM netlink socket
[    1.815228] NET: Registered protocol family 17
[    1.822910] Key type dns_resolver registered
[    1.833126] registered taskstats version 1
[    1.839236] vc-sm: Videocore shared memory driver
[    1.845497] [vc_sm_connected_init]: start
[    1.852462] [vc_sm_connected_init]: end - returning 0
[    1.861665] Waiting for root device /dev/mmcblk0p2...
[    1.868921] Indeed it is in host mode hprt0 = 00021501
[    1.883068] mmc0: host does not support reading read-only switch, assuming wr                ite-enable
[    1.909608] mmc0: new high speed SDHC card at address 0007
[    1.927624] mmcblk0: mmc0:0007 SD32G 29.8 GiB
[    1.938579]  mmcblk0: p1 p2
[    2.002609] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                pts: (null)
[    2.014382] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.024472] devtmpfs: mounted
[    2.030469] Freeing unused kernel memory: 348K (c07c3000 - c081a000)
[    2.077665] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.087074] Indeed it is in host mode hprt0 = 00001101
[    2.298352] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.307055] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.319194] hub 1-1:1.0: USB hub found
[    2.329074] hub 1-1:1.0: 5 ports detected
[    2.617723] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.738378] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.747361] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber                =0
[    2.778020] smsc95xx v1.0.4
[    2.855784] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-                1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:9d:0a:a8
[    3.127685] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.239168] usb 1-1.2: New USB device found, idVendor=2537, idProduct=1066
[    3.257743] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber                =3
[    3.267132] usb 1-1.2: Product: NS1066
[    3.286785] usb 1-1.2: Manufacturer: Norelsys
[    3.302216] usb 1-1.2: SerialNumber: 0123456789ABCDE
[    3.318980] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    3.338502] scsi host0: usb-storage 1-1.2:1.0
[    3.811311] udevd[162]: starting version 175
[    5.315557] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x202                00000
[    5.885647] scsi 0:0:0:0: Direct-Access     NORELSYS 106X             BBF1 PQ                : 0 ANSI: 6
[    5.910969] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111                 GiB)
[    5.938535] sd 0:0:0:0: [sda] Write Protect is off
[    5.948759] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    5.951299] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doe                sn't support DPO or FUA
[    5.987674]  sda: sda1
[    6.000395] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.494265] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    7.708395] random: nonblocking pool is initialized
[   10.452793] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   10.880603] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   18.327873] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:                 (null)
[   21.202646] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   22.823047] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E                1
[   26.851295] cfg80211: Calling CRDA to update world regulatory domain
[   30.007639] cfg80211: Calling CRDA to update world regulatory domain
[   31.654966] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:2                134012k SSFS
[   33.167777] cfg80211: Calling CRDA to update world regulatory domain
[   34.454927] uart-pl011 20201000.uart: no DMA platform data
[   36.327693] cfg80211: Calling CRDA to update world regulatory domain
[   39.487751] cfg80211: Calling CRDA to update world regulatory domain
[   42.647791] cfg80211: Calling CRDA to update world regulatory domain
[   45.807835] cfg80211: Calling CRDA to update world regulatory domain
[   48.967890] cfg80211: Calling CRDA to update world regulatory domain
[   52.127901] cfg80211: Calling CRDA to update world regulatory domain
[   55.287949] cfg80211: Calling CRDA to update world regulatory domain
[   58.447996] cfg80211: Calling CRDA to update world regulatory domain
[   61.608080] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 1920.510988] usb 1-1.2: USB disconnect, device number 4
[ 1920.529966] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyt                e=0x00
[ 1920.530017] sd 0:0:0:0: [sda] CDB: opcode=0x28 28 00 02 92 53 90 00 00 a8 00
[ 1920.530044] blk_update_request: I/O error, dev sda, sector 43144080
[ 1920.530292] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168773)
[ 1920.530327] Buffer I/O error on device sda1, logical block 1168487
[ 1920.530383] Buffer I/O error on device sda1, logical block 1168488
[ 1920.530409] Buffer I/O error on device sda1, logical block 1168489
[ 1920.530432] Buffer I/O error on device sda1, logical block 1168490
[ 1920.530455] Buffer I/O error on device sda1, logical block 1168491
[ 1920.530476] Buffer I/O error on device sda1, logical block 1168492
[ 1920.530496] Buffer I/O error on device sda1, logical block 1168493
[ 1920.530517] Buffer I/O error on device sda1, logical block 1168494
[ 1920.530537] Buffer I/O error on device sda1, logical block 1168495
[ 1920.530558] Buffer I/O error on device sda1, logical block 1168496
[ 1920.530672] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168783)
[ 1920.530740] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 4380639232 size 196608 starting block 1168784)
[ 1920.530802] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 4380639232 size 196608 starting block 1356497)
[ 1920.530938] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 4380639232 size 196608 starting block 1356516)
[ 1920.531046] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 7031193600 size 196608 starting block 2093717)
[ 1920.531178] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 7031193600 size 196608 starting block 2093736)
[ 1920.531284] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 10175660032 size 2555904 starting block 2972001)
[ 1920.531419] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 10175660032 size 2555904 starting block 2972031)
[ 1920.531549] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri                ting to inode 22795395 (offset 10175660032 size 2555904 starting block 2972061)
[ 1920.540221] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyt                e=0x00
[ 1920.540273] sd 0:0:0:0: [sda] CDB: opcode=0x28 28 00 02 92 54 40 00 00 f0 00
[ 1920.540298] blk_update_request: I/O error, dev sda, sector 43144256
[ 1920.549794] Aborting journal on device sda1-8.
[ 1920.549919] JBD2: Error -5 detected when updating journal superblock for sda1                -8.
[ 1920.572507] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2: comm                 transmission-da: reading directory lblock 0
[ 1920.600566] ------------[ cut here ]------------
[ 1920.600639] WARNING: CPU: 0 PID: 2308 at fs/fs-writeback.c:1327 __mark_inode_                dirty+0x4b0/0x4d0()
[ 1920.600653] bdi-block not registered
[ 1920.600665] Modules linked in: cfg80211 rfkill snd_bcm2835 snd_pcm snd_seq sn                d_seq_device snd_timer snd sg bcm2835_gpiomem uio_pdrv_genirq uio
[ 1920.600745] CPU: 0 PID: 2308 Comm: transmission-da Not tainted 4.1.7+ #817
[ 1920.600758] Hardware name: BCM2708
[ 1920.600821] [<c0016d88>] (unwind_backtrace) from [<c0013b50>] (show_stack+0x2                0/0x24)
[ 1920.600862] [<c0013b50>] (show_stack) from [<c0586bf8>] (dump_stack+0x20/0x28                )
[ 1920.600902] [<c0586bf8>] (dump_stack) from [<c0024178>] (warn_slowpath_common                +0x8c/0xc4)
[ 1920.600932] [<c0024178>] (warn_slowpath_common) from [<c00241f0>] (warn_slowp                ath_fmt+0x40/0x48)
[ 1920.600963] [<c00241f0>] (warn_slowpath_fmt) from [<c016a490>] (__mark_inode_                dirty+0x4b0/0x4d0)
[ 1920.601003] [<c016a490>] (__mark_inode_dirty) from [<c0171fb8>] (__set_page_d                irty+0xdc/0x140)
[ 1920.601035] [<c0171fb8>] (__set_page_dirty) from [<c0172234>] (mark_buffer_di                rty+0xc0/0x174)
[ 1920.601066] [<c0172234>] (mark_buffer_dirty) from [<c01e923c>] (ext4_commit_s                uper+0xd4/0x200)
[ 1920.601097] [<c01e923c>] (ext4_commit_super) from [<c01e9780>] (__ext4_error_                inode+0x80/0x140)
[ 1920.601142] [<c01e9780>] (__ext4_error_inode) from [<c01d82f4>] (ext4_find_en                try+0x39c/0x624)
[ 1920.601174] [<c01d82f4>] (ext4_find_entry) from [<c01d85c4>] (ext4_lookup+0x4                8/0x178)
[ 1920.601210] [<c01d85c4>] (ext4_lookup) from [<c0146cec>] (lookup_real+0x30/0x                5c)
[ 1920.601240] [<c0146cec>] (lookup_real) from [<c01479a4>] (__lookup_hash+0x44/                0x4c)
[ 1920.601268] [<c01479a4>] (__lookup_hash) from [<c0149810>] (lookup_slow+0x48/                0xb4)
[ 1920.601297] [<c0149810>] (lookup_slow) from [<c014bcec>] (path_lookupat+0x66c                /0x700)
[ 1920.601324] [<c014bcec>] (path_lookupat) from [<c014bdac>] (filename_lookup+0                x2c/0x6c)
[ 1920.601355] [<c014bdac>] (filename_lookup) from [<c014d338>] (user_path_at_em                pty+0x64/0x8c)
[ 1920.601384] [<c014d338>] (user_path_at_empty) from [<c014d384>] (user_path_at                +0x24/0x2c)
[ 1920.601413] [<c014d384>] (user_path_at) from [<c0170f58>] (user_statfs+0x38/0                x84)
[ 1920.601441] [<c0170f58>] (user_statfs) from [<c017106c>] (SyS_statfs64+0x30/0                x54)
[ 1920.601475] [<c017106c>] (SyS_statfs64) from [<c000f700>] (ret_fast_syscall+0                x0/0x54)
[ 1920.601493] ---[ end trace 79c848d4bf73c7b6 ]---
[ 1920.601553] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1920.775719] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1920.775808] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1920.775839] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detecte                d aborted journal
[ 1920.786159] EXT4-fs (sda1): Remounting filesystem read-only
[ 1920.792823] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1920.792901] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1920.792931] ------------[ cut here ]------------
[ 1920.792968] WARNING: CPU: 0 PID: 2308 at fs/fs-writeback.c:1327 __mark_inode_                dirty+0x4b0/0x4d0()
[ 1920.792984] bdi-block not registered
[ 1920.792995] Modules linked in: cfg80211 rfkill snd_bcm2835 snd_pcm snd_seq sn                d_seq_device snd_timer snd sg bcm2835_gpiomem uio_pdrv_genirq uio
[ 1920.793072] CPU: 0 PID: 2308 Comm: transmission-da Tainted: G        W                       4.1.7+ #817
[ 1920.793086] Hardware name: BCM2708
[ 1920.793150] [<c0016d88>] (unwind_backtrace) from [<c0013b50>] (show_stack+0x2                0/0x24)
[ 1920.793187] [<c0013b50>] (show_stack) from [<c0586bf8>] (dump_stack+0x20/0x28                )
[ 1920.793227] [<c0586bf8>] (dump_stack) from [<c0024178>] (warn_slowpath_common                +0x8c/0xc4)
[ 1920.793260] [<c0024178>] (warn_slowpath_common) from [<c00241f0>] (warn_slowp                ath_fmt+0x40/0x48)
[ 1920.793288] [<c00241f0>] (warn_slowpath_fmt) from [<c016a490>] (__mark_inode_                dirty+0x4b0/0x4d0)
[ 1920.793324] [<c016a490>] (__mark_inode_dirty) from [<c01585a0>] (generic_upda                te_time+0xc4/0xf0)
[ 1920.793356] [<c01585a0>] (generic_update_time) from [<c0158810>] (file_update                _time+0xc4/0x11c)
[ 1920.793397] [<c0158810>] (file_update_time) from [<c00e9374>] (__generic_file                _write_iter+0x80/0x1e0)
[ 1920.793439] [<c00e9374>] (__generic_file_write_iter) from [<c01c5d4c>] (ext4_                file_write_iter+0x1a0/0x4dc)
[ 1920.793480] [<c01c5d4c>] (ext4_file_write_iter) from [<c013d080>] (__vfs_writ                e+0xb8/0xe8)
[ 1920.793511] [<c013d080>] (__vfs_write) from [<c013d920>] (vfs_write+0xa0/0x1a                8)
[ 1920.793540] [<c013d920>] (vfs_write) from [<c013e3e4>] (SyS_pwrite64+0x88/0xa                0)
[ 1920.793571] [<c013e3e4>] (SyS_pwrite64) from [<c000f700>] (ret_fast_syscall+0                x0/0x54)
[ 1920.793587] ---[ end trace 79c848d4bf73c7b7 ]---
[ 1920.919789] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 1921.022033] usb 1-1.2: New USB device found, idVendor=2537, idProduct=1066
[ 1921.022076] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber                =3
[ 1921.022095] usb 1-1.2: Product: NS1066
[ 1921.022112] usb 1-1.2: Manufacturer: Norelsys
[ 1921.022129] usb 1-1.2: SerialNumber: 0123456789ABCDE
[ 1921.026913] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 1921.040265] scsi host1: usb-storage 1-1.2:1.0
[ 1921.695246] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2279539                4: comm transmission-da: reading directory lblock 0
[ 1921.707796] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1921.707871] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1921.708065] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2279539                4: comm transmission-da: reading directory lblock 0
[ 1921.721826] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1921.721911] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1921.722121] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2279539                4: comm transmission-da: reading directory lblock 0
[ 1921.735710] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1921.735793] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1921.736573] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2279539                4: comm transmission-da: reading directory lblock 0
[ 1921.750333] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1921.750419] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1921.750620] EXT4-fs error (device sda1): ext4_find_entry:1457: inode #2279539                4: comm transmission-da: reading directory lblock 0
[ 1921.763935] EXT4-fs (sda1): previous I/O error to superblock detected
[ 1921.764019] Buffer I/O error on dev sda1, logical block 0, lost sync page wri                te
[ 1922.581374] scsi 1:0:0:0: Direct-Access     NORELSYS 106X             BBF1 PQ                : 0 ANSI: 6
you will understand something ?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Wed Nov 11, 2015 1:55 pm

You've got a bunch of IO errors on your device.

[ 1920.510988] usb 1-1.2: USB disconnect, device number 4
[ 1920.529966] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyt e=0x00
[ 1920.530017] sd 0:0:0:0: [sda] CDB: opcode=0x28 28 00 02 92 53 90 00 00 a8 00
[ 1920.530044] blk_update_request: I/O error, dev sda, sector 43144080
[ 1920.530292] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168773)
[ 1920.530327] Buffer I/O error on device sda1, logical block 1168487
[ 1920.530383] Buffer I/O error on device sda1, logical block 1168488
[ 1920.530409] Buffer I/O error on device sda1, logical block 1168489
[ 1920.530432] Buffer I/O error on device sda1, logical block 1168490
[ 1920.530455] Buffer I/O error on device sda1, logical block 1168491
[ 1920.530476] Buffer I/O error on device sda1, logical block 1168492
[ 1920.530496] Buffer I/O error on device sda1, logical block 1168493
[ 1920.530517] Buffer I/O error on device sda1, logical block 1168494
[ 1920.530537] Buffer I/O error on device sda1, logical block 1168495
[ 1920.530558] Buffer I/O error on device sda1, logical block 1168496
[ 1920.530672] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168783)
[ 1920.530740] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 4380639232 size 196608 starting block 1168784)
[ 1920.530802] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error - ...


That's either a hardware failure or a device driver failure.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 2:00 pm

DougieLawson wrote:You've got a bunch of IO errors on your device.

[ 1920.510988] usb 1-1.2: USB disconnect, device number 4
[ 1920.529966] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyt e=0x00
[ 1920.530017] sd 0:0:0:0: [sda] CDB: opcode=0x28 28 00 02 92 53 90 00 00 a8 00
[ 1920.530044] blk_update_request: I/O error, dev sda, sector 43144080
[ 1920.530292] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168773)
[ 1920.530327] Buffer I/O error on device sda1, logical block 1168487
[ 1920.530383] Buffer I/O error on device sda1, logical block 1168488
[ 1920.530409] Buffer I/O error on device sda1, logical block 1168489
[ 1920.530432] Buffer I/O error on device sda1, logical block 1168490
[ 1920.530455] Buffer I/O error on device sda1, logical block 1168491
[ 1920.530476] Buffer I/O error on device sda1, logical block 1168492
[ 1920.530496] Buffer I/O error on device sda1, logical block 1168493
[ 1920.530517] Buffer I/O error on device sda1, logical block 1168494
[ 1920.530537] Buffer I/O error on device sda1, logical block 1168495
[ 1920.530558] Buffer I/O error on device sda1, logical block 1168496
[ 1920.530672] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 3712385024 size 159744 starting block 1168783)
[ 1920.530740] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error -5 wri ting to inode 22795395 (offset 4380639232 size 196608 starting block 1168784)
[ 1920.530802] EXT4-fs warning (device sda1): ext4_end_bio:332: I/O error - ...


That's either a hardware failure or a device driver failure.
is a usb 3.0! can this be the problem ?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssd external!

Wed Nov 11, 2015 2:15 pm

Could be because the RPi doesn't support USB3.0.

If it were a real hard drive I'd be running smarttools on it. Don't know if that's applicable for SSDs.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Verduz
Posts: 13
Joined: Tue Nov 10, 2015 10:28 am

Re: ssd external!

Wed Nov 11, 2015 2:21 pm

DougieLawson wrote:Could be because the RPi doesn't support USB3.0.

If it were a real hard drive I'd be running smarttools on it. Don't know if that's applicable for SSDs.
I try connecting the rasp with a cable 2.0 to the external box

Return to “Advanced users”