2big NAS

Re: 2big NAS

Postby fvdw » Sat Jan 06, 2018 10:16 pm

I see this command in uboot help listing
Code: Select all
scsi


If you use that what does it give as output ?

(and I miss the output of telnet (dmesg) from kernel 163
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby fvdw » Sat Jan 06, 2018 10:21 pm

ok I see you edited your post

no progress with sata links :fists

in addition to previous post
in uboot
Code: Select all
scsi part

should show disk info, if that also gives no output I think we have a problem ...
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby fvdw » Sat Jan 06, 2018 10:46 pm

I have read your pm on smoking hdd, think you are right it is in the power supply part of the hdd, not likely that it damged the sata interface
I will look further in the GPL code of lacie , I saw there something of a power control code, lets see if I can implement that in the kernel

Another hint I found is this output of a readyNas also with this 6282 cpu, it also uses a hdd control driver
readynas.

HDD_pwrctl_init
SATA1 is detected.
SATA2 is not detected.
Request the irq HDDpwrctrl success.
Just power off HDD(2).
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-9: WDC WD30EFRX-68AX9N0, 80.00A80, max UDMA/133
ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA WDC WD30EFRX-68A 80.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk


hopefully the "scsi part" command in uboot showed the disk...
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby panda88 » Sat Jan 06, 2018 10:48 pm

fvdw wrote:I have read your pm on smoking hdd, think you are right it is in the power supply part of the hdd, not likely that it damged the sata interface
I will look further in the GPL code of lacie , I saw there something of a power control code, lets see if I can implement that in the kernel

Another hint I found is this output of a readyNas also with this 6282 cpu, it also uses a hdd control driver
readynas.

HDD_pwrctl_init
SATA1 is detected.
SATA2 is not detected.
Request the irq HDDpwrctrl success.
Just power off HDD(2).
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-9: WDC WD30EFRX-68AX9N0, 80.00A80, max UDMA/133
ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA WDC WD30EFRX-68A 80.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk


hopefully the "scsi part" command in uboot showed the disk...



not lucky:


Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter


Marvell>>

Marvell>>

Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/
Marvell>> ide reset
ide reset

Reset IDE:
Marvell Serial ATA Adapter

Marvell Serial ATA Adapter
Integrated Sata device found
PCIe SATA:ffffffff

Marvell>> ide info
ide info

Marvell>> ide part
ide part

no IDE devices available
Marvell>> ide partinfo
ide partinfo

no IDE devices available
Marvell>> pci
pci
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x11ab     0x6282     Memory controller       0x80
00.01.00   0x197b     0x2360     Mass storage controller 0x06
Marvell>> scsi
scsi
Usage:
scsi    - SCSI sub-system

Marvell>> scsi part
scsi part

no SCSI devices available
Marvell>> help
help
?       - alias for 'help'
base    - print or set address offset
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bubt    - Burn an image on the Boot Nand Flash.
chpart  - change active partition
cmp     - memory compare
cmpm    - Compare Memory
coninfo - print console devices and information
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk    - Display the MV device CLKs.
dhcp    - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
esphytest  - eSATA PHY test patterns
exit    - exit script
ext2get - get variable(s) from an environment file
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext2modify- modify binary file from a Ext2 filesystem
ext2set - set variable in an environment file
ext2uuid- extract UUID from a Ext2 filesystem
factory    - reset to factory command
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fi      - Find value in the memory.
flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo  - print header information for application image
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir      - reading and changing MV internal register values.
loop    - infinite loop on address range
ls      - list files in a directory (default /)
lump    - Wait for a LUMP
map     - Diasplay address decode windows
md      - memory display
me      - PCI master enable
mm      - memory modify (auto-incrementing)
mp      - map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
print machine type
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt   - Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciephyRead    - Read PCI-E Phy register
pciePhyWrite    - Write PCI-E Phy register
phyRead        - Read Phy register
phyWrite       - Write Phy register
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv        - Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
scsi    - SCSI sub-system
scsiboot- boot from SCSI device
se      - PCI Slave enable
setenv  - set environment variables
sflash  - read, write or erase the external SPI Flash.
sg      - scanning the PHYs status
sp      - Scan PCI bus.
sphytest  - SATA PHY test patterns
switchRegRead   - Read switch register
switchRegWrite  - Write switch register
Temp    - read chip Tj temp
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
Marvell>> sg
sg
PHY 0 :
---------
Auto negotiation: Enabled
Speed: 1000 Mbps
Duplex: Full
Link: up

PHY 1 :
---------
Auto negotiation: Enabled
Speed: Uknown
Duplex: Full
Link: up

Marvell>> pciephyread
pciephyread
Unknown command 'pciephyread' - try 'help'
Marvell>> pciephyread --help
pciephyread --help
Unknown command 'pciephyread' - try 'help'
Marvell>> help pciephyread
help pciephyread
Unknown command 'pciephyread' - try 'help' without arguments for list of all known commands

Marvell>> dmesg
dmesg
Unknown command 'dmesg' - try 'help'
Marvell>> sp
sp

Bus: 0 Device: 0 Func: 0 Vendor ID: 11ab Device ID: 6282
-------------------------------------------------------------------
Class: Memory controller
PCI_BAR0 (Mem-64bit) base: 0f1000000    size: 1048576 bytes
PCI_BAR1 (Mem-64bit) base: 000000000            size: 268435456 bytes

Bus: 0 Device: 1 Func: 0 Vendor ID: 197b Device ID: 2360
-------------------------------------------------------------------
Class: Mass storage controller
PCI_BAR0 (I/O-32bit) base: fff8         size: -65528 bytes
PCI_BAR1 (I/O-64bit) base: fff90000fffc size: -65528 bytes
PCI_BAR2 (I/O-64bit) base: fff10000fffc size: -65520 bytes
PCI_BAR3 (Mem-32bit) base: 90000000             size: 512 bytes
Marvell>> scsi reset
scsi reset

Reset SCSI
scanning bus for devices...
Invaild port number 2
Invaild port number 3
Marvell>> phyread
phyread
Unknown command 'phyread' - try 'help'
Marvell>> tftpboot 0x800000 UIMAGE-3142-KIRKWOOD-163-standalone
tftpboot 0x800000 UIMAGE-3142-KIRKWOOD-163-standalone
Using egiga0 device
TFTP from server 10.0.0.108; our IP address is 10.0.0.252
Filename 'UIMAGE-3142-KIRKWOOD-163-standalone'.
Load address: 0x800000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################
done
Bytes transferred = 5905976 (5a1e38 hex)
Marvell>> bootm
bootm
## Booting image at 00800000 ...
   Image Name:   Linux-3.14.2
   Created:      2018-01-06  17:13:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5905912 Bytes =  5.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : console=ttyS0,115200 netconsole=6666@10.0.0.252/,6666@10.0.0.108/ cap=gpt,lba64

Starting kernel ...

[   28.697117] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   28.707133] ehci-orion: EHCI orion driver
[   28.711473] orion-ehci orion-ehci.0: EHCI Host Controller
[   28.717799] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   28.725531] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   28.744023] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   28.750071] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   28.756912] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   28.764188] usb usb1: Product: EHCI Host Controller
[   28.769093] usb usb1: Manufacturer: Linux 3.14.2 ehci_hcd
[   28.774538] usb usb1: SerialNumber: orion-ehci.0
[   28.779673] hub 1-0:1.0: USB hub found
[   28.783490] hub 1-0:1.0: 1 port detected
[   28.792173] usbcore: registered new interface driver usb-storage


