Page 1 of 2

Read-only partitions problem

PostPosted: Wed Jul 31, 2024 1:57 pm
by hkalic
I can't fix the problem with read-only partitions.
This is my "mount".
Code: Select all
/dev/sda2 on / type ext3 (rw,noatime,stripe=4,data=ordered)
none on /proc type proc (rw,noatime)
none on /sys type sysfs (rw,noatime)
none on /dev/pts type devpts (rw,noatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (ro,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,noatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,noatime)
/dev/sda8 on /share/1000 type ext4 (ro,noatime,nodelalloc,data=ordered)
/dev/sda7 on /lacie-boot type ext3 (rw,noatime,data=ordered)
/dev/sda7 on /lib/firmware type ext3 (rw,noatime,data=ordered)

This is my dmesg
Code: Select all
root@NAS:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.133 (root@fvdwsl-5big2.local) (gcc version 4.9.3 (GCC)) #5 PREEMPT Thu Aug 10 15:38:37 CEST 2023
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie Network Space v2
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0929960, node_mem_map cfdfa000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=ASTON_KW
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250048K/262144K available (6915K kernel code, 307K rwdata, 1724K rodata, 192K init, 388K bss, 12096K reserved, 0K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06c8f94   (6916 kB)
[    0.000000]       .init : 0xc08ae000 - 0xc08de000   ( 192 kB)
[    0.000000]       .data : 0xc08de000 - 0xc092ada0   ( 308 kB)
[    0.000000]        .bss : 0xc0932720 - 0xc099393c   ( 389 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 114
[    0.000000] Switching to timer-based delay loop, resolution 6ns
[    0.000013] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[   12.281882] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[   12.282325] Console: colour dummy device 80x30
[   12.282382] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[   12.282417] pid_max: default: 32768 minimum: 301
[   12.282651] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   12.282689] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   12.283513] CPU: Testing write buffer coherency: ok
[   12.284808] Setting up static identity map for 0x81e0 - 0x8238
[   12.285086] Hierarchical SRCU implementation.
[   12.287958] random: get_random_u32 called from bucket_table_alloc+0x14c/0x198 with crng_init=0
[   12.288608] VFP support v0.3: not present
[   12.289231] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   12.289280] futex hash table entries: 256 (order: -1, 3072 bytes)
[   12.289446] xor: measuring software checksum speed
[   12.382371]    arm4regs  :   724.800 MB/sec
[   12.482009]    8regs     :   435.200 MB/sec
[   12.582006]    32regs    :   602.400 MB/sec
[   12.582034] xor: using function: arm4regs (724.800 MB/sec)
[   12.582060] pinctrl core: initialized pinctrl subsystem
[   12.582999] NET: Registered protocol family 16
[   12.583821] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   12.588045] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   12.588093] Feroceon L2: Enabling L2
[   12.588146] Feroceon L2: Cache support initialised.
[   12.589952] kirkwood_init: create proc tsinfo proc
[   12.589987] tsinfo: create proc tsinfo vendor successfully
[   12.590000] mv_usb_init 1
[   12.590016] mv_usb_init 2 devnum = 0
[   12.590031] init function mv_usb_init finished
[   12.590044] initial MPP regs:
[   12.590051]  01112222
[   12.590056]  00003311
[   12.590067]  00551100
[   12.590077]  00000000
[   12.590087]  00000000
[   12.590096]  00000000
[   12.590106]  00000000
[   12.590115]
[   12.590137]   final MPP regs:
[   12.590143]  01112222
[   12.590148]  00003311
[   12.590158]  00551100
[   12.590167]  00000000
[   12.590177]  00000000
[   12.590186]  00000000
[   12.590196]  00000000
[   12.590205]
[   12.590957]  orion-ehci registered
[   12.593961] Kirkwood PCIe port 0: link down
[   12.593980] Kirkwood PCIe port 1: link up
[   12.594000] PCI: bus0 uses PCIe port 0
[   12.594295] PCI host bridge to bus 0000:00
[   12.594328] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   12.594349] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   12.594367] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[   12.594421] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[   12.594470] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[   12.594490] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0fffffff]
[   12.594586] pci 0000:00:00.0: supports D1 D2
[   12.594919] PCI: bus0: Fast back to back transfers disabled
[   12.594948] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[   12.594958] PCI: bus1 uses PCIe port 1
[   12.595746] PCI host bridge to bus 0000:01
[   12.595775] pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
[   12.595796] pci_bus 0000:01: root bus resource [io  0x10000-0x1ffff]
[   12.595813] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[   12.595859] PCI: bus1: Fast back to back transfers enabled
[   12.595881] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   12.813190] raid6: int32x1  gen()    76 MB/s
[   12.982626] raid6: int32x1  xor()    44 MB/s
[   13.152582] raid6: int32x2  gen()    96 MB/s
[   13.322127] raid6: int32x2  xor()    59 MB/s
[   13.491967] raid6: int32x4  gen()    91 MB/s
[   13.662057] raid6: int32x4  xor()    61 MB/s
[   13.832381] raid6: int32x8  gen()    82 MB/s
[   14.002002] raid6: int32x8  xor()    54 MB/s
[   14.002017] raid6: using algorithm int32x2 gen() 96 MB/s
[   14.002029] raid6: .... xor() 59 MB/s, rmw enabled
[   14.002040] raid6: using intx1 recovery algorithm
[   14.002450] vgaarb: loaded
[   14.003214] SCSI subsystem initialized
[   14.003654] libata version 3.00 loaded.
[   14.004377] usbcore: registered new interface driver usbfs
[   14.004539] usbcore: registered new interface driver hub
[   14.004718] usbcore: registered new device driver usb
[   14.005083] Linux video capture interface: v2.00
[   14.008522] clocksource: Switched to clocksource orion_clocksource
[   14.008705] VFS: Disk quotas dquot_6.6.0
[   14.008792] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   14.028964] NET: Registered protocol family 2
[   14.031291] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   14.031350] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   14.031397] TCP: Hash tables configured (established 2048 bind 2048)
[   14.031528] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   14.031564] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   14.031784] NET: Registered protocol family 1
[   14.033043] RPC: Registered named UNIX socket transport module.
[   14.033064] RPC: Registered udp transport module.
[   14.033075] RPC: Registered tcp transport module.
[   14.033087] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   14.033126] PCI: CLS 32 bytes, default 32
[   14.033473] NetWinder Floating Point Emulator V0.97 (double precision)
[   14.033664] gpio-usb-probe-1
[   14.033784] gpio-usb-probe-4b err=0
[   14.033806] gpio-usb gpio-usb: USB GPIO's initialized
[   14.036162] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[   14.037056] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   14.037597] ntfs: driver 2.1.32 [Flags: R/W].
[   14.037654] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   14.037866] fuse init (API version 7.26)
[   14.038264] JFS: nTxBlock = 1953, nTxLock = 15628
[   14.039750] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[   14.046893] jitterentropy: Initialization failed with host not compliant with requirements: 2
[   14.047067] async_tx: api initialized (async)
[   14.047171] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[   14.047189] io scheduler noop registered
[   14.047202] io scheduler deadline registered
[   14.047279] io scheduler cfq registered (default)
[   14.047295] io scheduler mq-deadline registered
[   14.047651] mv_xor mv_xor.0: Marvell shared XOR driver
[   14.102994] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   14.106228] mv_xor mv_xor.1: Marvell shared XOR driver
[   14.162967] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   14.173976] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.176086] console [ttyS0] disabled
[   14.196375] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   14.882135] random: fast init done
[   14.936526] console [ttyS0] enabled
[   14.959477] brd: module loaded
[   14.972829] loop: module loaded
[   14.977446] sata_mv sata_mv.0: version 1.28
[   14.977547] sata_mv sata_mv.0: cannot get optional clkdev
[   14.983823] sata_mv sata_mv.0: slots 32 ports 2
[   14.992981] scsi host0: sata_mv
[   14.996941] scsi host1: sata_mv
[   15.000503] ata1: SATA max UDMA/133 irq 21
[   15.004903] ata2: SATA max UDMA/133 irq 21
[   15.010716] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   15.017241] Creating 2 MTD partitions on "spi_flash":
[   15.022420] 0x000000000000-0x00000007d000 : "u-boot"
[   15.028647] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   15.037679] tun: Universal TUN/TAP device driver, 1.6
[   15.044494] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   15.053047] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   15.069825] libphy: orion_mdio_bus: probed
[   15.074328] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   15.511974] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   15.532016] ata1.00: ATA-9: WDC WD20EURS-63SPKY0, 80.00A80, max UDMA/133
[   15.538700] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.582024] ata1.00: configured for UDMA/133
[   15.602411] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EURS-63S 0A80 PQ: 0 ANSI: 5
[   15.622629] fvdw1 disk index before get_sd_name = 0
[   15.627488] No LaCie disk map available
[   15.631306] fvdw2 disk index after get_sd_name = 0
[   15.651965] fvdw3 prefix[0]=s  prefix[1]=d
[   15.656053] fvdw4 diskname = sda
[   15.659955] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[   15.681994] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   15.687313] sd 0:0:0:0: [sda] Write Protect is off
[   15.702036] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   15.702192] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.774524]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
[   15.794006] sd 0:0:0:0: [sda] Attached SCSI disk
[   15.963627] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:90:db:c5
[   15.972751] PPP generic driver version 2.4.2
[   15.977517] PPP Deflate Compression module registered
[   15.982711] PPP MPPE Compression module registered
[   15.987483] NET: Registered protocol family 24
[   15.992000] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   15.999542] usbcore: registered new interface driver pegasus
[   16.005271] ata2: SATA link down (SStatus 0 SControl F300)
[   16.011120] usbcore: registered new interface driver asix
[   16.016775] usbcore: registered new interface driver ax88179_178a
[   16.023142] usbcore: registered new interface driver cdc_ether
[   16.029224] usbcore: registered new interface driver net1080
[   16.035066] usbcore: registered new interface driver plusb
[   16.040794] usbcore: registered new interface driver cdc_subset
[   16.046888] usbcore: registered new interface driver zaurus
[   16.052775] usbcore: registered new interface driver ipheth
[   16.058605] usbcore: registered new interface driver cdc_ncm
[   16.065260] aoe: cannot create debugfs directory
[   16.070481] aoe: AoE v85 initialised.
[   16.074812] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   16.081216] i2c /dev entries driver
[   16.086722] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[   16.094008] uvcvideo: Unable to create debugfs directory
[   16.099728] usbcore: registered new interface driver uvcvideo
[   16.105588] USB Video Class driver (1.1.1)
[   16.109669] gspca_main: v2.14.0 registered
[   16.114035] usbcore: registered new interface driver Philips webcam
[   16.121624] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[   16.130834] device-mapper: multipath round-robin: version 1.2.0 loaded
[   16.137413] device-mapper: multipath queue-length: version 0.2.0 loaded
[   16.144140] device-mapper: multipath service-time: version 0.3.0 loaded
[   16.150800] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   16.156925] device-mapper: raid: Loading target version 1.13.0
[   16.164873] Netfilter messages via NETLINK v0.30.
[   16.169576] nfnl_acct: registering with nfnetlink.
[   16.175462] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   16.182340] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   16.188891] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.194990] NET: Registered protocol family 10
[   16.200875] Segment Routing with IPv6
[   16.204893] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.210648] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   16.217715] NET: Registered protocol family 17
[   16.222470] Bridge firewalling registered
[   16.226799] NET: Registered protocol family 5
[   16.232641] console [netcon0] enabled
[   16.236297] netconsole: network logging started
[   16.241572] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   16.248819] rtc-mv rtc-mv: setting system clock to 2024-07-31 13:32:12 UTC (1722432732)
[   16.257545] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[   16.270270] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[   16.296717] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[   16.304475] VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
[   16.311887] Freeing unused kernel memory: 192K
[   16.316335] This architecture does not have kernel memory protection.
[   20.003389] EXT4-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
[   20.232067] EXT4-fs (sda7): re-mounted. Opts: (null)
[   22.356835] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[   23.932598] EXT4-fs (sda2): recovery complete
[   23.972055] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   26.349837] EXT4-fs (sda2): re-mounted. Opts: (null)
[   30.610017] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   30.617544] ehci-orion: EHCI orion driver
[   30.621672] orion-ehci orion-ehci.0: EHCI Host Controller
[   30.627196] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   30.635058] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   30.661960] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   30.668080] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   30.674873] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   30.682089] usb usb1: Product: EHCI Host Controller
[   30.686952] usb usb1: Manufacturer: Linux 4.14.133 ehci_hcd
[   30.692524] usb usb1: SerialNumber: orion-ehci.0
[   30.697668] hub 1-0:1.0: USB hub found
[   30.701454] hub 1-0:1.0: 1 port detected
[   30.733354] usbcore: registered new interface driver usb-storage
[   30.762421] usbcore: registered new interface driver usblp
[   30.822206] Loading iSCSI transport class v2.0-870.
[   30.834108] iscsi: registered transport (tcp)
[   31.709391] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[   31.932219] EXT4-fs warning (device sda5): ext4_clear_journal_err:4942: Filesystem error recorded from previous mount: IO failure
[   31.943873] EXT4-fs warning (device sda5): ext4_clear_journal_err:4943: Marking fs in need of filesystem check.
[   32.002294] EXT4-fs (sda5): warning: mounting fs with errors, running e2fsck is recommended
[   32.022315] EXT4-fs (sda5): Errors on filesystem, clearing orphan list.
[   32.022315]
[   32.030384] EXT4-fs (sda5): recovery complete
[   32.042060] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   32.203146] random: crng init done
[   32.272208] Adding 514076k swap on /dev/sda3.  Priority:-2 extents:1 across:514076k
[   47.056848] udevd (976): /proc/976/oom_adj is deprecated, please use /proc/976/oom_score_adj instead.
[   47.066289] udev: starting version 130
[   47.611207] synth uevent: /gpiochip0: failed to send uevent
[   47.611234] gpio gpiochip0: uevent: failed to send synthetic uevent
[   47.693545] synth uevent: /gpiochip1: failed to send uevent
[   47.693572] gpio gpiochip1: uevent: failed to send synthetic uevent
[   60.382610] EXT4-fs warning (device sda8): ext4_clear_journal_err:4942: Filesystem error recorded from previous mount: IO failure
[   60.394381] EXT4-fs warning (device sda8): ext4_clear_journal_err:4943: Marking fs in need of filesystem check.
[   60.576011] EXT4-fs (sda8): warning: mounting fs with errors, running e2fsck is recommended
[   61.116941] EXT4-fs (sda8): recovery complete
[   61.162084] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: user_xattr,acl,nodelalloc
[   63.402639] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   63.408841] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   65.686789] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control enabled
[   65.696494] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   94.298308] ata1.00: qc timeout (cmd 0x47)
[   94.302438] ata1.00: READ LOG DMA EXT failed, trying PIO
[   94.307733] ata1: failed to read log page 10h (errno=-5)
[   94.313059] ata1.00: exception Emask 0x1 SAct 0x3ff00 SErr 0x0 action 0x6 frozen
[   94.320429] ata1.00: edma_err_cause=00000084 pp_flags=00000003, dev error, EDMA self-disable
[   94.328888] ata1.00: failed command: READ FPDMA QUEUED
[   94.334053] ata1.00: cmd 60/60:40:58:c0:4b/00:00:15:00:00/40 tag 8 ncq dma 49152 in
[   94.334053]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.349424] ata1.00: status: { DRDY ERR }
[   94.353442] ata1.00: error: { UNC }
[   94.356919] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.362167] ata1.00: cmd 61/08:48:d0:5d:47/00:00:00:00:00/40 tag 9 ncq dma 4096 out
[   94.362167]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.377506] ata1.00: status: { DRDY ERR }
[   94.381506] ata1.00: error: { UNC }
[   94.385041] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.390321] ata1.00: cmd 61/08:50:c8:5d:47/00:00:00:00:00/40 tag 10 ncq dma 4096 out
[   94.390321]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.405754] ata1.00: status: { DRDY ERR }
[   94.409749] ata1.00: error: { UNC }
[   94.413243] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.418473] ata1.00: cmd 61/08:58:c0:5d:47/00:00:00:00:00/40 tag 11 ncq dma 4096 out
[   94.418473]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.433899] ata1.00: status: { DRDY ERR }
[   94.437898] ata1.00: error: { UNC }
[   94.441374] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.446646] ata1.00: cmd 61/08:60:b8:5d:47/00:00:00:00:00/40 tag 12 ncq dma 4096 out
[   94.446646]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.462076] ata1.00: status: { DRDY ERR }
[   94.466074] ata1.00: error: { UNC }
[   94.469558] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.474807] ata1.00: cmd 61/d8:68:00:0f:3b/00:00:00:00:00/40 tag 13 ncq dma 110592 out
[   94.474807]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.490455] ata1.00: status: { DRDY ERR }
[   94.494472] ata1.00: error: { UNC }
[   94.497949] ata1.00: failed command: READ FPDMA QUEUED
[   94.503155] ata1.00: cmd 60/08:70:a8:04:e5/00:00:b2:00:00/40 tag 14 ncq dma 4096 in
[   94.503155]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.518497] ata1.00: status: { DRDY ERR }
[   94.525835] ata1.00: error: { UNC }
[   94.529327] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.534648] ata1.00: cmd 61/08:78:f8:c3:28/00:00:15:00:00/40 tag 15 ncq dma 4096 out
[   94.534648]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.550104] ata1.00: status: { DRDY ERR }
[   94.554287] ata1.00: error: { UNC }
[   94.557775] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.563056] ata1.00: cmd 61/20:80:98:c3:28/00:00:15:00:00/40 tag 16 ncq dma 16384 out
[   94.563056]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.578595] ata1.00: status: { DRDY ERR }
[   94.582613] ata1.00: error: { UNC }
[   94.586095] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.591325] ata1.00: cmd 61/c8:88:b8:03:68/00:00:74:00:00/40 tag 17 ncq dma 102400 out
[   94.591325]          res 41/40:44:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.606962] ata1.00: status: { DRDY ERR }
[   94.610959] ata1.00: error: { UNC }
[   94.614478] ata1: hard resetting link
[   95.121981] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   95.152055] ata1.00: configured for UDMA/133
[   95.156437] sd 0:0:0:0: [sda] tag#8 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.164650] sd 0:0:0:0: [sda] tag#8 Sense Key : 0x3 [current]
[   95.170473] sd 0:0:0:0: [sda] tag#8 ASC=0x11 ASCQ=0x4
[   95.175624] sd 0:0:0:0: [sda] tag#8 CDB: opcode=0x28 28 00 15 4b c0 58 00 00 60 00
[   95.183266] print_req_error: I/O error, dev sda, sector 357285976
[   95.189536] sd 0:0:0:0: [sda] tag#9 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.197768] sd 0:0:0:0: [sda] tag#9 Sense Key : 0x3 [current]
[   95.203618] sd 0:0:0:0: [sda] tag#9 ASC=0x11 ASCQ=0x4
[   95.208752] sd 0:0:0:0: [sda] tag#9 CDB: opcode=0x2a 2a 00 00 47 5d d0 00 00 08 00
[   95.216314] print_req_error: I/O error, dev sda, sector 4677072
[   95.222240] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37430 (offset 0 size 0 starting block 584635)
[   95.234468] Buffer I/O error on device sda5, logical block 166944
[   95.240631] sd 0:0:0:0: [sda] tag#10 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.248921] sd 0:0:0:0: [sda] tag#10 Sense Key : 0x3 [current]
[   95.254864] sd 0:0:0:0: [sda] tag#10 ASC=0x11 ASCQ=0x4
[   95.260082] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x2a 2a 00 00 47 5d c8 00 00 08 00
[   95.267731] print_req_error: I/O error, dev sda, sector 4677064
[   95.273654] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37429 (offset 0 size 0 starting block 584634)
[   95.285881] Buffer I/O error on device sda5, logical block 166943
[   95.292072] sd 0:0:0:0: [sda] tag#11 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.300316] sd 0:0:0:0: [sda] tag#11 Sense Key : 0x3 [current]
[   95.306262] sd 0:0:0:0: [sda] tag#11 ASC=0x11 ASCQ=0x4
[   95.311481] sd 0:0:0:0: [sda] tag#11 CDB: opcode=0x2a 2a 00 00 47 5d c0 00 00 08 00
[   95.319131] print_req_error: I/O error, dev sda, sector 4677056
[   95.325049] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37428 (offset 0 size 0 starting block 584633)
[   95.337272] Buffer I/O error on device sda5, logical block 166942
[   95.343424] sd 0:0:0:0: [sda] tag#12 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.351664] sd 0:0:0:0: [sda] tag#12 Sense Key : 0x3 [current]
[   95.357620] sd 0:0:0:0: [sda] tag#12 ASC=0x11 ASCQ=0x4
[   95.362858] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x2a 2a 00 00 47 5d b8 00 00 08 00
[   95.370485] print_req_error: I/O error, dev sda, sector 4677048
[   95.376411] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37422 (offset 0 size 0 starting block 584632)
[   95.388637] Buffer I/O error on device sda5, logical block 166941
[   95.394742] JBD2: Detected IO errors while flushing file data on sda5-8
[   95.401405] sd 0:0:0:0: [sda] tag#13 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.409692] sd 0:0:0:0: [sda] tag#13 Sense Key : 0x3 [current]
[   95.415615] sd 0:0:0:0: [sda] tag#13 ASC=0x11 ASCQ=0x4
[   95.420828] sd 0:0:0:0: [sda] tag#13 CDB: opcode=0x2a 2a 00 00 3b 0f 00 00 00 d8 00
[   95.428506] print_req_error: I/O error, dev sda, sector 3870464
[   95.439126] Aborting journal on device sda5-8.
[   95.443748] sd 0:0:0:0: [sda] tag#14 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.466753] sd 0:0:0:0: [sda] tag#14 Sense Key : 0x3 [current]
[   95.478057] sd 0:0:0:0: [sda] tag#14 ASC=0x11 ASCQ=0x4
[   95.492105] sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x28 28 00 b2 e5 04 a8 00 00 08 00
[   95.499747] print_req_error: I/O error, dev sda, sector 3001353384
[   95.507125] sd 0:0:0:0: [sda] tag#15 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.515512] EXT4-fs warning (device sda8): htree_dirblock_to_tree:981: inode #93585411: lblock 0: comm transmission-da: error -5 reading directory block
[   95.529169] sd 0:0:0:0: [sda] tag#15 Sense Key : 0x3 [current]
[   95.535256] sd 0:0:0:0: [sda] tag#15 ASC=0x11 ASCQ=0x4
[   95.540479] sd 0:0:0:0: [sda] tag#15 CDB: opcode=0x2a 2a 00 15 28 c3 f8 00 00 08 00
[   95.548161] print_req_error: I/O error, dev sda, sector 354993144
[   95.554290] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 93585413 (offset 0 size 0 starting block 44374144)
[   95.566997] Buffer I/O error on device sda8, logical block 43554828
[   95.573367] sd 0:0:0:0: [sda] tag#16 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.581609] sd 0:0:0:0: [sda] tag#16 Sense Key : 0x3 [current]
[   95.587538] sd 0:0:0:0: [sda] tag#16 ASC=0x11 ASCQ=0x4
[   95.592777] sd 0:0:0:0: [sda] tag#16 CDB: opcode=0x2a 2a 00 15 28 c3 98 00 00 20 00
[   95.600403] print_req_error: I/O error, dev sda, sector 354993048
[   95.606507] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374132)
[   95.619187] Buffer I/O error on device sda8, logical block 43554816
[   95.625480] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374133)
[   95.638143] Buffer I/O error on device sda8, logical block 43554817
[   95.644435] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374134)
[   95.659004] Buffer I/O error on device sda8, logical block 43554818
[   95.665354] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374135)
[   95.678438] Buffer I/O error on device sda8, logical block 43554819
[   95.684792] JBD2: Detected IO errors while flushing file data on sda8-8
[   95.691487] sd 0:0:0:0: [sda] tag#17 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.699788] sd 0:0:0:0: [sda] tag#17 Sense Key : 0x3 [current]
[   95.705741] sd 0:0:0:0: [sda] tag#17 ASC=0x11 ASCQ=0x4
[   95.710985] sd 0:0:0:0: [sda] tag#17 CDB: opcode=0x2a 2a 00 74 68 03 b8 00 00 c8 00
[   95.718665] print_req_error: I/O error, dev sda, sector 1952973752
[   95.724982] Aborting journal on device sda8-8.
[   95.729588] ata1: EH complete
[   98.632100] ata1.00: exception Emask 0x0 SAct 0x800 SErr 0x0 action 0x6
[   98.638705] ata1.00: edma_err_cause=00000084 pp_flags=00000003, dev error, EDMA self-disable
[   98.647153] ata1.00: failed command: READ FPDMA QUEUED
[   98.652321] ata1.00: cmd 60/08:58:58:c0:4b/00:00:15:00:00/40 tag 11 ncq dma 4096 in
[   98.652321]          res 41/40:00:58:c0:4b/00:00:15:00:00/40 Emask 0x409 (media error) <F>
[   98.668182] ata1.00: status: { DRDY ERR }
[   98.672302] ata1.00: error: { UNC }
[   98.675801] ata1: hard resetting link
[   99.181988] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   99.212045] ata1.00: configured for UDMA/133
[   99.216897] ata1: EH complete
[   99.220386] EXT4-fs error (device sda5): ext4_journal_check_start:61: Detected aborted journal
[   99.229966] EXT4-fs (sda5): Remounting filesystem read-only
[   99.332287] EXT4-fs error (device sda5): ext4_journal_check_start:61: Detected aborted journal
[  100.172105] EXT4-fs error (device sda8): ext4_journal_check_start:61: Detected aborted journal
[  100.180694] EXT4-fs (sda8): Remounting filesystem read-only
[  332.892023] EXT4-fs (sda5): error count since last fsck: 6
[  332.897505] EXT4-fs (sda5): initial error at time 1722427685: ext4_journal_check_start:61
[  332.905673] EXT4-fs (sda5): last error at time 1722432815: ext4_journal_check_start:61
[  363.612029] EXT4-fs (sda8): error count since last fsck: 4
[  363.617510] EXT4-fs (sda8): initial error at time 1722427690: ext4_journal_check_start:61
[  363.625683] EXT4-fs (sda8): last error at time 1722432816: ext4_journal_check_start:61

