Seite 170 von 171 ErsteErste ... 70120160168169170171 LetzteLetzte
Ergebnis 1.691 bis 1.700 von 1701

Thema: OpenWRT port with current kernel 3.0.1

  1. #1691

    Standard

    Zitat Zitat von ElektromAn Beitrag anzeigen
    Not quite right ...
    What do you mean by that?

    Please correct me if I'm wrong, but I don't think it has to do anything with the sppecific HDD I used, because I observe the same behaviour with differend HDDs, as stated in my first post above. Also, I only have a notebook computer without SATA interface. I can only offer to attach the HDD via a generic USB to SATA adapter and then run the hdparm command, if that's what you need.

    Thanks for your help, it's much appreciated!

    edit:

    Here's the output of the commands for one of the affected drives, but again, it happens with others too, and all of them work flawlessly on the other SATA port of the ICY BOX.

    Code:
    ssl@debian:~$ sudo hdparm -i /dev/sdb
    
    /dev/sdb:
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     HDIO_GET_IDENTITY failed: Invalid argument
    Code:
    ssl@debian:~$ sudo hdparm -I /dev/sdb
    
    /dev/sdb:
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    
    ATA device, with non-removable media
        Serial Number:      �@
    Standards:
        Likely used: 1
    Configuration:
        soft sectored
        head switch time > 15us
        fixed drive
        disk xfer rate <= 5Mbs
        disk xfer rate > 5Mbs, <= 10Mbs
        data strobe offset option
        format speed tolerance gap reqd
        Logical        max    current
        cylinders    17218    0
        heads        0    0
        sectors/track    128    0
        --
        bytes/track: 512    bytes/sector: 0
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes 
        cache/buffer size  = unknown
    Capabilities:
        IORDY not likely
        Cannot perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0
    Geändert von ssl (01.02.2017 um 21:56 Uhr)

  2. #1692
    Experte
    Registriert seit
    27.03.2008
    Ort
    Cologne / Germany
    Beiträge
    4.939
    Mein NAS
    N2B1 & IB4220 & WNDR3700v2 with OpenWRT

    Standard

    Zitat Zitat von ssl Beitrag anzeigen
    What do you mean by that?

    Please correct me if I'm wrong, but I don't think it has to do anything with the sppecific HDD I used, because I observe the same behaviour with differend HDDs, as stated in my first post above.
    Very interesting,
    some issue I didn't know of .

    Zitat Zitat von ssl Beitrag anzeigen
    Also, I only have a notebook computer without SATA interface. I can only offer to attach the HDD via a generic USB to SATA adapter and then run the hdparm command, if that's what you need.

    Thanks for your help, it's much appreciated!

    edit:

    Here's the output of the commands for one of the affected drives, but again, it happens with others too, and all of them work flawlessly on the other SATA port of the ICY BOX.
    Again *very* interesting
    So if you switch only the SATA port the device works ??
    In single and/or double configuration ??
    Has switching the power supply of the HDD some effect. ??

    Zitat Zitat von ssl Beitrag anzeigen
    Code:
    ssl@debian:~$ sudo hdparm -i /dev/sdb
    
    /dev/sdb:
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     HDIO_GET_IDENTITY failed: Invalid argument
    Code:
    ssl@debian:~$ sudo hdparm -I /dev/sdb
    
    /dev/sdb:
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    
    ATA device, with non-removable media
        Serial Number:      �@
    Standards:
        Likely used: 1
    Configuration:
        soft sectored
        head switch time > 15us
        fixed drive
        disk xfer rate <= 5Mbs
        disk xfer rate > 5Mbs, <= 10Mbs
        data strobe offset option
        format speed tolerance gap reqd
        Logical        max    current
        cylinders    17218    0
        heads        0    0
        sectors/track    128    0
        --
        bytes/track: 512    bytes/sector: 0
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes 
        cache/buffer size  = unknown
    Capabilities:
        IORDY not likely
        Cannot perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0
    I need something like this
    Code:
    # hdparm -I /dev/sda
    
    /dev/sda:
    
    ATA device, with non-removable media
        Model Number:       WDC WD7500LPCX-60HWST0                  
        Firmware Revision:  01.01A01
        Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
    Standards:
        Supported: 9 8 7 6 5 
        Likely used: 9
    Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, with device specific minimum
        R/W multiple sector transfer: Max = 16    Current = 0
        Advanced power management level: 128
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=120ns  IORDY flow control=120ns
    Commands/features:
    Note the DMA and PIO outputs.
    I think your USB Adapter "removes" them,
    because you have some "without driver" windows SATA-USB Adapter.

    Technical explanation:
    Some SATA-USB adapter are simple SATA USB bridges other are USB blockdevices.
    The last one can have problems with HDDs bigger as 2TB.
    And USB SATA bridges need some "special" driver with Windows.
    Some random kernel coder
    Lots of stuff attached to serial console
    https://github.com/ulli-kroll

  3. #1693

    Standard

    Hi, so I did manage to get a reading for you. I attached a (different) HDD to the second SATA port of the ICYBOX, as the first one is the port that has the issue (at least with the OpenWRT build of Tobias). The other SATA port I left open, so only testing with one disk now (though it's the same issue with both disks attached, it's just easier to identify the disks when only one is attached). This is the output of the commandns:
    Code:
    root@IcyBox:~# hdparm -i /dev/sda
    
    /dev/sda:
    
     Model=ST3250823AS, FwRev=3.01, SerialNo=3ND07QYC
     Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
     RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
     BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=off
     CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
     IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
     PIO modes:  pio0 pio1 pio2 pio3 pio4
     DMA modes:  mdma0 mdma1 mdma2
     UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     AdvancedPM=no WriteCache=enabled
     Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7
    
     * signifies the current active mode
    Code:
    root@IcyBox:~# hdparm -I /dev/sda
    
    /dev/sda:
    
    ATA device, with non-removable media
            Model Number:       ST3250823AS
            Serial Number:      3ND07QYC
            Firmware Revision:  3.01
    Standards:
            Supported: 7 6 5 4
            Likely used: 7
    Configuration:
            Logical         max     current
            cylinders       16383   16383
            heads           16      16
            sectors/track   63      63
            --
            CHS current addressable sectors:   16514064
            LBA    user addressable sectors:  268435455
            LBA48  user addressable sectors:  488397168
            Logical/Physical Sector size:           512 bytes
            device size with M = 1024*1024:      238475 MBytes
            device size with M = 1000*1000:      250059 MBytes (250 GB)
            cache/buffer size  = 8192 KBytes
    Capabilities:
            LBA, IORDY(can be disabled)
            Queue depth: 32
            Standby timer values: spec'd by Standard, no device specific minimum
            R/W multiple sector transfer: Max = 16  Current = ?
            Recommended acoustic management value: 128, current value: 0
            DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
                 Cycle time: min=120ns recommended=120ns
            PIO: pio0 pio1 pio2 pio3 pio4
                 Cycle time: no flow control=240ns  IORDY flow control=120ns
    Commands/features:
            Enabled Supported:
               *    SMART feature set
                    Security Mode feature set
               *    Power Management feature set
               *    Write cache
               *    Look-ahead
               *    Host Protected Area feature set
               *    WRITE_BUFFER command
               *    READ_BUFFER command
               *    DOWNLOAD_MICROCODE
                    SET_MAX security extension
               *    48-bit Address feature set
               *    Device Configuration Overlay feature set
               *    Mandatory FLUSH_CACHE
               *    FLUSH_CACHE_EXT
               *    SMART error logging
               *    SMART self-test
               *    General Purpose Logging feature set
               *    Gen1 signaling speed (1.5Gb/s)
               *    Native Command Queueing (NCQ)
               *    Phy event counters
               *    Software settings preservation
    Security:
            Master password revision code = 65534
                    supported
            not     enabled
            not     locked
            not     frozen
            not     expired: security count
            not     supported: enhanced erase
    Checksum: correct
    Hope that helps you help me

  4. #1694
    Experte
    Registriert seit
    27.03.2008
    Ort
    Cologne / Germany
    Beiträge
    4.939
    Mein NAS
    N2B1 & IB4220 & WNDR3700v2 with OpenWRT

    Standard

    So both SATA ports have the problem ??

    Mabye I will look at this (but currently don't / can't) not enough time.
    Raidsonic IB 4220 aka Gemini Soc will be converted to DeviceTree you can see this on linux-kernel or linux arm mailing lists.
    But currently I'm facing some nasty error while booting ...
    init dies
    Some random kernel coder
    Lots of stuff attached to serial console
    https://github.com/ulli-kroll

  5. #1695

    Standard

    Zitat Zitat von ElektromAn Beitrag anzeigen
    So both SATA ports have the problem ??
    No, only one of them.

    Let me again try to explain it: IcyBox has two SATA ports, let's call them A and B. I have one HDD which works great on port B but isn't being recognized at port A. See the dmesg output on my first post. What makes me believe that this is only a software issue is, that the HDD is working even on port A when I install the original RaidSonic firmware, as well as with the one compiled by user "fratzicu", which has a newer kernel version.

    What can I do to make it work?

  6. #1696
    Experte
    Registriert seit
    27.03.2008
    Ort
    Cologne / Germany
    Beiträge
    4.939
    Mein NAS
    N2B1 & IB4220 & WNDR3700v2 with OpenWRT

    Standard

    Zitat Zitat von ssl Beitrag anzeigen
    No, only one of them.

    Let me again try to explain it: IcyBox has two SATA ports, let's call them A and B. I have one HDD which works great on port B but isn't being recognized at port A. See the dmesg output on my first post. What makes me believe that this is only a software issue is, that the HDD is working even on port A when I install the original RaidSonic firmware, as well as with the one compiled by user "fratzicu", which has a newer kernel version.

    What can I do to make it work?
    Currenly wait ...

    First of all I know most of the hardware,
    and currently *was* busy until now on this device.

    ICYBOX IB 4220 is based on the SoC called Gemini, currently some kernel developers are reworking the kernel.
    Look here, this is the main person
    https://dflund.se/~triad/krad/gemini

    And this is *my* bootlog from my NAS 4220
    Code:
    Linux version 4.10.0-rc2+ (elektroman@T520) (gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) ) #1365 PREEMPT Tue Feb 7 18:59:46 CET 2017
    CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f
    CPU: VIVT data cache, VIVT instruction cache
    OF: fdt:Machine model: Raidsonic NAS IB-4220-B
    Memory policy: Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,19200n8
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 123412K/131072K available (3072K kernel code, 110K rwdata, 448K rodata, 2048K init, 188K bss, 7660K reserved, 0K cma-reserved)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
          .text : 0xc0008000 - 0xc0400000   (4064 kB)
          .init : 0xc0500000 - 0xc0700000   (2048 kB)
          .data : 0xc0700000 - 0xc071b900   ( 111 kB)
           .bss : 0xc071b900 - 0xc074a9ac   ( 189 kB)
    SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
        Build-time adjustment of leaf fanout to 32.
    NR_IRQS:16 nr_irqs:16 16
    Bus: 150MHz(2/1)
    clocksource: gemini_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    Console: colour dummy device 80x30
    Calibrating delay loop... 229.78 BogoMIPS (lpj=1148928)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0x100000 - 0x100048
    devtmpfs: initialized
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    No ATAGs?
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    clocksource: Switched to clocksource gemini_clocksource
    random: fast init done
    futex hash table entries: 256 (order: -1, 3072 bytes)
    workingset: timestamp_bits=30 max_order=15 bucket_order=0
    romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    gemini-gpio 4d000000.gpio: Gemini GPIO @c894c000 registered
    gemini-gpio 4e000000.gpio: Gemini GPIO @c894e000 registered
    gemini-gpio 4f000000.gpio: Gemini GPIO @c8950000 registered
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    console [ttyS0] disabled
    42000000.serial: ttyS0 at MMIO 0x42000000 (irq = 18, base_baud = 3000000) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    of-flash 30000000.flash: initialized Gemini-specific physmap control
    30000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
    Amd/Fujitsu Extended Query Table at 0x0040
      Amd/Fujitsu Extended Query version 1.3.
    number of CFI chips: 1
    7 ofpart partitions found on MTD device 30000000.flash
    Creating 7 MTD partitions on "30000000.flash":
    0x000000000000-0x000000020000 : "RedBoot"
    0x000000020000-0x000000320000 : "Kernel"
    0x000000320000-0x000000920000 : "Ramdisk"
    0x000000920000-0x000000f20000 : "Application"
    0x000000f20000-0x000000f40000 : "VCTL"
    0x000000f40000-0x000000fe0000 : "CurConf"
    0x000000fe0000-0x000001000000 : "FIS directory"
    usbcore: registered new interface driver usb-storage
    rtc-gemini 45000000.rtc: rtc core: registered 45000000.rtc as rtc0
    gemini-poweroff 4b000000.power-controller: Gemini poweroff driver registered
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    input: gpio_keys as /devices/platform/gpio_keys/input/input0
    rtc-gemini 45000000.rtc: setting system clock to 1970-01-01 08:01:49 UTC (28909)
    Freeing unused kernel memory: 2048K
    Starting logging: OK
    Initializing random number generator... done.
    Starting network: ip: socket: Function not implemented
    ip: socket: Function not implemented
    FAIL
    
    Welcome to Buildroot
    buildroot login: random: crng init done
    Only minimal, because we are trying to get all (most) of the drivers into mainline kernel.

    So now for SATA or PATA itself:
    The driver does setup the interface for both hdd's.
    So there is no software error, maybe we do change the speed here.
    Some random kernel coder
    Lots of stuff attached to serial console
    https://github.com/ulli-kroll

  7. #1697

    Standard

    Hi.

    I tested this firmware on a 4220 I had lying around. The version that gives best perf for me is sysupgrade-ib4220-20130127. Everything before that is fine too, but everything released later gives bad read speeds.
    Using sysupgrade-ib4220-20130127 with 2x2.5inches 320GB and 250GB drives with no raid (disk is XFS, mounted in /mnt/sda1 and /mnt/sdb1 and then shared over smb), I am getting 8MB/s write and 15MB/s reads over a gig port. Transfer is stable and system is working fine. spindown is ok too, disks go to standby and wake up fine.

    Now, with versions starting from 20130204 included up to 0130314 (seems to be the latest release), I am getting 1MB/s read and 5/6MB/s writes. The copy process looks funky in windows, where it starts high then goes down to 1MB/s reading then stays there...

  8. #1698
    Cadet
    Registriert seit
    28.03.2018
    Ort
    Frankfurt / Main
    Beiträge
    9
    Mein NAS
    IB4220 Rev 1.1 + Rev 1.21

    Beitrag

    Fetched the brand new 4.16 kernel a few days ago and mixed with Tobias' previous work altoghether with OpenWRT trunk. Here is my result:

    Code:
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.16 (SmartSmurf@smurfberry) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6679-44b8266)) #0 Wed Apr 11 14:21:40 2018
    [    0.000000] CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f
    [    0.000000] CPU: VIVT data cache, VIVT instruction cache
    [    0.000000] OF: fdt: Machine model: Raidsonic NAS IB-4220-B
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    0.000000] random: fast init done
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0
    ...
    [    0.321044] pinctrl-gemini 40000000.syscon:pinctrl: detected 3516 chip variant
    [    0.321109] pinctrl-gemini 40000000.syscon:pinctrl: GLOBAL MISC CTRL at boot: 0x83c22037
    [    0.321152] pinctrl-gemini 40000000.syscon:pinctrl: pad group DRAM enabled
    [    0.321193] pinctrl-gemini 40000000.syscon:pinctrl: pad group IDE enabled
    [    0.321231] pinctrl-gemini 40000000.syscon:pinctrl: pad group PCI enabled
    [    0.321271] pinctrl-gemini 40000000.syscon:pinctrl: pad group PCI CLK enabled
    [    0.321313] pinctrl-gemini 40000000.syscon:pinctrl: flash pin is set
    [    0.322543] pinctrl-gemini 40000000.syscon:pinctrl: ACTIVATE function "dram" with group "dramgrp"
    [    0.322616] pinctrl-gemini 40000000.syscon:pinctrl: padgroup DRAM enabled
    [    0.322683] pinctrl-gemini 40000000.syscon:pinctrl: ACTIVATE function "system" with group "systemgrp"
    [    0.322748] pinctrl-gemini 40000000.syscon:pinctrl: ACTIVATE function "vcontrol" with group "vcontrolgrp"
    [    0.322808] pinctrl-gemini 40000000.syscon:pinctrl: initialized Gemini pin control driver
    [    0.612038] raid6: int32x1  gen()    19 MB/s
    [    0.781762] raid6: int32x1  xor()    15 MB/s
    [    0.950333] raid6: int32x2  gen()    28 MB/s
    [    1.120198] raid6: int32x2  xor()    21 MB/s
    [    1.290219] raid6: int32x4  gen()    36 MB/s
    [    1.460606] raid6: int32x4  xor()    27 MB/s
    [    1.631284] raid6: int32x8  gen()    40 MB/s
    [    1.800636] raid6: int32x8  xor()    26 MB/s
    [    1.800677] raid6: using algorithm int32x8 gen() 40 MB/s
    [    1.800702] raid6: .... xor() 26 MB/s, rmw enabled
    [    1.800726] raid6: using intx1 recovery algorithm
    [    1.801153] pl08xdmac 67000000.dma-controller: FTDMAC020 1.16 rel 1
    [    1.801213] pl08xdmac 67000000.dma-controller: FTDMAC020 4 channels, has built-in bridge, AHB0 and AHB1, supports linked lists
    [    1.801461] pl08xdmac 67000000.dma-controller: initialized 4 virtual memcpy channels
    [    1.803079] pl08xdmac 67000000.dma-controller: DMA: PL080 rev0 at 0x67000000 irq 28
    [    1.803501] Gemini SoC 3516 revision c3, set arbitration 00200030
    ...
    [    6.163693] pinctrl-gemini 40000000.syscon:pinctrl: ACTIVATE function "sata" with group "satagrp"
    [    6.217287] gemini_sata_bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
    [    6.261725] gemini_sata_bridge 46000000.sata: set up the Gemini IDE/SATA nexus
    [    6.306127] pata_ftide010 63000000.ata: set up Gemini PATA0
    [    6.339798] pata_ftide010 63000000.ata: device ID 00000500, irq 26, reg [mem 0x63000000-0x63000fff]
    [    6.394230] pata_ftide010 63000000.ata: SATA0 (master) start
    [    6.605675] gemini_sata_bridge 46000000.sata: SATA0 PHY ready
    [    6.640186] pata_ftide010 63000000.ata: brought 1 bridges online
    [    6.681446] scsi host0: pata_ftide010
    [    6.704798] ata1: PATA max UDMA/133 irq 26
    [    6.730010] pata_ftide010 63400000.ata: set up Gemini PATA1
    [    6.763680] pata_ftide010 63400000.ata: device ID 00000500, irq 27, reg [mem 0x63400000-0x63400fff]
    [    6.818101] pata_ftide010 63400000.ata: SATA1 (master) start
    [    7.038806] gemini_sata_bridge 46000000.sata: SATA1 PHY ready
    [    7.073350] pata_ftide010 63400000.ata: brought 1 bridges online
    [    7.115022] ata1.00: ATA-8: SAMSUNG HD204UI, 1AQ10001, max UDMA/133
    [    7.152682] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
    [    7.193489] scsi host1: pata_ftide010
    [    7.216496] ata2: SATA max UDMA/133 irq 27
    [    7.242667] pinctrl-gemini 40000000.syscon:pinctrl: ACTIVATE function "pflash" with group "pflashgrp"
    [    7.298013] pinctrl-gemini 40000000.syscon:pinctrl: padgroup parallel flash enabled
    [    7.343951] pinctrl-gemini 40000000.syscon:pinctrl: padgroup IDE disabled
    [    7.384680] pinctrl-gemini 40000000.syscon:pinctrl: padgroup serial flash disabled
    [    7.430091] pinctrl-gemini 40000000.syscon:pinctrl: padgroup NAND flash disabled
    [    7.489696] 30000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
    [    7.550770] Amd/Fujitsu Extended Query Table at 0x0040
    [    7.581633]   Amd/Fujitsu Extended Query version 1.3.
    [    7.611962] number of CFI chips: 1
    [    7.638112] 7 ofpart partitions found on MTD device 30000000.flash
    [    7.675301] mtd: merging "Ramdisk" and "Application" to "rootfs, ofs=0x320000, len=0xC00000
    [    7.725907] Creating 6 MTD partitions on "30000000.flash":
    [    7.758845] 0x000000000000-0x000000020000 : "RedBoot"
    [    7.792043] 0x000000020000-0x000000320000 : "Kern"
    [    7.823598] 0x000000320000-0x000000f20000 : "rootfs"
    [    7.856271] mtd: device 2 (rootfs) set to be root filesystem
    [    7.890294] 1 squashfs-split partitions found on MTD device rootfs
    [    7.927406] 0x000000d80000-0x000000f20000 : "rootfs_data"
    [    7.962508] 0x000000f20000-0x000000f40000 : "VCTL"
    [    7.994080] 0x000000f40000-0x000000fe0000 : "CurConf"
    [    8.027334] 0x000000fe0000-0x000001000000 : "FIS directory"
    [    8.064541] mdio-gpio ethernet-phy: failed to get alias id
    [    8.097973] libphy: GPIO Bitbanged MDIO: probed
    [    8.132289] ata1.00: configured for UDMA/133
    [    8.158740] ata2.01: NODEV after polling detection
    [    8.159635] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD204UI  0001 PQ: 0 ANSI: 5
    [    8.209359] ata2.00: ATA-7: SAMSUNG HD103UJ, 1AA01113, max UDMA7
    [    8.245442] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 0/32)
    [    8.302540] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
    [    8.351860] sd 0:0:0:0: [sda] Write Protect is off
    [    8.380714] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [    8.381879] ata2.00: configured for UDMA/133
    [    8.408966] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD103UJ  1113 PQ: 0 ANSI: 5
    [    8.457945] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    8.518325] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
    [    8.572941] sd 1:0:0:0: [sdb] Write Protect is off
    [    8.601768] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    [    8.602475] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    ...
    [   23.779850] gmac-gemini 60000000.ethernet: allocate 1024 pages for queue
    [   23.834061] gemini-ethernet-port 60008000.ethernet-port eth0: gmac_enable_irq device 0 enable
    [   23.885247] gemini-ethernet-port 60008000.ethernet-port eth0: opened
    [   23.923692] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   24.968189] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 10 Mbit
    [   27.128630] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 1Gbit
    [   27.187082] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   28.134458] mount_root: loading kmods from internal overlay
    [   28.274425] kmodloader: loading kernel modules from //etc/modules-boot.d/*
    [   28.326995] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
    [   29.713135] jffs2: notice: (563) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 11 of xref (1 dead, 0 orphan) found.
    [   29.806899] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   29.851986] block: extroot: not configured
    [   29.909221] jffs2: notice: (561) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 11 of xref (1 dead, 0 orphan) found.
    [   30.461436] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   30.506600] block: extroot: not configured
    [   30.533906] mount_root: switching to jffs2 overlay
    [   30.660969] overlayfs: upper fs does not support tmpfile.
    [   30.705383] urandom-seed: Seeding with /etc/urandom.seed
    [   31.008005] gemini-ethernet-port 60008000.ethernet-port eth0: gmac_enable_irq device 0 disable
    [   31.084854] procd: - early -
    [   31.102533] procd: - watchdog -
    [   31.365969] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 1Gbit
    [   32.251441] procd: - watchdog -
    [   32.273045] procd: - ubus -
    [   32.575365] procd: - init -
    [   34.552079] random: crng init done
    [   35.014125] kmodloader: loading kernel modules from /etc/modules.d/*
    [   35.239891] NET: Registered protocol family 38
    [   35.333092] zram: Added device: zram0
    [   35.530523] Initializing XFRM netlink socket
    [   35.582953] NET: Registered protocol family 15
    [   35.624054] tun: Universal TUN/TAP device driver, 1.6
    [   35.855314] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [   35.906893] gre: GRE over IPv4 demultiplexor driver
    [   35.948437] ip_gre: GRE over IPv4 tunneling driver
    [   36.017597] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [   36.122405] hidraw: raw HID events driver (C) Jiri Kosina
    [   36.533636] usbcore: registered new interface driver usblp
    [   36.678430] xt_time: kernel timezone is -0000
    [   36.788951] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   53.409095] gemini-ethernet-port 60008000.ethernet-port eth0: gmac_enable_irq device 0 enable
    [   53.460300] gemini-ethernet-port 60008000.ethernet-port eth0: opened
    [   53.498707] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   54.568358] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 10 Mbit
    [   55.688761] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 1Gbit
    [   55.747198] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  185.208286] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 10 Mbit
    [  198.808646] gemini-ethernet-port 60008000.ethernet-port eth0: connect to RGMII @ 100 Mbit
    Login via ssh:

    Code:
    BusyBox v1.28.3 () built-in shell (ash)
    
      _______                     ________        __
     |       |.-----.-----.-----.|  |  |  |.----.|  |_
     |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
     |_______||   __|_____|__|__||________||__|  |____|
              |__| W I R E L E S S   F R E E D O M
     -----------------------------------------------------
     OpenWrt SNAPSHOT, r6679-44b8266
     -----------------------------------------------------
    root@OpenWrt:~# cat /proc/iomem
    00000000-07ffffff : System RAM
      00008000-008fffff : Kernel code
      00a00000-00a5c733 : Kernel data
    30000000-30ffffff : 30000000.flash
    40000000-40000fff : syscon@40000000
    41000000-41000fff : watchdog@41000000
    42000000-420000ff : serial
    46000000-460000ff : sata@46000000
    4b000000-4b0000ff : power-controller@4b000000
    4d000000-4d0000ff : gpio@4d000000
    4e000000-4e0000ff : gpio@4e000000
    4f000000-4f0000ff : gpio@4f000000
    50000000-500000ff : pci@50000000
    58000000-5fffffff : Gemini PCI MEM
    60000000-60003fff : ethernet@60000000
    60008000-60009fff : ethernet-port@0
    6000a000-6000bfff : ethernet-port@0
    6000c000-6000dfff : ethernet-port@1
    6000e000-6000ffff : ethernet-port@1
    63000000-63000fff : ata@63000000
    63400000-63400fff : ata@63400000
    67000000-67000fff : dma-controller@67000000
      67000000-67000fff : pl08xdmac
    68000000-68000fff : usb@68000000
    root@OpenWrt:~# cat /proc/interrupts
               CPU0
     16:      13675  FTINTC010  14 Edge      FTTMR010-TIMER1
     17:          0  FTINTC010   3 Level     watchdog bark
     18:         10  FTINTC010  18 Level     ttyS0
     22:          0  FTINTC010  26 Edge      poweroff
     26:        830  FTINTC010   4 Edge      pata_ftide010[63000000.ata]
     27:        896  FTINTC010   5 Edge      pata_ftide010[63400000.ata]
     28:          0  FTINTC010   9 Edge      pl08xdmac
     29:          1  FTINTC010  10 Level     fotg2, ehci_hcd:usb1
     31:       1272  FTINTC010   1 Level     ethernet0, eth0
     32:          0  FTINTC010   2 Level     ethernet1
    Err:          0
    root@OpenWrt:~# uname -a
    Linux OpenWrt 4.16 #0 Wed Apr 11 14:21:40 2018 armv4l GNU/Linux
    LuCi also works. Need to test a few things (spindown).
    Will come back later.

    If someone with serial cable and/or JTAG want to test my builds - just drop me a note.
    My repository can be found here: https://github.com/Smartsmurf/openwrt-ib4220

  9. #1699

    Standard

    @SmartSmurf:
    I would like to test your image.
    Could you upload your config for those of us, who never build openwrt before? I must admit, I've no idea, how the build has to be configured, to run on that nas.

  10. #1700
    Cadet Avatar von funkist
    Registriert seit
    15.08.2012
    Ort
    Germany
    Beiträge
    46
    Mein NAS
    IB-NAS4220B OpenWRT

    Standard

    Very cool. Let me know if it works safely. I don't have a serial cable, so I am waiting.

Ähnliche Themen

  1. IB-NAS4220-B Running a current debian testing
    Von abalone im Forum Complex Solutions and Lessons Learned
    Antworten: 1
    Letzter Beitrag: 10.09.2012, 13:01
  2. OpenWRT-Projekt
    Von arnem_ im Forum Wiki Diskussionsbereich
    Antworten: 0
    Letzter Beitrag: 10.11.2008, 15:11

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •