Restart web service through SSH

Options
Hi, 

I have a NAS540 in RAID 5 and one of the drives recently died. I replaced the drive. Now each time I reboot the NAS, it will start a repair that will round for roughly 36 hours. When the repair (presumably) completes, the web client freezes at the login screen. When I enter my credentials and hit the login button, it just sits at "logging in." The only way I can access the Web UI again is to restart the NAS, and then it just starts the repair process over. 

I enabled SSH, so my thinking now is that I may be able to let it run the repair, then use SSH to restart the web service and at least see what the progress is. 

Could someone tell me the commands to do this? Any additional help would be welcome about how to resolve this endless repair cycle. I'm considering deleting the RAID completely and rebuilding it. 

All Replies

  • Mijzelf
    Mijzelf Posts: 2,605  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    You can restart the webserver with
    /etc/init.d/https.sh restart
    But I think it won't help. I'm afraid there is a serious hardware issue causing the backend to stall. You can see the current raid status executing:
    cat /proc/mdstat
    and kernel log:
    dmesg
    I think the latter will be full of I/O errors, when the webinterface is stalled.
    How do you reboot the NAS? Just cut the power?
  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    edited April 2022
    Options
    I just hold the power button for about 3 seconds until I hear a single beep. The NAS will then power down gracefully, at which point I power it back on.

    Here is the output of the first command:

    Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
    md2 : active raid5 sda3[0] sdd3[4](S) sdc3[2] sdb3[1](F)
          11708660736 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/2] [U_U_]

    md1 : active raid1 sda2[0] sdd2[4] sdc2[2] sdb2[1]
          1998784 blocks super 1.2 [4/4] [UUUU]

    md0 : active raid1 sda1[0] sdd1[4] sdc1[2] sdb1[1]
          1997760 blocks super 1.2 [4/4] [UUUU]


    You're right about the second command containing a lot of errors. I can post the entire thing if you like, but here's what I'm seeing:


    [107655.050437]          res 51/40:00:38:4f:9e/00:04:5b:01:00/eb Emask 0x9 (medi                                                                                                                                                             a error)
    [107655.065799] ata2.00: status: { DRDY ERR }
    [107655.069973] ata2.00: error: { UNC }
    [107655.075537] ata2.00: configured for UDMA/100
    [107655.080866] sd 1:0:0:0: [sdb] Unhandled sense code
    [107655.085762] sd 1:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
    [107655.092259] sd 1:0:0:0: [sdb]  Sense Key : 0x3 [current] [descriptor]
    [107655.098868] Descriptor sense data with sense descriptors (in hex):
    [107655.105162]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 01
    [107655.111815]         5b 9e 4f 38
    [107655.115204] sd 1:0:0:0: [sdb]  ASC=0x11 ASCQ=0x4
    [107655.119955] sd 1:0:0:0: [sdb] CDB: cdb[0]=0x88: 88 00 00 00 00 01 5b 9e 4f 3                                                                                                                                                             8 00 00 04 00 00 00
    [107655.128985] end_request: I/O error, dev sdb, sector 5832068920
    [107655.134927] raid5_end_read_request: 16 callbacks suppressed
    [107655.140613] md/raid:md2: read error not correctable (sector 5824069432 on sd                                                                                                                                                             b3).
    [107655.148137] md/raid:md2: read error not correctable (sector 5824069440 on sd                                                                                                                                                             b3).
    [107655.155644] md/raid:md2: read error not correctable (sector 5824069448 on sd                                                                                                                                                             b3).
    [107655.163162] md/raid:md2: read error not correctable (sector 5824069456 on sd                                                                                                                                                             b3).
    [107655.170679] md/raid:md2: read error not correctable (sector 5824069464 on sd                                                                                                                                                             b3).
    [107655.178192] md/raid:md2: read error not correctable (sector 5824069472 on sd                                                                                                                                                             b3).
    [107655.185698] md/raid:md2: read error not correctable (sector 5824069480 on sd                                                                                                                                                             b3).
    [107655.193214] md/raid:md2: read error not correctable (sector 5824069488 on sd                                                                                                                                                             b3).
    [107655.200735] md/raid:md2: read error not correctable (sector 5824069496 on sd                                                                                                                                                             b3).
    [107655.208259] md/raid:md2: read error not correctable (sector 5824069504 on sd                                                                                                                                                             b3).
    [107655.216145] ata2: EH complete


  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    Options
    Also, the web service restart didn't seem to work for me.

    ~ $ /etc/init.d/https.sh restart
    -sh: /etc/init.d/https.sh: not found



  • Mijzelf
    Mijzelf Posts: 2,605  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    -sh: /etc/init.d/https.sh: not found
    Ah, in that case the script is named slightly different. Try 'ls /etc/init.d/' (without quotes) to see a listing of all scripts in that directory.
    md2 : active raid5 sda3[0] sdd3[4](S) sdc3[2] sdb3[1](F)
          11708660736 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/2] [U_U_]
    I'm surprised your box tries to rebuild the array each boot, as there is nothing to rebuild. The array has only 2 members left, and 3 is the minimum. Clearly your disk sdb has big problems. I think that is the 2nd disk. Which disk did you exchange? Is the old disk still available?
    Can you post the output of
    mdadm --examine /dev/sd[abcd]3
    Is your data valuable, or do you have decent backups?

  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    Options
    That makes sense. I checked the scripts in that location and there only a httpd.sh script. I ran that one with the restart parameter and this is what I got:

    ~ $ ls /etc/init.d/
    apcupsd              job_queue.sh         rcS
    crond.sh             main_wsgi.sh         samba.sh
    davhttpd.sh          pkghttpd.sh          schedule_trigger.sh
    httpd.sh             rc.shutdown          zypkg_controller.sh
    ~ $ /etc/init.d/httpd.sh restart
    killall: can't kill pid 12272: Operation not permitted
    killall: can't kill pid 24073: Operation not permitted
    killall: can't kill pid 24079: Operation not permitted
    killall: can't kill pid 24080: Operation not permitted
    killall: can't kill pid 12272: Operation not permitted
    killall: can't kill pid 24073: Operation not permitted
    killall: can't kill pid 24079: Operation not permitted
    killall: can't kill pid 24080: Operation not permitted
    (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    ~ $ ls /etc/init.d/

    Unfortunately I trashed the old disk. It was the one that failed the SMART tests in the NAS, and I also attached it to my Windows PC and attempted to format it. Windows couldn't format it. Probably should have kept it but it seemed dead to me at the time. 

    Here is the output of that command:

    ~ $ mdadm --examine /dev/sd[abcd]3
    mdadm: cannot open /dev/sda3: Permission denied
    mdadm: cannot open /dev/sdb3: Permission denied
    mdadm: cannot open /dev/sdc3: Permission denied
    mdadm: cannot open /dev/sdd3: Permission denied
    ~ $



  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    Options
    Side note, is it worth it to just delete the array and rebuild it? I have all my data backed up to my PC, so it wouldn't be a big issue to copy it back over to the NAS. All 4 drives in the NAS are passing the SMART check and showing normal status.
  • Mijzelf
    Mijzelf Posts: 2,605  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    Operation not permitted/Permission denied

    You are not running the commands as root. Execute su to become root.

    Side note, is it worth it to just delete the array and rebuild it?
    Yes. If you have a decent backup that is the preferred way. As the array is down now, every way to get it running again will be sub-optimal, in the sense that there might be files lost/damaged without you knowing it.
    All 4 drives in the NAS are passing the SMART check and showing normal status.
    Your sdb disk shows serious errors. That are at the moment only read errors, and it is possible that those sectors can be written, and than be readable again. But I would test it before reusing it. That can be done this way:
    su
    mdadm --stop /dev/md2
    dd if=/dev/zero of=/dev/sdb3 bs=16M
    dd if=/dev/sdb3 of=/dev/null bs=16M
    The second command stop the raid array, the 3rd overwrites partition 3 of disk sdb with zeros, and the 4th copies the content of that partition to /dev/null, the universal thrash can. If that can be done without extra errors in dmesg, the disk is OK. (The total test takes several hours, I think the copy action will max out at 100~150MB/sec.


  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    Options
    Mijzelf, 

    I just wanted to say thank you for all your help. 

    After running as root, I was able to successfully run the command to start the web services. That made no difference like you predicted. 

    The following is the output of the following commands just ran as root. 
    Note that before I ran "cat /proc/mdstat," I pulled the replacement drive (the new one I replaced last week) and rebooted the NAS. My thinking was just to test the 3 old drives that were working previously. 

    mdadm --examine /dev/sd[abcd]3
    mdadm --stop /dev/md2
    cat /proc/mdstat

    At this point I have already deleted the volume and am going to rebuild it. I tested the new drive in Windows and it passed crystaldiskinfo and seagatetools health checks, so I don't believe there is anything wrong with the disk itself. 

    I would be interested to get your thoughts on the below output, but at this point I'm just going to start over and hopefully everything will work after that. Thanks for all the help. 


    BusyBox v1.19.4 (2021-04-01 10:35:24 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ # /etc/init.d/httpd.sh restart
    ~ # mdadm --examine /dev/sd[abcd]3
    /dev/sda3:
              Magic : a92b4efc
            Version : 1.2
        Feature Map : 0x0
         Array UUID : 5545e152:5bd362f7:5ebe911f:2c546ff0
               Name : NAS540:2  (local to host NAS540)
      Creation Time : Fri Aug 12 21:38:44 2016
         Raid Level : raid5
       Raid Devices : 4

     Avail Dev Size : 7805773824 (3722.08 GiB 3996.56 GB)
         Array Size : 11708660736 (11166.25 GiB 11989.67 GB)
        Data Offset : 262144 sectors
       Super Offset : 8 sectors
              State : clean
        Device UUID : ef9a90b6:31c92a77:4d69dbe6:c4023899

        Update Time : Sat Apr 30 18:54:59 2022
           Checksum : e8ef23fa - correct
             Events : 96792

             Layout : left-symmetric
         Chunk Size : 64K

       Device Role : Active device 0
       Array State : A.A. ('A' == active, '.' == missing)
    /dev/sdb3:
              Magic : a92b4efc
            Version : 1.2
        Feature Map : 0x0
         Array UUID : 5545e152:5bd362f7:5ebe911f:2c546ff0
               Name : NAS540:2  (local to host NAS540)
      Creation Time : Fri Aug 12 21:38:44 2016
         Raid Level : raid5
       Raid Devices : 4

     Avail Dev Size : 7805773824 (3722.08 GiB 3996.56 GB)
         Array Size : 11708660736 (11166.25 GiB 11989.67 GB)
        Data Offset : 262144 sectors
       Super Offset : 8 sectors
              State : clean
        Device UUID : a2d3d8cc:0fa1778a:8f59d165:b687fbb5

        Update Time : Sat Apr 30 00:43:26 2022
           Checksum : ae3ea9d5 - correct
             Events : 96767

             Layout : left-symmetric
         Chunk Size : 64K

       Device Role : Active device 1
       Array State : AAAA ('A' == active, '.' == missing)
    /dev/sdc3:
              Magic : a92b4efc
            Version : 1.2
        Feature Map : 0x0
         Array UUID : 5545e152:5bd362f7:5ebe911f:2c546ff0
               Name : NAS540:2  (local to host NAS540)
      Creation Time : Fri Aug 12 21:38:44 2016
         Raid Level : raid5
       Raid Devices : 4

     Avail Dev Size : 7805773824 (3722.08 GiB 3996.56 GB)
         Array Size : 11708660736 (11166.25 GiB 11989.67 GB)
        Data Offset : 262144 sectors
       Super Offset : 8 sectors
              State : clean
        Device UUID : 931cb694:38fbf54b:03163ff4:fa672012

        Update Time : Sat Apr 30 18:54:59 2022
           Checksum : 222be993 - correct
             Events : 96792

             Layout : left-symmetric
         Chunk Size : 64K

       Device Role : Active device 2
       Array State : A.A. ('A' == active, '.' == missing)
    /dev/sdd3:
              Magic : a92b4efc
            Version : 1.2
        Feature Map : 0x0
         Array UUID : 5545e152:5bd362f7:5ebe911f:2c546ff0
               Name : NAS540:2  (local to host NAS540)
      Creation Time : Fri Aug 12 21:38:44 2016
         Raid Level : raid5
       Raid Devices : 4

     Avail Dev Size : 7805773824 (3722.08 GiB 3996.56 GB)
         Array Size : 11708660736 (11166.25 GiB 11989.67 GB)
        Data Offset : 262144 sectors
       Super Offset : 8 sectors
              State : clean
        Device UUID : 77fe0874:7c1839b9:0114e4bb:416b5c72

        Update Time : Sat Apr 30 18:54:59 2022
           Checksum : 96a2ea02 - correct
             Events : 96792

             Layout : left-symmetric
         Chunk Size : 64K

       Device Role : spare
       Array State : A.A. ('A' == active, '.' == missing)
    ~ # mdadm --stop /dev/md2
    mdadm: Cannot get exclusive access to /dev/md2:Perhaps a running process, mounted filesystem or active volume group?
    ~ #
    login as:
    password:


    BusyBox v1.19.4 (2021-04-01 10:35:24 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ su
    Password:


    BusyBox v1.19.4 (2021-04-01 10:35:24 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ # cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
    md2 : active raid5 sda3[0] sdc3[2] sdb3[1]
          11708660736 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/3] [UUU_]

    md1 : active raid1 sda2[0] sdc2[2] sdb2[1]
          1998784 blocks super 1.2 [4/3] [UUU_]

    md0 : active raid1 sda1[0] sdc1[2] sdb1[1]
          1997760 blocks super 1.2 [4/3] [UUU_]

    unused devices: <none>
    ~ # dmesg
    [    0.000000] Booting Linux on physical CPU 0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Linux version 3.2.54 (root@twsvnnt01652-01) (gcc version 4.8.5 20150209 (prerelease) (crosstool-NG 1.21.0) ) #1 SMP Thu Apr 1 10:43:14 CST 2021
    [    0.000000] CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=50c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Comcerto 2000 EVM
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] Comcerto: zone_dma mapping size=2c00000 type=b
    [    0.000000] On node 0 totalpages: 257024
    [    0.000000] free_area_init_node: node 0, pgdat 849fdc00, node_mem_map 84a62000
    [    0.000000]   DMA zone: 88 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 11176 pages, LIFO batch:1
    [    0.000000]   Normal zone: 1960 pages used for memmap
    [    0.000000]   Normal zone: 243800 pages, LIFO batch:31
    [    0.000000] PERCPU: Embedded 8 pages/cpu @85268000 s9504 r8192 d15072 u32768
    [    0.000000] pcpu-alloc: s9504 r8192 d15072 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 254976
    [    0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,, ip=dhcp root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs rw noinitrd mtdparts=spi0.0:256k(uloader)ro,512k(barebox)ro,256k(env);comcertonand:10M(config),10M(kernel1),110M(rootfs1),10M(kernel2),110M(rootfs2),-(reserved) usb3_internal_clk=yes
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 44MB 960MB = 1004MB total
    [    0.000000] Memory: 1008396k/1008396k available, 40180k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff30000 - 0xfffe0000   ( 704 kB)
    [    0.000000]     vmalloc : 0xc0800000 - 0xf0000000   ( 760 MB)
    [    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    [    0.000000]     modules : 0x83600000 - 0x84000000   (  10 MB)
    [    0.000000]       .text : 0x84008000 - 0x8468b460   (6670 kB)
    [    0.000000]       .init : 0x8468c000 - 0x849b7520   (3246 kB)
    [    0.000000]       .data : 0x849b8000 - 0x84a00bb0   ( 291 kB)
    [    0.000000]        .bss : 0x84a00bd4 - 0x84a61218   ( 386 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:256
    [    0.000000] PLL0 running at 2400 MHz, PLL1 at 1000 MHz PLL2 running at 1500 MHz PLL3 running at 1066 MHz
    [    0.000000] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 17179ms
    [    0.000193] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
    [    0.090049] pid_max: default: 32768 minimum: 301
    [    0.090245] Mount-cache hash table entries: 512
    [    0.090773] Initializing cgroup subsys cpuacct
    [    0.090805] Initializing cgroup subsys devices
    [    0.090842] CPU: Testing write buffer coherency: ok
    [    0.091005] CPU0: thread -1, cpu 0, socket 9, mpidr 80000900
    [    0.091033] Calibrating local timer... 299.84MHz.
    [    0.150074] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    [    0.151175] CPU1 powered up
    [    0.151773] CPU1: Booted secondary processor
    [    0.190044] CPU1: thread -1, cpu 1, socket 9, mpidr 80000901
    [    0.190095] Brought up 2 CPUs
    [    0.190107] SMP: Total of 2 processors activated (2393.70 BogoMIPS).
    [    0.191633] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2
    [    0.192020] xor: measuring software checksum speed
    [    0.239996]    arm4regs  :  2129.600 MB/sec
    [    0.289967]    8regs     :  1397.600 MB/sec
    [    0.339939]    32regs    :  1186.000 MB/sec
    [    0.389923]    neon      :  1384.000 MB/sec
    [    0.389930] xor: using function: arm4regs (2129.600 MB/sec)
    [    0.390118] NET: Registered protocol family 16
    [    0.391859] L310 cache controller enabled
    [    0.391872] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x00c40000, PREFETCH_CTRL 0x00000000, Cache size: 262144 B
    [    0.391952] ARMv7 AUX CTRL(0): 0x41
    [    0.391957] ARMv7 AUX CTRL(0): 0x41
    [    0.391972] ARMv7 AUX CTRL(1): 0x41
    [    0.391980] ARMv7 AUX CTRL(1): 0x41
    [    0.392894] Pin Select for GPIO[15:0]: 05000000
    [    0.392901] Pin Select for GPIO[31:16]: 00555540
    [    0.392907] Output Enable for GPIO[31:0]: DFFFFF00
    [    0.392912] Pin Select for GPIO[59:32]: 0FFFFFFE
    [    0.392917] Pin Select for GPIO[63:60]: 00000020
    [    0.392923] Output Enable for GPIO[63:32]: 00000001
    [    0.392929] Enable HD3 ...
    [    6.396781] Enable HD2 ...
    [    6.396788] Enable HD4 ...
    [   12.403641] Enable USB ...
    [   12.404933] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [   12.404943] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [   12.404958] Power Management Mode Support For C2000:
    [   12.405324] PCIe: Ref clk 48Mhz
    [   12.405332] PCIe: Detected C2K RevA1 device serdes clk devider old:new=2e:6
    [   12.408628] PCIe0: Link Up Success
    [   12.408634] PCIe0: Polarity: 0 Gen1 mode: 1 External Clk: 0
    [   12.408640] comcerto_pcie_rc_int_init
    [   12.408864] pci 0000:00:00.0: [1b21:0612] type 0 class 0x000106
    [   12.408926] pci 0000:00:00.0: reg 24: [mem 0x00000000-0x000001ff]
    [   12.408942] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
    [   12.409046] PCI: bus0: Fast back to back transfers disabled
    [   12.409234] pci 0000:00:00.0: BAR 6: assigned [mem 0xa0000000-0xa000ffff pref]
    [   12.409245] pci 0000:00:00.0: BAR 5: assigned [mem 0xa0010000-0xa00101ff]
    [   12.409258] pci 0000:00:00.0: BAR 5: set to [mem 0xa0010000-0xa00101ff] (PCI address [0xa0010000-0xa00101ff])
    [   12.436365] bio: create slab <bio-0> at 0
    [   12.604722] raid6: int32x1     32 MB/s
    [   12.774230] raid6: int32x2     49 MB/s
    [   12.943886] raid6: int32x4     84 MB/s
    [   13.113581] raid6: int32x8    119 MB/s
    [   13.283236] raid6: neonx1     144 MB/s
    [   13.453183] raid6: neonx2     177 MB/s
    [   13.623329] raid6: neonx4     199 MB/s
    [   13.792923] raid6: neonx8     201 MB/s
    [   13.792930] raid6: using algorithm neonx8 (201 MB/s)
    [   13.793230] vgaarb: loaded
    [   13.793768] SCSI subsystem initialized
    [   13.794119] libata version 3.00 loaded.
    [   13.794658] usbcore: registered new interface driver usbfs
    [   13.794885] usbcore: registered new interface driver hub
    [   13.795044] usbcore: registered new device driver usb
    [   13.796111] Switching to clocksource timer2
    [   13.805998] NET: Registered protocol family 2
    [   13.806250] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [   13.807014] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [   13.808373] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    [   13.809015] TCP: Hash tables configured (established 131072 bind 65536)
    [   13.809023] TCP reno registered
    [   13.809034] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [   13.809089] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [   13.809456] NET: Registered protocol family 1
    [   13.809796] RPC: Registered named UNIX socket transport module.
    [   13.809804] RPC: Registered udp transport module.
    [   13.809810] RPC: Registered tcp transport module.
    [   13.809815] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [   13.809838] PCI: CLS 32 bytes, default 32
    [   14.045054] gpio_dev = fd00000
    [   14.049402] membuf_init: created membuf device(252, 0)
    [   14.049465] clock_frequency_set: (1:24) NTG INCR value is 422212465
    [   14.077254] VFS: Disk quotas dquot_6.5.2
    [   14.077413] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [   14.078127] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [   14.078136] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [   14.078779] fuse init (API version 7.17)
    [   14.082622] Btrfs loaded
    [   14.082651] msgmni has been set to 1969
    [   14.086882] async_tx: api initialized (async)
    [   14.087384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [   14.087397] io scheduler noop registered
    [   14.087402] io scheduler deadline registered
    [   14.087519] io scheduler cfq registered (default)
    [   14.094860] ### comcerto_dma_probe: XOR DMA channel registered
    [   14.102045] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [   14.306586] 84a546a0 849cb858 0 ffffffff
    [   14.307397] serial8250 serial8250.0: Couldn't set LCR to 191
    [   14.308674] serial8250 serial8250.0: Couldn't set LCR to 191
    [   14.309949] serial8250 serial8250.0: Couldn't set LCR to 224
    [   14.311224] serial8250 serial8250.0: Couldn't set LCR to 224
    [   14.331262] serial8250.0: ttyS0 at MMIO 0x96400000 (irq = 59) is a 16550A
    [   15.049027] console [ttyS0] enabled
    [   15.089577] comcerto_otp_probe.
    [   15.152787] loop: module loaded
    [   15.168041] ahci 0000:00:00.0: version 3.0
    [   15.168061] PCI: enabling device 0000:00:00.0 (0140 -> 0142)
    [   15.173842] ahci: SSS flag set, parallel bus scan disabled
    [   15.179425] ahci 0000:00:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    [   15.187571] ahci 0000:00:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
    [   15.212312] scsi0 : ahci
    [   15.217584] scsi1 : ahci
    [   15.224404] ata1: SATA max UDMA/133 abar m512@0xa0010000 port 0xa0010100 irq 96
    [   15.231776] ata2: SATA max UDMA/133 abar m512@0xa0010000 port 0xa0010180 irq 96
    [   15.240637] SATA Serdes: 48Mhz ref clk
    [   15.244859] Serdes1: Lane OK Passed
    [   15.248855] Serdes2: Lane OK Passed
    [   15.252357] ahci ahci: forcing PORTS_IMPL to 0x3
    [   15.257060] ahci ahci: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    [   15.264830] ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    [   15.288110] scsi2 : ahci_platform
    [   15.293665] scsi3 : ahci_platform
    [   15.301862] ata3: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x100 irq 48
    [   15.309857] ata4: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x180 irq 48
    [   15.322809] designware_spi_probe:Initializing SPI Controller : Using dma=0 CLK(DUS)=250000000 Hz
    [   15.332058] comcerto_spi comcerto_spi.1: at 0x96500000 mapped to 0xC080A000, irq=60
    [   15.339787] designware_spi_probe:Initializing SPI Controller : Using dma=0 CLK(spi_i2c)=250000000 Hz
    [   15.362256] comcerto_spi comcerto_spi.0: at 0x90498000 mapped to 0xC080C000, irq=61
    [   15.389433] comcertoflash: probe of comcertoflash.0 failed with error -5
    [   15.396638] m25p80 spi0.0: found mx25l8005, expected s25fl256s0
    [   15.402583] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
    [   15.407431] 3 cmdlinepart partitions found on MTD device spi0.0
    [   15.413367] Creating 3 MTD partitions on "spi0.0":
    [   15.418183] 0x000000000000-0x000000040000 : "uloader"
    [   15.429547] 0x000000040000-0x0000000c0000 : "barebox"
    [   15.443183] 0x0000000c0000-0x000000100000 : "env"
    [   15.465552] pdev->resource->start = c8300000, pdev->resource->end = c8301fff
    [   15.472687] nand_probe: comcertonand base: 0xc0800000
    [   15.477877] ONFI flash detected
    [   15.481111] ONFI param page 0 valid
    [   15.484612] NAND device: Manufacturer ID: 0x01, Chip ID: 0xda (AMD S34ML02G2)
    [   15.491798] hw_syndrome correction 2048.
    [   15.495731] Using default values for hw ecc
    [   15.503357] Bad block table not found for chip 0
    [   15.511365] Bad block table not found for chip 0
    [   15.515994] Scanning device for bad blocks
    [   15.633149] Bad block table written to 0x00000ffe0000, version 0x01
    [   15.641385] Bad block table written to 0x00000ffc0000, version 0x01
    [   15.647698] 6 cmdlinepart partitions found on MTD device comcertonand
    [   15.654157] Creating 6 MTD partitions on "comcertonand":
    [   15.659494] 0x000000000000-0x000000a00000 : "config"
    [   15.666199] ata4: SATA link down (SStatus 0 SControl 320)
    [   15.677449] 0x000000a00000-0x000001400000 : "kernel1"
    [   15.693420] 0x000001400000-0x000008200000 : "rootfs1"
    [   15.705185] 0x000008200000-0x000008c00000 : "kernel2"
    [   15.720876] 0x000008c00000-0x00000fa00000 : "rootfs2"
    [   15.737450] 0x00000fa00000-0x000010000000 : "reserved"
    [   15.765772] Fixed MDIO Bus: probed
    [   15.770854] ## xhci_plat_probe
    [   15.773931] ### comcerto_start_xhci
    [   15.777486] USB3.0 clock selected: internal
    [   15.784913] xhci-hcd xhci-hcd: xHCI Host Controller
    [   15.789907] drivers/usb/core/inode.c: creating file 'devices'
    [   15.789935] drivers/usb/core/inode.c: creating file '001'
    [   15.789949] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
    [   15.797185] xhci-hcd xhci-hcd: irq 54, io mem 0x9f000000
    [   15.802543] usb usb1: default language 0x0409
    [   15.802564] usb usb1: udev 1, busnum 1, minor = 0
    [   15.802571] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   15.806184] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
    [   15.815606] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   15.822863] usb usb1: Product: xHCI Host Controller
    [   15.827766] usb usb1: Manufacturer: Linux 3.2.54 xhci-hcd
    [   15.833179] usb usb1: SerialNumber: xhci-hcd
    [   15.838002] usb usb1: usb_probe_device
    [   15.838014] usb usb1: configuration #1 chosen from 1 choice
    [   15.838027] xHCI xhci_add_endpoint called for root hub
    [   15.838034] xHCI xhci_check_bandwidth called for root hub
    [   15.838059] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    [   15.838540] hub 1-0:1.0: usb_probe_interface
    [   15.838550] hub 1-0:1.0: usb_probe_interface - got id
    [   15.838558] hub 1-0:1.0: USB hub found
    [   15.842341] hub 1-0:1.0: 1 port detected
    [   15.846313] hub 1-0:1.0: standalone hub
    [   15.846321] hub 1-0:1.0: no power switching (usb 1.0)
    [   15.846328] hub 1-0:1.0: individual port over-current protection
    [   15.846334] hub 1-0:1.0: Single TT
  • ClaytonM
    ClaytonM Posts: 7
    Friend Collector
    Options
    [   15.846341] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [   15.846348] hub 1-0:1.0: power on to power good time: 20ms
    [   15.846368] hub 1-0:1.0: local power source is good
    [   15.846375] hub 1-0:1.0: trying to enable port power on non-switchable hub
    [   15.854634] drivers/usb/core/inode.c: creating file '001'
    [   15.854740] xhci-hcd xhci-hcd: xHCI Host Controller
    [   15.859723] drivers/usb/core/inode.c: creating file '002'
    [   15.859749] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
    [   15.868266] usb usb2: skipped 1 descriptor after endpoint
    [   15.868282] usb usb2: default language 0x0409
    [   15.868303] usb usb2: udev 1, busnum 2, minor = 128
    [   15.868310] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [   15.875125] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   15.882411] usb usb2: Product: xHCI Host Controller
    [   15.888706] usb usb2: Manufacturer: Linux 3.2.54 xhci-hcd
    [   15.895514] usb usb2: SerialNumber: xhci-hcd
    [   15.901692] usb usb2: usb_probe_device
    [   15.901705] usb usb2: configuration #1 chosen from 1 choice
    [   15.901717] xHCI xhci_add_endpoint called for root hub
    [   15.901724] xHCI xhci_check_bandwidth called for root hub
    [   15.901750] usb usb2: adding 2-0:1.0 (config #1, interface 0)
    [   15.902222] hub 2-0:1.0: usb_probe_interface
    [   15.902232] hub 2-0:1.0: usb_probe_interface - got id
    [   15.902239] hub 2-0:1.0: USB hub found
    [   15.906405] hub 2-0:1.0: 1 port detected
    [   15.910465] hub 2-0:1.0: standalone hub
    [   15.910472] hub 2-0:1.0: no power switching (usb 1.0)
    [   15.910478] hub 2-0:1.0: individual port over-current protection
    [   15.910486] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [   15.910494] hub 2-0:1.0: power on to power good time: 20ms
    [   15.910513] hub 2-0:1.0: local power source is good
    [   15.910520] hub 2-0:1.0: trying to enable port power on non-switchable hub
    [   15.917387] drivers/usb/core/inode.c: creating file '001'
    [   15.937130] usbcore: registered new interface driver usblp
    [   15.942819] Initializing USB Mass Storage driver...
    [   15.948252] usbcore: registered new interface driver usb-storage
    [   15.954287] USB Mass Storage support registered.
    [   15.954296] dwc_otg: version 2.94a 27-OCT-2011
    [   15.963506] hub 1-0:1.0: port 1: status 0101 change 0001
    [   15.996591] ata1.00: ATA-8: GENERIC S400 HARD DRIVE, FP2A, max UDMA/100
    [   16.003229] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [   16.011455] ata1.00: configured for UDMA/100
    [   16.016104] scsi 0:0:0:0: Direct-Access     ATA      GENERIC S400 HAR FP2A PQ: 0 ANSI: 5
    [   16.033288] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
    [   16.041072] sd 0:0:0:0: [sda] 4096-byte physical blocks
    [   16.050397] sd 0:0:0:0: [sda] Write Protect is off
    [   16.055208] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [   16.055280] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [   16.064485] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [   16.064508] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    [   16.154587] hub 2-0:1.0: port 1: status 0203 change 0031
    [   16.154638] Core Release: 2.81a
    [   16.157825] Setting default values for core params
    [   16.163883] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [   16.176197] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   16.203697]  sda: sda1 sda2 sda3
    [   16.221605] usb 1-1: default language 0x0409
    [   16.222674] usb 1-1: udev 2, busnum 1, minor = 1
    [   16.222683] usb 1-1: New USB device found, idVendor=174c, idProduct=2074
    [   16.229426] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [   16.236595] usb 1-1: Product: ASM107x
    [   16.240267] usb 1-1: Manufacturer: Asmedia
    [   16.244375] usb 1-1: SerialNumber: 0000000A0003
    [   16.254916] sd 0:0:0:0: [sda] Attached SCSI disk
    [   16.263644] usb 1-1: usb_probe_device
    [   16.263657] usb 1-1: configuration #1 chosen from 1 choice
    [   16.284219] usb 1-1: Successful Endpoint Configure command
    [   16.284387] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
    [   16.284801] hub 1-1:1.0: usb_probe_interface
    [   16.284811] hub 1-1:1.0: usb_probe_interface - got id
    [   16.284819] hub 1-1:1.0: USB hub found
    [   16.288826] hub 1-1:1.0: 4 ports detected
    [   16.292849] hub 1-1:1.0: standalone hub
    [   16.292854] hub 1-1:1.0: ganged power switching
    [   16.292860] hub 1-1:1.0: global over-current protection
    [   16.316217] usb 1-1: Successful Endpoint Configure command
    [   16.316439] hub 1-1:1.0: TT per port
    [   16.316446] hub 1-1:1.0: TT requires at most 16 FS bit times (1332 ns)
    [   16.316453] hub 1-1:1.0: Port indicators are supported
    [   16.316460] hub 1-1:1.0: power on to power good time: 2ms
    [   16.316654] usb 1-1: Successful Endpoint Configure command
    [   16.316836] hub 1-1:1.0: local power source is good
    [   16.316843] hub 1-1:1.0: no over-current condition exists
    [   16.316850] hub 1-1:1.0: enabling power on all ports
    [   16.317688] drivers/usb/core/inode.c: creating file '002'
    [   16.363405] Using Buffer DMA mode
    [   16.366743] Periodic Transfer Interrupt Enhancement - disabled
    [   16.372590] Multiprocessor Interrupt Enhancement - disabled
    [   16.378184] OTG VER PARAM: 0, OTG VER FLAG: 0
    [   16.382587] dwc_otg dwc_otg.0: DWC OTG Controller
    [   16.387339] drivers/usb/core/inode.c: creating file '003'
    [   16.387358] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 3
    [   16.394447] dwc_otg dwc_otg.0: irq 53, io mem 0x00000000
    [   16.399846] Init: Port Power? op_state=1
    [   16.403779] Init: Power Port (0)
    [   16.407056] usb usb3: default language 0x0409
    [   16.407076] usb usb3: udev 1, busnum 3, minor = 256
    [   16.407083] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [   16.413891] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   16.421141] usb usb3: Product: DWC OTG Controller
    [   16.425858] usb usb3: Manufacturer: Linux 3.2.54 dwc_otg
    [   16.431210] usb usb3: SerialNumber: dwc_otg.0
    [   16.435844] hub 2-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [   16.435867] hub 2-0:1.0: port 1, status 0203, change 0000, 5.0 Gb/s
    [   16.436265] usb usb3: usb_probe_device
    [   16.436277] usb usb3: configuration #1 chosen from 1 choice
    [   16.436304] usb usb3: adding 3-0:1.0 (config #1, interface 0)
    [   16.436840] hub 3-0:1.0: usb_probe_interface
    [   16.436849] hub 3-0:1.0: usb_probe_interface - got id
    [   16.436856] hub 3-0:1.0: USB hub found
    [   16.440639] hub 3-0:1.0: 1 port detected
    [   16.444582] hub 3-0:1.0: standalone hub
    [   16.444590] hub 3-0:1.0: ganged power switching
    [   16.444596] hub 3-0:1.0: individual port over-current protection
    [   16.444603] hub 3-0:1.0: Single TT
    [   16.444609] hub 3-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [   16.444617] hub 3-0:1.0: power on to power good time: 2ms
    [   16.444643] hub 3-0:1.0: local power source is good
    [   16.444649] hub 3-0:1.0: enabling power on all ports
    [   16.453239] drivers/usb/core/inode.c: creating file '001'
    [   16.460126] Module dwc_common_port init
    [   16.467772] mousedev: PS/2 mouse device common for all mice
    [   16.488741] c2k-rtc c2k-rtc: rtc core: registered c2k as rtc0
    [   16.495388] C2000 RTC, (c) 2012 Mindspeed Technologies
    [   16.502097] c2k-rtc c2k-rtc: Warning: Invalid RTC value so initializing it
    [   16.509888] i2c /dev entries driver
    [   16.513981] comcerto_i2c_calculate_dividers: speed=97kHz, M=1, N=7, dividers=0x0f
    [   16.538392] i2c-core: driver [eeprom] using legacy suspend method
    [   16.544507] i2c-core: driver [eeprom] using legacy resume method
    [   16.550932] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   16.557584] comcerto_wdt: support registered
    [   16.562228] md: linear personality registered for level -1
    [   16.567758] md: raid0 personality registered for level 0
    [   16.573084] md: raid1 personality registered for level 1
    [   16.578445] md: raid10 personality registered for level 10
    [   16.583973] md: raid6 personality registered for level 6
    [   16.589323] md: raid5 personality registered for level 5
    [   16.594658] md: raid4 personality registered for level 4
    [   16.600516] usb 2-1: skipped 1 descriptor after endpoint
    [   16.600644] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [   16.609204] usb 2-1: default language 0x0409
    [   16.610080] usb 2-1: udev 2, busnum 2, minor = 129
    [   16.610090] usb 2-1: New USB device found, idVendor=174c, idProduct=3074
    [   16.616866] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [   16.624041] usb 2-1: Product: ASM107x
    [   16.627772] usb 2-1: Manufacturer: Asmedia
    [   16.631897] usb 2-1: SerialNumber: 0000000A0003
    [   16.641487] usb 2-1: usb_probe_device
    [   16.641501] usb 2-1: configuration #1 chosen from 1 choice
    [   16.652576] usb 2-1: Successful Endpoint Configure command
    [   16.652818] usb 2-1: adding 2-1:1.0 (config #1, interface 0)
    [   16.659553] hub 2-1:1.0: usb_probe_interface
    [   16.659570] hub 2-1:1.0: usb_probe_interface - got id
    [   16.659579] hub 2-1:1.0: USB hub found
    [   16.664776] hub 2-1:1.0: 4 ports detected
    [   16.668889] hub 2-1:1.0: standalone hub
    [   16.668897] hub 2-1:1.0: ganged power switching
    [   16.668903] hub 2-1:1.0: global over-current protection
    [   16.668911] hub 2-1:1.0: TT requires at most 8 FS bit times (666 ns)
    [   16.668918] hub 2-1:1.0: power on to power good time: 120ms
    [   16.672661] usb 2-1: Successful Endpoint Configure command
    [   16.674750] hub 2-1:1.0: local power source is good
    [   16.674763] hub 2-1:1.0: no over-current condition exists
    [   16.674958] hub 2-1:1.0: enabling power on all ports
    [   16.690839] drivers/usb/core/inode.c: creating file '002'
    [   16.690955] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0000
    [   16.690967] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0000
    [   16.694951] usbcore: registered new interface driver usbhid
    [   16.700674] usbhid: USB HID core driver
    [   16.705322] etherip: Ethernet over IPv4 tunneling driver
    [   16.710694] etherip  ----- is functional
    [   16.716202] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
    [   16.725028] TCP cubic registered
    [   16.728654] NET: Registered protocol family 10
    [   16.735627] IPv6 over IPv4 tunneling driver
    [   16.761578] NET: Registered protocol family 17
    [   16.766239] 8021q: 802.1Q VLAN Support v1.8
    [   16.770460] Registering the dns_resolver key type
    [   16.775202] Clocks: disabled unused uart
    [   16.779165] Clocks: disabled unused gemtx
    [   16.783186] Clocks: disabled unused ipsec_spacc
    [   16.786899] hub 2-1:1.0: state 7 ports 4 chg 0000 evt 0000
    [   16.787749] Clocks: disabled unused dpi_cie
    [   16.791943] Clocks: disabled unused dpi_decomp
    [   16.796415] Clocks: disabled unused pcie1
    [   16.800434] Clocks: disabled unused ext_phy0
    [   16.804715] Clocks: disabled unused ext_phy1
    [   16.809018] Clocks: disabled unused ext_phy2
    [   16.813299] Clocks: disabled unused tpi
    [   16.817157] Clocks: disabled unused csys
    [   16.821091] Clocks: disabled unused tsuntg
    [   16.825195] Clocks: disabled unused sata_occ
    [   16.829490] Clocks: disabled unused pcie_occ
    [   16.833770] Clocks: disabled unused sgmii_occ
    [   16.850081] UBI: attaching mtd2 to ubi0
    [   16.857212] UBI: scanning is finished
    [   16.860888] UBI error: ubi_read_volume_table: the layout volume was not found
    [   16.868062] UBI error: ubi_attach_mtd_dev: failed to attach mtd2, error -22
    [   16.872571] ata2.00: ATA-8: GENERIC S400 HARD DRIVE, FP2A, max UDMA/100
    [   16.872579] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [   16.873552] ata2.00: configured for UDMA/100
    [   16.893202] UBI error: ubi_init: cannot attach mtd2
    [   16.896491] scsi 1:0:0:0: Direct-Access     ATA      GENERIC S400 HAR FP2A PQ: 0 ANSI: 5
    [   16.906303] c2k-rtc c2k-rtc: setting system clock to 2012-07-12 18:25:01 UTC (1342117501)
    [   16.918290] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
    [   16.926067] sd 1:0:0:0: [sdb] 4096-byte physical blocks
    [   16.928195] sd 1:0:0:0: Attached scsi generic sg1 type 0
    [   16.938381] sd 1:0:0:0: [sdb] Write Protect is off
    [   16.943191] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    [   16.943264] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [   17.208395]  sdb: sdb1 sdb2 sdb3
    [   17.218327] sd 1:0:0:0: [sdb] Attached SCSI disk
    [   24.096160] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
    [   24.103082] ata3.00: ATA-8: GENERIC S400 HARD DRIVE, FP2A, max UDMA/100
    [   24.109728] ata3.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32)
    [   24.117379] ata3.00: configured for UDMA/100
    [   24.122019] scsi 2:0:0:0: Direct-Access     ATA      GENERIC S400 HAR FP2A PQ: 0 ANSI: 5
    [   24.136353] sd 2:0:0:0: [sdc] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
    [   24.144135] sd 2:0:0:0: [sdc] 4096-byte physical blocks
    [   24.149920] sd 2:0:0:0: [sdc] Write Protect is off
    [   24.154740] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
    [   24.154803] sd 2:0:0:0: Attached scsi generic sg2 type 0
    [   24.160343] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [   24.205132]  sdc: sdc1 sdc2 sdc3
    [   24.216030] sd 2:0:0:0: [sdc] Attached SCSI disk
    [   24.240167] Freeing init memory: 3244K
    [   26.122937] pfe_module_init
    [   26.125795] pfe_platform_probe
    [   26.130071] ipsec: baseaddr :9a000000 --- c0a00000
    [   26.135885] pfe_probe
    [   26.138187] PFE Driver version:
    [   26.138190] pfe_ctrl_12_00_2
    [   26.138193] built with pfe sources version: pfe_12_00_2
    [   26.149469] cbus_baseaddr: c3000000, ddr_baseaddr: c2000000, ddr_phys_baseaddr: 3400000, ddr_size: c00000
    [   26.159073] pfe_hw_init
    [   26.161525] CLASS version: 20
    [   26.164499] TMU version: 1011231
    [   26.167741] BMU1 version: 21
    [   26.170629] BMU2 version: 21
    [   26.173515] EMAC1 network cfg: 80000
    [   26.177104] EMAC2 network cfg: 80000
    [   26.180687] EMAC3 network cfg: 80000
    [   26.184270] EGPI1 version: 50
    [   26.187250] EGPI2 version: 50
    [   26.190224] EGPI3 version: 50
    [   26.193198] HGPI version: 50
    [   26.196083] GPT version: 0
    [   26.198802] HIF version: 10
    [   26.201602] HIF NOPCY version: 10
    [   26.204923] UTIL version: 20
    [   26.207822] bmu_init(1) done
    [   26.210710] bmu_init(2) done
    [   26.220218] class_init() done
    [   26.223197] tmu_init: mem init
    [   26.226265] tmu_init: lmem init
    [   26.229455] tmu_init() done
    [   26.232255] util_init() done
    [   26.235144] gpi_init(1) done
    [   26.238039] gpi_init(2) done
    [   26.240928] gpi_init(3) done
    [   26.243817] gpi_init(hif) done
    [   26.246883] bmu_enable(1) done
    [   26.249944] bmu_enable(2) done
    [   26.253005] pfe_hif_lib_init
    [   26.256091] pfe_hif_init
    [   26.258640] pfe_hif_alloc_descr
    [   26.261991] pfe_hif_init_buffers
    [   26.265368] pfe_firmware_init
    [   26.288982] pfe_load_elf
    [   26.291536] pe_load_ddr_section: load address(3fb0000) and elf file address(c083b000) rcvd
    [   26.323041] PFE binary version: pfe_12_00_2
    [   26.327263] pfe_firmware_init: class firmware loaded 0xb20 0xc3010000
    [   26.333722] pfe_load_elf
    [   26.337629] pfe_firmware_init: tmu firmware loaded 0x220
    [   26.342955] pfe_load_elf
    [   26.347415] pfe_firmware_init: util firmware loaded 0x16c0
    [   26.352945] pfe_ctrl_init
    [   26.375107] pfe_ctrl_init finished
    [   26.375114] pfe_ctrl_timer
    [   26.381247] pfe_eth_init
    [   26.396108] Comcerto MDIO Bus: probed
    [   26.488460] eth0: pfe_eth_init_one: created interface, baseaddr: c3200000
    [   26.591296] eth1: pfe_eth_init_one: created interface, baseaddr: c3220000
    [   26.598151] pfe_vwd_init
    [   26.600856] pfe_vwd_init: created vwd device(250, 0)
    [   26.605834] pfe_vwd_driver_init: start
    [   26.609616] pfe_vwd_up: start
    [   26.612625] comcerto_wifi_rx_fastpath_register:33 VWD Tx function registered
    [   26.619709] pfe_vwd_driver_init: end
    [   26.623293] pfe_pcap_init
    [   26.653739]  MCU watchdog is reset!
    [   27.152083] egiga0: pfe_eth_open
    [   27.155545] hif_process_client_req: register client_id 0
    [   27.160890] pfe_hif_client_register
    [   27.164397] hif_lib_set_rx_cpu_affinity:Client (0) and HIF Rx processing will use same cpu
    [   27.172698] egiga0: pfe_gemac_init
    [   27.180878] egiga1: pfe_eth_open
    [   27.184338] hif_process_client_req: register client_id 1
    [   27.189685] pfe_hif_client_register
    [   27.193194] hif_lib_set_rx_cpu_affinity:Client (1) and HIF Rx processing will use same cpu
    [   27.201556] egiga1: pfe_gemac_init
    [   28.143436] UBI: attaching mtd5 to ubi5
    [   28.900637] UBI: scanning is finished
    [   28.917561] UBI: attached mtd5 (name "rootfs1", size 110 MiB) to ubi5
    [   28.924029] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [   28.930859] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [   28.937597] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
    [   28.944494] UBI: good PEBs: 880, bad PEBs: 0, corrupted PEBs: 0
    [   28.950438] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
    [   28.957599] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1265493029
    [   28.966674] UBI: available PEBs: 10, total reserved PEBs: 870, PEBs reserved for bad PEB handling: 40
    [   28.975945] UBI: background thread "ubi_bgt5d" started, PID 971
    [   29.131924] UBIFS: mounted UBI device 5, volume 0, name "ubi_rootfs1"
    [   29.138403] UBIFS: mounted read-only
    [   29.141990] UBIFS: file system size:   103612416 bytes (101184 KiB, 98 MiB, 816 LEBs)
    [   29.149850] UBIFS: journal size:       5206016 bytes (5084 KiB, 4 MiB, 41 LEBs)
    [   29.157186] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [   29.163034] UBIFS: default compressor: lzo
    [   29.167153] UBIFS: reserved for root:  4893869 bytes (4779 KiB)
    [   29.410364] md: md0 stopped.
    [   29.416798] md: bind<sdb1>
    [   29.420224] md: bind<sdc1>
    [   29.425919] md: bind<sda1>
    [   29.432463] bio: create slab <bio-1> at 1
    [   29.436746] md/raid1:md0: active with 3 out of 4 mirrors
    [   29.442150] md0: detected capacity change from 0 to 2045706240
    [   29.469709] md: md1 stopped.
    [   29.480752] md: bind<sdb2>
    [   29.485827] md: bind<sdc2>
    [   29.489014] md: bind<sda2>
    [   29.495567] md/raid1:md1: active with 3 out of 4 mirrors
    [   29.501019] md1: detected capacity change from 0 to 2046754816
    [   29.730491]  md1: unknown partition table
    [   29.798750] Adding 1998780k swap on /dev/md1.  Priority:-1 extents:1 across:1998780k
    [   29.823168]  md0: unknown partition table
    [   30.010537] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
    [   32.166358] PHY: comcerto-0:04 - Link is Up - 1000/Full
    [   32.171628] pfe_eth_adjust_link: PHY: comcerto-0:04, phy->link: 1
    [   33.583109] EXT4-fs (md0): re-mounted. Opts: (null)
    [   33.604406] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem
    [   33.615084] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
    [   33.735421] UBI: attaching mtd3 to ubi3
    [   33.808575] UBI: scanning is finished
    [   33.824469] UBI: attached mtd3 (name "config", size 10 MiB) to ubi3
    [   33.830788] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [   33.837614] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [   33.844337] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
    [   33.851238] UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [   33.857092] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
    [   33.864247] UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 3781678401
    [   33.873325] UBI: available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 40
    [   33.882425] UBI: background thread "ubi_bgt3d" started, PID 1204
    [   34.009658] UBIFS: mounted UBI device 3, volume 0, name "ubi_config"
    [   34.016036] UBIFS: file system size:   3428352 bytes (3348 KiB, 3 MiB, 27 LEBs)
    [   34.023385] UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
    [   34.030550] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [   34.036404] UBIFS: default compressor: lzo
    [   34.040510] UBIFS: reserved for root:  161928 bytes (158 KiB)
    [   34.244827] NTFS driver 2.1.30 [Flags: R/O MODULE].
    [   34.263281] tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel.
    [   34.272918] Disabling lock debugging due to kernel taint
    [   34.286239] Tuxera NTFS driver 3014.4.29 [Flags: R/W MODULE].
    [   34.304586] PPP generic driver version 2.4.2
    [   34.329750] PPP MPPE Compression module registered
    [   34.351993] PPP Deflate Compression module registered
    [   34.365899] NET: Registered protocol family 24
    [   34.383341] PPP BSD Compression module registered
    [   34.697214] elp_register_ocf: Comcerto 2000 ELP Crypto Offload Engine
    [   34.703601] m86xxx_elp: Registering  key des/3des aes md5 sha1 sha2_256 sha2_384 sha2_512 sha256_hmac null
    [   37.416142] egiga1: no IPv6 routers present
    [   48.721938] md: md2 stopped.
    [   48.809131] md: bind<sdb3>
    [   48.812171] md: bind<sdc3>
    [   48.815200] md: bind<sda3>
    [   48.822046] md/raid:md2: device sda3 operational as raid disk 0
    [   48.828026] md/raid:md2: device sdc3 operational as raid disk 2
    [   48.833964] md/raid:md2: device sdb3 operational as raid disk 1
    [   48.840950] md/raid:md2: allocated 4220kB
    [   48.845039] md/raid:md2: raid level 5 active with 3 out of 4 devices, algorithm 2
    [   48.852571] RAID conf printout:
    [   48.852577]  --- level:5 rd:4 wd:3
    [   48.852584]  disk 0, o:1, dev:sda3
    [   48.852590]  disk 1, o:1, dev:sdb3
    [   48.852596]  disk 2, o:1, dev:sdc3
    [   48.852693] md2: detected capacity change from 0 to 11989668593664
    [   49.055229]  md2: unknown partition table
    [   50.506262] EXT4-fs (md2): recovery complete
    [   50.510932] EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: usrquota,data=ordered,barrier=1
    [  104.049176] bz time = 1f
    [  104.051721] bz status = 3
    [  104.054347] bz_timer_status = 0
    [  104.057536] start buzzer
    [  111.028894] bz time = 1
    [  111.031355] bz status = 1
    [  111.033980] bz_timer_status = 1
    [  161.582237] bz time = 0
    [  161.584703] bz status = 0
    [  161.587385] bz_timer_status = 1
  • Mijzelf
    Mijzelf Posts: 2,605  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    This is the interesting part of mdadm --examine:
    /dev/sda3:
        Update Time : Sat Apr 30 18:54:59 2022
       Device Role : Active device 0
       Array State : A.A. ('A' == active, '.' == missing)
    /dev/sdb3:
        Update Time : Sat Apr 30 00:43:26 2022
       Device Role : Active device 1
       Array State : AAAA ('A' == active, '.' == missing)
    /dev/sdc3:
        Update Time : Sat Apr 30 18:54:59 2022
       Device Role : Active device 2
       Array State : A.A. ('A' == active, '.' == missing)
    /dev/sdd3:
        Update Time : Sat Apr 30 18:54:59 2022
       Device Role : spare
       Array State : A.A. ('A' == active, '.' == missing)
    sdb was dropped from the array shortly after 30 April 00:43:26 (UTC, I think). You can see that because it's the only member which thinks the array is complete. It's header is not updated after it's dropped. Then I think you exchanged sdd at 30 April 18:54:59. It was added to the array as spare, because it couldn't be added to the array as active device, due to the array being down. All headers were updated.

Consumer Product Help Center