Code: Select all
fvdw-sta-kirkwood login: root
Password:
root@fvdw-sta-kirkwood:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.2 (root@fvdwsl-5big2.local) (gcc version 4.8.1 (GCC) ) #163 PREEMPT Sat Jan 6 18:12:52 CET 2018
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie 2Big NAS
[    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 c09807b8, node_mem_map cfdfb000
[    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 in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 netconsole=6666@10.0.0.252/,6666@10.0.0.108/ cap=gpt,lba64
[    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: 249892K/262144K available (5946K kernel code, 220K rwdata, 1596K rodata, 1933K init, 232K bss, 12252K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0765abc   (7543 kB)
[    0.000000]       .init : 0xc0766000 - 0xc09494c4   (1934 kB)
[    0.000000]       .data : 0xc094a000 - 0xc0981020   ( 221 kB)
[    0.000000]        .bss : 0xc098102c - 0xc09bb36c   ( 233 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[   19.404058] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[   19.464026] pid_max: default: 32768 minimum: 301
[   19.464127] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.464143] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.464568] CPU: Testing write buffer coherency: ok
[   19.464840] Setting up static identity map for 0x5a5c60 - 0x5a5cb8
[   19.466794] VFP support v0.3: not present
[   19.467243] xor: measuring software checksum speed
[   19.564069]    arm4regs  :  1681.200 MB/sec
[   19.664038]    8regs     :  1091.600 MB/sec
[   19.764027]    32regs    :  1510.800 MB/sec
[   19.764041] xor: using function: arm4regs (1681.200 MB/sec)
[   19.764055] pinctrl core: initialized pinctrl subsystem
[   19.764154] NET: Registered protocol family 16
[   19.764446] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   19.766820] Kirkwood: MV88F6282-Rev-A1, TCLK=200000000.
[   19.766840] Feroceon L2: Enabling L2
[   19.766869] Feroceon L2: Cache support initialised.
[   19.767646] mv_usb_init 1
[   19.767659] mv_usb_init 2 devnum = 0
[   19.767667] init function mv_usb_init finished
[   19.767672] initial MPP regs: 01111111 00003311 00551100 00000000 00000000 00000000 00000000
[   19.767692]   final MPP regs: 01111111 00003311 00551100 00000000 00000000 00000000 00000000
[   19.767919]  orion-ehci registered
[   19.769073] orion_gpio_is_valid: invalid GPIO 7
[   19.769419] Kirkwood PCIe port 0: link up
[   19.769426] Kirkwood PCIe port 1: link down
[   19.769431] PCI: bus0 uses PCIe port 0
[   19.769605] PCI host bridge to bus 0000:00
[   19.769621] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   19.769629] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   19.769637] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[   19.769664] pci 0000:00:00.0: [11ab:6282] type 00 class 0x058000
[   19.769684] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[   19.769695] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0fffffff]
[   19.769729] pci 0000:00:00.0: supports D1 D2
[   19.769925] pci 0000:00:01.0: [197b:2360] type 00 class 0x010601
[   19.769958] pci 0000:00:01.0: reg 0x10: [io  0xfff8-0xffff]
[   19.769975] pci 0000:00:01.0: reg 0x14: [io  0xfffc-0xffff]
[   19.769991] pci 0000:00:01.0: reg 0x18: [io  0xfff8-0xffff]
[   19.770007] pci 0000:00:01.0: reg 0x1c: [io  0xfffc-0xffff]
[   19.770022] pci 0000:00:01.0: reg 0x20: [io  0xfff0-0xffff]
[   19.770039] pci 0000:00:01.0: reg 0x24: [mem 0x90000000-0x900001ff]
[   19.770055] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[   19.770100] pci 0000:00:01.0: PME# supported from D3hot
[   19.770312] PCI: bus0: Fast back to back transfers disabled
[   19.770324] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[   19.770333] PCI: bus1 uses PCIe port 1
[   19.770488] PCI host bridge to bus 0000:01
[   19.770500] pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
[   19.770508] pci_bus 0000:01: root bus resource [io  0x10000-0x1ffff]
[   19.770516] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[   19.770537] pci 0000:01:00.0: [11ab:6282] type 00 class 0x058000
[   19.770554] pci 0000:01:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[   19.770564] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x0fffffff]
[   19.770595] pci 0000:01:00.0: supports D1 D2
[   19.770780] PCI: bus1: Fast back to back transfers disabled
[   19.770792] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   19.770821] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[   19.770832] pci 0000:00:01.0: BAR 5: assigned [mem 0xe0010000-0xe00101ff]
[   19.770844] pci 0000:00:01.0: BAR 4: assigned [io  0x1000-0x100f]
[   19.770855] pci 0000:00:01.0: BAR 0: assigned [io  0x1010-0x1017]
[   19.770866] pci 0000:00:01.0: BAR 2: assigned [io  0x1018-0x101f]
[   19.770878] pci 0000:00:01.0: BAR 1: assigned [io  0x1020-0x1023]
[   19.770889] pci 0000:00:01.0: BAR 3: assigned [io  0x1024-0x1027]
[   19.787691] bio: create slab <bio-0> at 0
[   19.954171] raid6: int32x1    146 MB/s
[   20.124589] raid6: int32x2    193 MB/s
[   20.294311] raid6: int32x4    195 MB/s
[   20.464434] raid6: int32x8    210 MB/s
[   20.464442] raid6: using algorithm int32x8 (210 MB/s)
[   20.464446] raid6: using intx1 recovery algorithm
[   20.465089] SCSI subsystem initialized
[   20.465418] libata version 3.00 loaded.
[   20.466029] usbcore: registered new interface driver usbfs
[   20.466152] usbcore: registered new interface driver hub
[   20.466288] usbcore: registered new device driver usb
[   20.468071] cfg80211: Calling CRDA to update world regulatory domain
[   20.468263] Switched to clocksource orion_clocksource
[   20.469888] NET: Registered protocol family 2
[   20.470230] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   20.470262] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   20.470291] TCP: Hash tables configured (established 2048 bind 2048)
[   20.470334] TCP: reno registered
[   20.470343] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   20.470362] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   20.470507] NET: Registered protocol family 1
[   20.470705] RPC: Registered named UNIX socket transport module.
[   20.470712] RPC: Registered udp transport module.
[   20.470716] RPC: Registered tcp transport module.
[   20.470720] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   20.470745] PCI: CLS 32 bytes, default 32
[   20.560338] NetWinder Floating Point Emulator V0.97 (double precision)
[   20.560450] gpio-usb-probe-4b err=0
[   20.560461] gpio-usb gpio-usb: USB GPIO's initialized
[   20.561565] futex hash table entries: 256 (order: -1, 3072 bytes)
[   20.623146] VFS: Disk quotas dquot_6.5.2
[   20.623186] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   20.623502] NFS: Registering the id_resolver key type
[   20.623538] Key type id_resolver registered
[   20.623544] Key type id_legacy registered
[   20.623555] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   20.623565] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   20.623628] NTFS driver 2.1.30 [Flags: R/W].
[   20.623649] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   20.623751] fuse init (API version 7.22)
[   20.624238] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[   20.624529] msgmni has been set to 488
[   20.625277] async_tx: api initialized (async)
[   20.625421] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   20.625430] io scheduler noop registered
[   20.625435] io scheduler deadline registered
[   20.625450] io scheduler cfq registered (default)
[   20.625743] mv_xor mv_xor.0: Marvell shared XOR driver
[   20.664041] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   20.704036] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   20.704215] mv_xor mv_xor.1: Marvell shared XOR driver
[   20.744036] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   20.784033] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   20.788087] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   20.808811] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   21.483359] console [ttyS0] enabled
[   21.507192] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34, base_baud = 12500000) is a 16550A
[   21.522269] brd: module loaded
[   21.528659] loop: module loaded
[   21.532024] Uniform Multi-Platform E-IDE driver
[   21.536999] ide-gd driver 1.18
[   21.540880] ahci 0000:00:01.0: version 3.0
[   21.540900] PCI: enabling device 0000:00:01.0 (0146 -> 0147)
[   21.546830] ahci 0000:00:01.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
[   21.555038] ahci 0000:00:01.0: flags: 64bit ncq pm led clo pmp pio slum part
[   21.563150] scsi0 : ahci
[   21.566073] ata1: SATA max UDMA/133 abar m512@0xe0010000 port 0xe0010100 irq 9
[   21.573748] sata_mv sata_mv.0: version 1.28
[   21.573799] sata_mv sata_mv.0: cannot get optional clkdev
[   21.579366] sata_mv sata_mv.0: slots 32 ports 2
[   21.586015] scsi1 : sata_mv
[   21.589186] scsi2 : sata_mv
[   21.592269] ata2: SATA max UDMA/133 irq 21
[   21.596438] ata3: SATA max UDMA/133 irq 21
[   21.602048] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[   21.608479] nand: Micron MT29F2G08ABAEAWP
[   21.612507] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[   21.618291] Scanning device for bad blocks
[   21.773572] Creating 3 MTD partitions on "orion_nand":
[   21.778750] 0x000000000000-0x000000100000 : "u-boot"
[   21.784520] 0x000000100000-0x000001100000 : "uImage"
[   21.790225] 0x000001100000-0x000010000000 : "root"
[   21.797220] tun: Universal TUN/TAP device driver, 1.6
[   21.802288] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   21.808725] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   21.816925] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   21.831786] libphy: orion_mdio_bus: probed
[   21.836075] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   21.845668] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:94:f7:c7
[   21.854564] PPP generic driver version 2.4.2
[   21.859071] PPP Deflate Compression module registered
[   21.864210] PPP MPPE Compression module registered
[   21.869022] NET: Registered protocol family 24
[   21.873617] usbcore: registered new interface driver rtl8187
[   21.879349] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   21.886909] usbcore: registered new interface driver pegasus
[   21.892723] usbcore: registered new interface driver asix
[   21.898262] usbcore: registered new interface driver ax88179_178a
[   21.904543] usbcore: registered new interface driver cdc_ether
[   21.910515] usbcore: registered new interface driver net1080
[   21.916241] ata1: SATA link down (SStatus 0 SControl 300)
[   21.921802] usbcore: registered new interface driver cdc_subset
[   21.927891] usbcore: registered new interface driver zaurus
[   21.933628] usbcore: registered new interface driver ipheth
[   21.939405] usbcore: registered new interface driver cdc_ncm
[   21.945124] ata2: SATA link down (SStatus 0 SControl F300)
[   21.951379] aoe: cannot create debugfs directory
[   21.956145] aoe: AoE v85 initialised.
[   21.960370] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   21.966457] i2c /dev entries driver
[   21.971345] rtc-ds1307 0-0068: SET TIME!
[   21.977001] rtc-ds1307 0-0068: rtc core: registered ds1337 as rtc1
[   21.995456] gpio-fan gpio-fan: GPIO fan initialized
[   22.001685] md: linear personality registered for level -1
[   22.007254] md: raid0 personality registered for level 0
[   22.012589] md: raid1 personality registered for level 1
[   22.017966] md: raid10 personality registered for level 10
[   22.023578] md: raid6 personality registered for level 6
[   22.028940] md: raid5 personality registered for level 5
[   22.034283] md: raid4 personality registered for level 4
[   22.039769] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[   22.048409] device-mapper: multipath: version 1.6.0 loaded
[   22.053913] device-mapper: multipath round-robin: version 1.0.0 loaded
[   22.060489] device-mapper: multipath queue-length: version 0.1.0 loaded
[   22.067148] device-mapper: multipath service-time: version 0.2.0 loaded
[   22.073832] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   22.079967] device-mapper: raid: Loading target version 1.5.2
[   22.087040] ipip: IPv4 over IPv4 tunneling driver
[   22.092321] TCP: cubic registered
[   22.095729] NET: Registered protocol family 10
[   22.100782] sit: IPv6 over IPv4 tunneling driver
[   22.106058] NET: Registered protocol family 17
[   22.110705] NET: Registered protocol family 5
[   22.115231] 8021q: 802.1Q VLAN Support v1.8
[   22.119450] NET: Registered protocol family 37
[   22.123934] Key type dns_resolver registered
[   22.129177] netpoll: netconsole: local port 6666
[   22.133816] netpoll: netconsole: local IPv4 address 10.0.0.252
[   22.139719] netpoll: netconsole: interface 'eth0'
[   22.144462] netpoll: netconsole: remote port 6666
[   22.149179] netpoll: netconsole: remote IPv4 address 10.0.0.108
[   22.155164] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[   22.162068] netpoll: netconsole: device eth0 not up yet, forcing it
[   22.170825] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.314021] ata3: SATA link down (SStatus 0 SControl F300)
[   24.573273] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   24.583172] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.591284] console [netcon0] enabled
[   24.595008] netconsole: network logging started
[   24.599904] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   24.606962] rtc-mv rtc-mv: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[   24.621045] Freeing unused kernel memory: 1932K (c0766000 - c0949000)
[   28.697117] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   28.707133] ehci-orion: EHCI orion driver
[   28.711473] orion-ehci orion-ehci.0: EHCI Host Controller
[   28.717799] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   28.725531] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   28.744023] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   28.750071] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   28.756912] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   28.764188] usb usb1: Product: EHCI Host Controller
[   28.769093] usb usb1: Manufacturer: Linux 3.14.2 ehci_hcd
[   28.774538] usb usb1: SerialNumber: orion-ehci.0
[   28.779673] hub 1-0:1.0: USB hub found
[   28.783490] hub 1-0:1.0: 1 port detected
[   28.792173] usbcore: registered new interface driver usb-storage
root@fvdw-sta-kirkwood:/ #



id love to help u more
panda88
 
Posts: 48
Joined: Sun Dec 10, 2017 9:08 pm
Location: Italy

Re: 2big NAS

Postby fvdw » Sat Jan 06, 2018 11:10 pm

mmm.. pity that scsi command don't bring any info
at least this is positive
Code: Select all
Marvell>> pci
pci
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x11ab     0x6282     Memory controller       0x80
00.01.00   0x197b     0x2360     Mass storage controller 0x06


It at least found a disk controller

ps this output concerns the ethernet port
Code: Select all
PHY 0 :
---------
Auto negotiation: Enabled
Speed: 1000 Mbps
Duplex: Full
Link: up

and confirms that we need to use Phy 0 for this interface (and not 8 as on other lacie kirkwood boards like older 2big_v2)

could you try to put in one of the original disk in slot 1 or 2 start uboot console and give this command
Code: Select all
run legacy_disk_boot

or if that doesn't work just
Code: Select all
legacy_disk_boot

and see if it scans for disk and partitions

In the meantime I will try to see if I can get the hdd power control driver of lacie in our kernel
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby panda88 » Sat Jan 06, 2018 11:50 pm

fvdw wrote:could you try to put in one of the original disk in slot 1 or 2 start uboot console and give this command
Code: Select all
run legacy_disk_boot