and this is "boot.log"
Code: Select all
root@NAS:/ # cat /boot.log
start boot log
is a physical machine
detect and set platform
nwsp2
kirkwood
UIMAGE-414133-KIRKWOOD-5
Current kernel: 4.14.133 #5 PREEMPT Thu Aug 10 15:38:37 CEST 2023
device nwsp2
family kirkwood
Arm: found valid system disk sda
system disk = sda
 mount dev/pts
update dev nodes
booting using sda2 root file system...
enable IP forwarding...
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
start buttons control daemon
device = nwsp2
source = buttons-nwsp2
buttons-nwsp2 daemon started
Wed Jul 31 15:32:27 CEST 2024
configuration partition is rightly mounted
create temporary passwd file
create temporary group file
set samba environment for version 4.x
configure loopback network interface
setting reboot and standby
nwsp2
rebootd-nwsp2
nwsp2
standbyd-nwsp2
starting php based setup routines step 1
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Vol-A:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting web server...                                [ OK ]
 * Starting mount of internal USB ...
 * Finishing mount internal USB ...      [ OK ]
 * Configuring Disks...                                  [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting Fvdw-sl Discovery Daemon...  [ OK ]
start rpcbind service
starting php based setup routines step 2
 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]
starting php based setup routines step 3
 * Starting Explorer Service...                  [ OK ]
 * Starting daemon update Hosts File...  [ OK ]
 * Starting mount of remote shares...
 * Finishing mount shares...                     [ OK ]
 * Starting Twonky Server...                     [ OK ]
 * Starting Transmission Client...               [ OK ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 18.3
    built on: February 20 2024

    LAN IP address: 192.168.0.175 (DHCP)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files away from ram disk to prevent hanging samba server

------------------------
Monitor if file system check is required on next booting
LED settings
else loop1 finished
rcS finished


Code: Select all
root@NAS:/ # df /rw_fs
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/sda5         805832  1828    795652   1% /rw_fs

Code: Select all
root@NAS:/ # ls -al /rw_fs/tmp
total 32
drwxrwxrwx  6 root   root   4096 2024-07-31 15:33 .
drwxrwxr-x  9 root   sys    4096 2024-07-31 15:32 ..
drwxr-xr-x  2 nobody nobody 4096 2024-07-31 15:32 etc
drwxr-xr-x  2 root   root   4096 2024-07-31 15:32 mnt
-rw-r--r--  1 root   root    233 2024-07-31 15:33 tmphosts
-rw-r--r--  1 root   root   1993 2024-07-31 15:33 twonkyserver-log.txt
drwxr-xr-x  5 root   root   4096 2024-07-31 15:33 usr
drwxr-xr-x  8 root   root   4096 2024-07-31 15:32 var


I tried repair through the web admin console and it finished without the errors. After reboot, I get the same read-only mounts.
Also, I tried
Code: Select all
touch /etc/sda5-scan

and
Code: Select all
touch /etc/sda8-scan

It didn't help.

Please help me.
Thank you

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 2:17 pm
by fvdw
there seems to be an issue with filesystem on sda8.
Connect via ssh server and guve these commands
Code: Select all
umount /share/1000

If umount is successful then
Code: Select all
e2fsck -fy /dev/sda8

If repair of the file system is successful then mount it again
Code: Select all
mount /dev/sda8 /share/1000


ps do not perform the e2fsck command if unmouting of /dev/sda8 from /share/1000 fails

For sda5 in principle the same but umounting may fail as the partition can be in use. In that case we need another approach

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 2:34 pm
by hkalic
Code: Select all
root@NAS:/ # umount /share/1000
umount: /share/1000: target is busy.


No luck there.

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 3:04 pm
by fvdw
In that case you need to use the fvdw-sl console and load and start the kirkwood standalone kernel en perform the e2fsck commands in the telnet terminal.
Before being able to do that you might need to run fvdw-sl-programs in the telnet window and choose action 4 to load additional tools

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 3:42 pm
by hkalic
Well, I managed to do this.
Code: Select all
root@fvdw-sta-kirkwood:/ # e2fsck -fy /dev/sda8
e2fsck 1.41.14 (22-Dec-2010)
/dev/sda8: recovering journal
Group 7922 block bitmap uninitialized but inode bitmap in use.
Fix? yes

Group 7923 block bitmap uninitialized but inode bitmap in use.
Fix? yes

Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda8: 55372/121896960 files (3.4% non-contiguous), 218419113/487556685 blocks

--------------
root@fvdw-sta-kirkwood:/ # e2fsck -fy /dev/sda5
e2fsck 1.41.14 (22-Dec-2010)
/dev/sda5: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 37408 has zero dtime.  Fix? yes

Deleted inode 37409 has zero dtime.  Fix? yes

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Inode bitmap differences:  -(37408--37409)
Fix? yes

Free inodes count wrong for group #5 (7413, counted=7415).
Fix? yes

Free inodes count wrong (52180, counted=52182).
Fix? yes


/dev/sda5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda5: 122/52304 files (1.6% non-contiguous), 7834/208845 blocks

After a manual reboot and SSH, the problem isn't fixed. /dev/sda5 and /dev/sda8 are still read-only.

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 3:43 pm
by fvdw
what does dmesg gives as output now?

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 3:51 pm
by hkalic
Here it is:
Code: Select all
root@NAS:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.133 (root@fvdwsl-5big2.local) (gcc version 4.9.3 (GCC)) #5 PREEMPT Thu Aug 10 15:38:37 CEST 2023
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie Network Space v2
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0929960, node_mem_map cfdfa000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=ASTON_KW
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250048K/262144K available (6915K kernel code, 307K rwdata, 1724K rodata, 192K init, 388K bss, 12096K reserved, 0K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06c8f94   (6916 kB)
[    0.000000]       .init : 0xc08ae000 - 0xc08de000   ( 192 kB)
[    0.000000]       .data : 0xc08de000 - 0xc092ada0   ( 308 kB)
[    0.000000]        .bss : 0xc0932720 - 0xc099393c   ( 389 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 114
[    0.000000] Switching to timer-based delay loop, resolution 6ns
[    0.000013] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[   12.219100] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[   12.219543] Console: colour dummy device 80x30
[   12.219601] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[   12.219636] pid_max: default: 32768 minimum: 301
[   12.219864] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   12.219902] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   12.220726] CPU: Testing write buffer coherency: ok
[   12.222026] Setting up static identity map for 0x81e0 - 0x8238
[   12.222304] Hierarchical SRCU implementation.
[   12.225176] random: get_random_u32 called from bucket_table_alloc+0x14c/0x198 with crng_init=0
[   12.225834] VFP support v0.3: not present
[   12.226454] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   12.226504] futex hash table entries: 256 (order: -1, 3072 bytes)
[   12.226669] xor: measuring software checksum speed
[   12.319581]    arm4regs  :   724.800 MB/sec
[   12.419226]    8regs     :   435.200 MB/sec
[   12.519222]    32regs    :   602.400 MB/sec
[   12.519251] xor: using function: arm4regs (724.800 MB/sec)
[   12.519280] pinctrl core: initialized pinctrl subsystem
[   12.520223] NET: Registered protocol family 16
[   12.521044] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   12.525251] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   12.525298] Feroceon L2: Enabling L2
[   12.525353] Feroceon L2: Cache support initialised.
[   12.527161] kirkwood_init: create proc tsinfo proc
[   12.527197] tsinfo: create proc tsinfo vendor successfully
[   12.527209] mv_usb_init 1
[   12.527225] mv_usb_init 2 devnum = 0
[   12.527241] init function mv_usb_init finished
[   12.527253] initial MPP regs:
[   12.527260]  01112222
[   12.527265]  00003311
[   12.527276]  00551100
[   12.527285]  00000000
[   12.527295]  00000000
[   12.527305]  00000000
[   12.527315]  00000000
[   12.527324]
[   12.527346]   final MPP regs:
[   12.527351]  01112222
[   12.527356]  00003311
[   12.527366]  00551100
[   12.527375]  00000000
[   12.527385]  00000000
[   12.527394]  00000000
[   12.527404]  00000000
[   12.527413]
[   12.528170]  orion-ehci registered
[   12.531178] Kirkwood PCIe port 0: link down
[   12.531196] Kirkwood PCIe port 1: link up
[   12.531217] PCI: bus0 uses PCIe port 0
[   12.531510] PCI host bridge to bus 0000:00
[   12.531543] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   12.531564] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   12.531581] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[   12.531635] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[   12.531684] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[   12.531704] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0fffffff]
[   12.531801] pci 0000:00:00.0: supports D1 D2
[   12.532133] PCI: bus0: Fast back to back transfers disabled
[   12.532161] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[   12.532171] PCI: bus1 uses PCIe port 1
[   12.532956] PCI host bridge to bus 0000:01
[   12.532985] pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
[   12.533005] pci_bus 0000:01: root bus resource [io  0x10000-0x1ffff]
[   12.533022] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[   12.533069] PCI: bus1: Fast back to back transfers enabled
[   12.533090] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   12.750409] raid6: int32x1  gen()    76 MB/s
[   12.919832] raid6: int32x1  xor()    44 MB/s
[   13.089798] raid6: int32x2  gen()    96 MB/s
[   13.259329] raid6: int32x2  xor()    59 MB/s
[   13.429588] raid6: int32x4  gen()    91 MB/s
[   13.599263] raid6: int32x4  xor()    61 MB/s
[   13.769539] raid6: int32x8  gen()    82 MB/s
[   13.939206] raid6: int32x8  xor()    54 MB/s
[   13.939220] raid6: using algorithm int32x2 gen() 96 MB/s
[   13.939232] raid6: .... xor() 59 MB/s, rmw enabled
[   13.939244] raid6: using intx1 recovery algorithm
[   13.939652] vgaarb: loaded
[   13.940418] SCSI subsystem initialized
[   13.940861] libata version 3.00 loaded.
[   13.941591] usbcore: registered new interface driver usbfs
[   13.941755] usbcore: registered new interface driver hub
[   13.941935] usbcore: registered new device driver usb
[   13.942296] Linux video capture interface: v2.00
[   13.945732] clocksource: Switched to clocksource orion_clocksource
[   13.945911] VFS: Disk quotas dquot_6.6.0
[   13.945996] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   13.966174] NET: Registered protocol family 2
[   13.968503] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   13.968563] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   13.968611] TCP: Hash tables configured (established 2048 bind 2048)
[   13.968740] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   13.968776] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   13.968997] NET: Registered protocol family 1
[   13.970243] RPC: Registered named UNIX socket transport module.
[   13.970263] RPC: Registered udp transport module.
[   13.970276] RPC: Registered tcp transport module.
[   13.970287] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.970327] PCI: CLS 32 bytes, default 32
[   13.970674] NetWinder Floating Point Emulator V0.97 (double precision)
[   13.970864] gpio-usb-probe-1
[   13.970983] gpio-usb-probe-4b err=0
[   13.971006] gpio-usb gpio-usb: USB GPIO's initialized
[   13.973356] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[   13.974243] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   13.974780] ntfs: driver 2.1.32 [Flags: R/W].
[   13.974834] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   13.975045] fuse init (API version 7.26)
[   13.975438] JFS: nTxBlock = 1953, nTxLock = 15628
[   13.976932] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[   13.984088] jitterentropy: Initialization failed with host not compliant with requirements: 2
[   13.984261] async_tx: api initialized (async)
[   13.984367] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[   13.984386] io scheduler noop registered
[   13.984399] io scheduler deadline registered
[   13.984471] io scheduler cfq registered (default)
[   13.984487] io scheduler mq-deadline registered
[   13.984841] mv_xor mv_xor.0: Marvell shared XOR driver
[   14.040209] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   14.043454] mv_xor mv_xor.1: Marvell shared XOR driver
[   14.100192] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   14.111170] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.113302] console [ttyS0] disabled
[   14.133584] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   14.819327] random: fast init done
[   14.873718] console [ttyS0] enabled
[   14.896678] brd: module loaded
[   14.910037] loop: module loaded
[   14.914658] sata_mv sata_mv.0: version 1.28
[   14.914759] sata_mv sata_mv.0: cannot get optional clkdev
[   14.921034] sata_mv sata_mv.0: slots 32 ports 2
[   14.930200] scsi host0: sata_mv
[   14.934164] scsi host1: sata_mv
[   14.937727] ata1: SATA max UDMA/133 irq 21
[   14.942127] ata2: SATA max UDMA/133 irq 21
[   14.947958] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   14.954512] Creating 2 MTD partitions on "spi_flash":
[   14.959689] 0x000000000000-0x00000007d000 : "u-boot"
[   14.965928] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   14.974986] tun: Universal TUN/TAP device driver, 1.6
[   14.981819] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   14.990372] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   15.007090] libphy: orion_mdio_bus: probed
[   15.011543] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   15.449191] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   15.469235] ata1.00: ATA-9: WDC WD20EURS-63SPKY0, 80.00A80, max UDMA/133
[   15.475918] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.519240] ata1.00: configured for UDMA/133
[   15.539624] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EURS-63S 0A80 PQ: 0 ANSI: 5
[   15.559853] fvdw1 disk index before get_sd_name = 0
[   15.564714] No LaCie disk map available
[   15.568531] fvdw2 disk index after get_sd_name = 0
[   15.589183] fvdw3 prefix[0]=s  prefix[1]=d
[   15.593269] fvdw4 diskname = sda
[   15.597170] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[   15.619211] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   15.624529] sd 0:0:0:0: [sda] Write Protect is off
[   15.639252] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   15.639408] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.712217]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
[   15.731236] sd 0:0:0:0: [sda] Attached SCSI disk
[   15.900846] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:90:db:c5
[   15.909972] PPP generic driver version 2.4.2
[   15.914747] PPP Deflate Compression module registered
[   15.919950] PPP MPPE Compression module registered
[   15.924725] NET: Registered protocol family 24
[   15.929245] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   15.936789] usbcore: registered new interface driver pegasus
[   15.942517] ata2: SATA link down (SStatus 0 SControl F300)
[   15.948372] usbcore: registered new interface driver asix
[   15.954030] usbcore: registered new interface driver ax88179_178a
[   15.960398] usbcore: registered new interface driver cdc_ether
[   15.966490] usbcore: registered new interface driver net1080
[   15.972333] usbcore: registered new interface driver plusb
[   15.978058] usbcore: registered new interface driver cdc_subset
[   15.984148] usbcore: registered new interface driver zaurus
[   15.990035] usbcore: registered new interface driver ipheth
[   15.995867] usbcore: registered new interface driver cdc_ncm
[   16.002531] aoe: cannot create debugfs directory
[   16.007751] aoe: AoE v85 initialised.
[   16.012080] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   16.018489] i2c /dev entries driver
[   16.023985] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[   16.031278] uvcvideo: Unable to create debugfs directory
[   16.036994] usbcore: registered new interface driver uvcvideo
[   16.042857] USB Video Class driver (1.1.1)
[   16.046937] gspca_main: v2.14.0 registered
[   16.051305] usbcore: registered new interface driver Philips webcam
[   16.058904] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[   16.068123] device-mapper: multipath round-robin: version 1.2.0 loaded
[   16.074701] device-mapper: multipath queue-length: version 0.2.0 loaded
[   16.081423] device-mapper: multipath service-time: version 0.3.0 loaded
[   16.088084] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   16.094210] device-mapper: raid: Loading target version 1.13.0
[   16.102160] Netfilter messages via NETLINK v0.30.
[   16.106862] nfnl_acct: registering with nfnetlink.
[   16.112748] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   16.119630] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   16.126174] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.132283] NET: Registered protocol family 10
[   16.138171] Segment Routing with IPv6
[   16.142195] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.147945] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   16.155009] NET: Registered protocol family 17
[   16.159767] Bridge firewalling registered
[   16.164087] NET: Registered protocol family 5
[   16.169929] console [netcon0] enabled
[   16.173582] netconsole: network logging started
[   16.178864] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   16.186101] rtc-mv rtc-mv: setting system clock to 2024-07-31 15:56:48 UTC (1722441408)
[   16.194821] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[   16.207967] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[   16.234405] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[   16.242168] VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
[   16.249602] Freeing unused kernel memory: 192K
[   16.254031] This architecture does not have kernel memory protection.
[   19.974412] EXT4-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
[   20.189273] EXT4-fs (sda7): re-mounted. Opts: (null)
[   22.316753] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[   23.949815] EXT4-fs (sda2): recovery complete
[   23.989271] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   26.354236] EXT4-fs (sda2): re-mounted. Opts: (null)
[   30.593828] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   30.601338] ehci-orion: EHCI orion driver
[   30.605466] orion-ehci orion-ehci.0: EHCI Host Controller
[   30.610985] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   30.618732] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   30.649178] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   30.655303] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   30.662089] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   30.669304] usb usb1: Product: EHCI Host Controller
[   30.674169] usb usb1: Manufacturer: Linux 4.14.133 ehci_hcd
[   30.679742] usb usb1: SerialNumber: orion-ehci.0
[   30.684892] hub 1-0:1.0: USB hub found
[   30.688670] hub 1-0:1.0: 1 port detected
[   30.720593] usbcore: registered new interface driver usb-storage
[   30.749650] usbcore: registered new interface driver usblp
[   30.808597] Loading iSCSI transport class v2.0-870.
[   30.820651] iscsi: registered transport (tcp)
[   31.902597] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[   31.959544] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   32.541012] random: mkswap: uninitialized urandom read (16 bytes read)
[   32.643112] Adding 514076k swap on /dev/sda3.  Priority:-2 extents:1 across:514076k
[   32.847173] random: dropbear: uninitialized urandom read (32 bytes read)
[   33.042376] random: crng init done
[   47.761330] udevd (976): /proc/976/oom_adj is deprecated, please use /proc/976/oom_score_adj instead.
[   47.770765] udev: starting version 130
[   48.293741] synth uevent: /gpiochip0: failed to send uevent
[   48.293768] gpio gpiochip0: uevent: failed to send synthetic uevent
[   48.359492] synth uevent: /gpiochip1: failed to send uevent
[   48.359519] gpio gpiochip1: uevent: failed to send synthetic uevent
[   60.904463] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: user_xattr,acl,nodelalloc
[   63.129807] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   63.136012] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   65.375205] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control enabled
[   65.384916] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   93.835520] ata1.00: qc timeout (cmd 0x47)
[   93.839670] ata1.00: READ LOG DMA EXT failed, trying PIO
[   93.844970] ata1: failed to read log page 10h (errno=-5)
[   93.850299] ata1.00: exception Emask 0x1 SAct 0xffc SErr 0x0 action 0x6 frozen
[   93.857494] ata1.00: edma_err_cause=00000084 pp_flags=00000003, dev error, EDMA self-disable
[   93.865925] ata1.00: failed command: READ FPDMA QUEUED
[   93.871093] ata1.00: cmd 60/60:10:58:c0:4b/00:00:15:00:00/40 tag 2 ncq dma 49152 in
[   93.871093]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   93.886429] ata1.00: status: { DRDY ERR }
[   93.890494] ata1.00: error: { UNC }
[   93.893974] ata1.00: failed command: WRITE FPDMA QUEUED
[   93.899225] ata1.00: cmd 61/08:18:d0:6d:47/00:00:00:00:00/40 tag 3 ncq dma 4096 out
[   93.899225]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   93.914585] ata1.00: status: { DRDY ERR }
[   93.918587] ata1.00: error: { UNC }
[   93.922091] ata1.00: failed command: WRITE FPDMA QUEUED
[   93.927320] ata1.00: cmd 61/08:20:c8:6d:47/00:00:00:00:00/40 tag 4 ncq dma 4096 out
[   93.927320]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   93.942679] ata1.00: status: { DRDY ERR }
[   93.946676] ata1.00: error: { UNC }
[   93.950171] ata1.00: failed command: WRITE FPDMA QUEUED
[   93.955400] ata1.00: cmd 61/08:28:c0:6d:47/00:00:00:00:00/40 tag 5 ncq dma 4096 out
[   93.955400]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   93.970738] ata1.00: status: { DRDY ERR }
[   93.974738] ata1.00: error: { UNC }
[   93.978213] ata1.00: failed command: WRITE FPDMA QUEUED
[   93.983461] ata1.00: cmd 61/08:30:b8:6d:47/00:00:00:00:00/40 tag 6 ncq dma 4096 out
[   93.983461]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   93.998821] ata1.00: status: { DRDY ERR }
[   94.002834] ata1.00: error: { UNC }
[   94.006312] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.011560] ata1.00: cmd 61/d8:38:00:0f:3b/00:00:00:00:00/40 tag 7 ncq dma 110592 out
[   94.011560]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.027091] ata1.00: status: { DRDY ERR }
[   94.031104] ata1.00: error: { UNC }
[   94.034582] ata1.00: failed command: READ FPDMA QUEUED
[   94.039771] ata1.00: cmd 60/08:40:a8:04:e5/00:00:b2:00:00/40 tag 8 ncq dma 4096 in
[   94.039771]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.055044] ata1.00: status: { DRDY ERR }
[   94.059039] ata1.00: error: { UNC }
[   94.062534] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.067762] ata1.00: cmd 61/08:48:f8:c3:28/00:00:15:00:00/40 tag 9 ncq dma 4096 out
[   94.067762]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.083102] ata1.00: status: { DRDY ERR }
[   94.087102] ata1.00: error: { UNC }
[   94.090595] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.095826] ata1.00: cmd 61/20:50:98:c3:28/00:00:15:00:00/40 tag 10 ncq dma 16384 out
[   94.095826]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.111359] ata1.00: status: { DRDY ERR }
[   94.115355] ata1.00: error: { UNC }
[   94.118838] ata1.00: failed command: WRITE FPDMA QUEUED
[   94.124088] ata1.00: cmd 61/c8:58:b8:03:68/00:00:74:00:00/40 tag 11 ncq dma 102400 out
[   94.124088]          res 41/40:14:58:c0:4b/40:00:15:00:00/40 Emask 0x9 (media error)
[   94.139706] ata1.00: status: { DRDY ERR }
[   94.143702] ata1.00: error: { UNC }
[   94.147190] ata1: hard resetting link
[   94.659211] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   94.699259] ata1.00: configured for UDMA/133
[   94.703644] sd 0:0:0:0: [sda] tag#2 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.711852] sd 0:0:0:0: [sda] tag#2 Sense Key : 0x3 [current]
[   94.717673] sd 0:0:0:0: [sda] tag#2 ASC=0x11 ASCQ=0x4
[   94.722851] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x28 28 00 15 4b c0 58 00 00 60 00
[   94.730419] print_req_error: I/O error, dev sda, sector 357285976
[   94.736689] sd 0:0:0:0: [sda] tag#3 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.744876] sd 0:0:0:0: [sda] tag#3 Sense Key : 0x3 [current]
[   94.750714] sd 0:0:0:0: [sda] tag#3 ASC=0x11 ASCQ=0x4
[   94.755846] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x2a 2a 00 00 47 6d d0 00 00 08 00
[   94.763454] print_req_error: I/O error, dev sda, sector 4681168
[   94.769383] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37429 (offset 0 size 0 starting block 585147)
[   94.781607] Buffer I/O error on device sda5, logical block 167456
[   94.787770] sd 0:0:0:0: [sda] tag#4 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.795973] sd 0:0:0:0: [sda] tag#4 Sense Key : 0x3 [current]
[   94.801812] sd 0:0:0:0: [sda] tag#4 ASC=0x11 ASCQ=0x4
[   94.806943] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x2a 2a 00 00 47 6d c8 00 00 08 00
[   94.814526] print_req_error: I/O error, dev sda, sector 4681160
[   94.820448] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37428 (offset 0 size 0 starting block 585146)
[   94.832675] Buffer I/O error on device sda5, logical block 167455
[   94.838815] sd 0:0:0:0: [sda] tag#5 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.846993] sd 0:0:0:0: [sda] tag#5 Sense Key : 0x3 [current]
[   94.852856] sd 0:0:0:0: [sda] tag#5 ASC=0x11 ASCQ=0x4
[   94.857989] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x2a 2a 00 00 47 6d c0 00 00 08 00
[   94.865574] print_req_error: I/O error, dev sda, sector 4681152
[   94.871503] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37427 (offset 0 size 0 starting block 585145)
[   94.883729] Buffer I/O error on device sda5, logical block 167454
[   94.889884] sd 0:0:0:0: [sda] tag#6 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.898033] sd 0:0:0:0: [sda] tag#6 Sense Key : 0x3 [current]
[   94.903890] sd 0:0:0:0: [sda] tag#6 ASC=0x11 ASCQ=0x4
[   94.909016] sd 0:0:0:0: [sda] tag#6 CDB: opcode=0x2a 2a 00 00 47 6d b8 00 00 08 00
[   94.916599] print_req_error: I/O error, dev sda, sector 4681144
[   94.922517] EXT4-fs warning (device sda5): ext4_end_bio:323: I/O error 10 writing to inode 37421 (offset 0 size 0 starting block 585144)
[   94.934740] Buffer I/O error on device sda5, logical block 167453
[   94.940843] JBD2: Detected IO errors while flushing file data on sda5-8
[   94.947507] sd 0:0:0:0: [sda] tag#7 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.955685] sd 0:0:0:0: [sda] tag#7 Sense Key : 0x3 [current]
[   94.961521] sd 0:0:0:0: [sda] tag#7 ASC=0x11 ASCQ=0x4
[   94.966654] sd 0:0:0:0: [sda] tag#7 CDB: opcode=0x2a 2a 00 00 3b 0f 00 00 00 d8 00
[   94.974237] print_req_error: I/O error, dev sda, sector 3870464
[   94.984874] Aborting journal on device sda5-8.
[   94.989491] sd 0:0:0:0: [sda] tag#8 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   94.997645] sd 0:0:0:0: [sda] tag#8 Sense Key : 0x3 [current]
[   95.021719] sd 0:0:0:0: [sda] tag#8 ASC=0x11 ASCQ=0x4
[   95.026866] sd 0:0:0:0: [sda] tag#8 CDB: opcode=0x28 28 00 b2 e5 04 a8 00 00 08 00
[   95.046609] print_req_error: I/O error, dev sda, sector 3001353384
[   95.052990] sd 0:0:0:0: [sda] tag#9 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.061229] EXT4-fs warning (device sda8): htree_dirblock_to_tree:981: inode #93585411: lblock 0: comm transmission-da: error -5 reading directory block
[   95.074880] sd 0:0:0:0: [sda] tag#9 Sense Key : 0x3 [current]
[   95.080753] sd 0:0:0:0: [sda] tag#9 ASC=0x11 ASCQ=0x4
[   95.085889] sd 0:0:0:0: [sda] tag#9 CDB: opcode=0x2a 2a 00 15 28 c3 f8 00 00 08 00
[   95.093504] print_req_error: I/O error, dev sda, sector 354993144
[   95.099615] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 93585413 (offset 0 size 0 starting block 44374144)
[   95.112341] Buffer I/O error on device sda8, logical block 43554828
[   95.118689] sd 0:0:0:0: [sda] tag#10 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.126966] sd 0:0:0:0: [sda] tag#10 Sense Key : 0x3 [current]
[   95.132888] sd 0:0:0:0: [sda] tag#10 ASC=0x11 ASCQ=0x4
[   95.138106] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x2a 2a 00 15 28 c3 98 00 00 20 00
[   95.145780] print_req_error: I/O error, dev sda, sector 354993048
[   95.151884] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374132)
[   95.164552] Buffer I/O error on device sda8, logical block 43554816
[   95.170850] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374133)
[   95.183519] Buffer I/O error on device sda8, logical block 43554817
[   95.189810] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374134)
[   95.204800] Buffer I/O error on device sda8, logical block 43554818
[   95.211155] EXT4-fs warning (device sda8): ext4_end_bio:323: I/O error 10 writing to inode 10879702 (offset 0 size 0 starting block 44374135)
[   95.223970] Buffer I/O error on device sda8, logical block 43554819
[   95.230287] JBD2: Detected IO errors while flushing file data on sda8-8
[   95.236977] sd 0:0:0:0: [sda] tag#11 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   95.245281] sd 0:0:0:0: [sda] tag#11 Sense Key : 0x3 [current]
[   95.251207] sd 0:0:0:0: [sda] tag#11 ASC=0x11 ASCQ=0x4
[   95.256425] sd 0:0:0:0: [sda] tag#11 CDB: opcode=0x2a 2a 00 74 68 03 b8 00 00 c8 00
[   95.264362] print_req_error: I/O error, dev sda, sector 1952973752
[   95.270656] Aborting journal on device sda8-8.
[   95.275223] ata1: EH complete
[   98.169308] ata1.00: exception Emask 0x0 SAct 0x20 SErr 0x0 action 0x6
[   98.175821] ata1.00: edma_err_cause=02000084 pp_flags=00000003, dev error, EDMA self-disable
[   98.184256] ata1.00: failed command: READ FPDMA QUEUED
[   98.189417] ata1.00: cmd 60/08:28:58:c0:4b/00:00:15:00:00/40 tag 5 ncq dma 4096 in
[   98.189417]          res 41/40:00:58:c0:4b/00:00:15:00:00/40 Emask 0x409 (media error) <F>
[   98.205186] ata1.00: status: { DRDY ERR }
[   98.209202] ata1.00: error: { UNC }
[   98.212699] ata1: hard resetting link
[   98.719203] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   98.749462] ata1.00: configured for UDMA/133
[   98.754305] ata1: EH complete
[   98.757870] EXT4-fs error (device sda5): ext4_journal_check_start:61: Detected aborted journal
[   98.767199] EXT4-fs (sda5): Remounting filesystem read-only
[   98.869481] EXT4-fs error (device sda5): ext4_journal_check_start:61: Detected aborted journal
[   99.689425] EXT4-fs error (device sda8): ext4_journal_check_start:61: Detected aborted journal
[   99.698016] EXT4-fs (sda8): Remounting filesystem read-only

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 4:00 pm
by fvdw
hmmm....that doesn't look good. Many disk errors and it seems e2fsck didn't solve them. The file systens are remounted readonly to protect them from further data loss. You can manually remount them rw (mount -o remount,rw /share/1000 and mount -o remount,rw /rw_fs) but writing to them can be catastrophic and cause more data loss. If your data is still accesible I recommend to backup your data asap and replace the disk.

Last resort would be a check on bad sectors but a disk which so
many i/o errors is probably close to failure.

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 4:10 pm
by hkalic
Yes. :-(

Code: Select all
root@NAS:/ # mount -o remount,rw /share/1000
mount: /share/1000: cannot remount /dev/sda8 read-write, is write-protected.
root@NAS:/ # mount -o remount,rw /rw_fs
mount: /rw_fs: cannot remount /dev/sda5 read-write, is write-protected.


Now I don't get why it is write-protected. Do I need to umount ?

Re: Read-only partitions problem

PostPosted: Wed Jul 31, 2024 4:14 pm
by fvdw
It is write protected to prevent more data loss in case you write to it. As said this disk is probably close to failure. Backup your data that is stil accesible an replace the disk.