or if that doesn't work just
Code: Select all
legacy_disk_boot

and see if it scans for disk and partitions

In the meantime I will try to see if I can get the hdd power control driver of lacie in our kernel


Shall I have to doc this test even with the “original” disk os not original anymore?
It doesn’t have any partition table inside...
panda88
 
Posts: 48
Joined: Sun Dec 10, 2017 9:08 pm
Location: Italy

Re: 2big NAS

Postby fvdw » Sun Jan 07, 2018 12:01 am

yes you could do it even with a disk without partition table, it should mention something like bad partition , it would indicate that it access the disk and tries to read partiton table

ps I manged to incorporate the hd power driver of lacie GPL, attched a new standalone kernel, lets see if this does the magic. However I do not know if this driver works in our kernel. The kernel might refuse to boot...lets see

If it runs it will also create a structure in the kernel which we can access from userland to fiddle around with hd power control pins

---edit file removed, this kernel will not run need to do some adaptations
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby panda88 » Sun Jan 07, 2018 10:02 pm

fvdw wrote:yes you could do it even with a disk without partition table, it should mention something like bad partition , it would indicate that it access the disk and tries to read partiton table

ps I manged to incorporate the hd power driver of lacie GPL, attched a new standalone kernel, lets see if this does the magic. However I do not know if this driver works in our kernel. The kernel might refuse to boot...lets see

If it runs it will also create a structure in the kernel which we can access from userland to fiddle around with hd power control pins

---edit file removed, this kernel will not run need to do some adaptations



waiting ur next kernel, i made the test:

Code: Select all
Marvell>> run legacy_disk_boot
run legacy_disk_boot
Booting legacy layout...

** Device 0 not available

** Device 1 not available

** Device 0 not available

** Device 1 not available
Marvell>> legacy_disk_boot
legacy_disk_boot
Unknown command 'legacy_disk_boot' - try 'help'
Marvell>>
panda88
 
Posts: 48
Joined: Sun Dec 10, 2017 9:08 pm
Location: Italy

Re: 2big NAS

Postby fvdw » Sun Jan 07, 2018 10:48 pm

ok

this is not a good sign, I assume you had at least one (good) disk in:
Code: Select all
Marvell>> run legacy_disk_boot
run legacy_disk_boot
Booting legacy layout...

** Device 0 not available

** Device 1 not available

** Device 0 not available

** Device 1 not available
Marvell>>

It means uboot cannot detect the disk, I am afraid the short circuit on your disk has damaged something

Did you try with only 1 disk in lefthand slot and then repeat with only one disk in righthand slot ?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2big NAS

Postby panda88 » Sun Jan 07, 2018 10:55 pm

I already opened the box and I haven’t seen anything bad. Also it doesn’t smell like smoke.
I was having just one slot filled: the first one with a wd sata disk.

I am gonna make a second test tomorrow with both filled or just second slot filled.
It’s really strange that it has broken something...

I have quite experience with those kind of damages and, idk, it doesn’t look like it.

Can’t we investigate further?

Do you want me to send you physically the damaged empty nas ?!
panda88
 
Posts: 48
Joined: Sun Dec 10, 2017 9:08 pm
Location: Italy

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests