Networkspace 2 not working - understand what fvdw-sl can do

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby Jocko » Tue Jun 07, 2016 9:43 pm

Hummm

I reread all the topic, and we did not begin by the beginning...

- check the partition table
after rebooting post the following outputs
Code: Select all
dmesg
cat /proc/partitions
fdisk -l /dev/sda
gdisk -l /dev/sda
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby schlum » Tue Jun 07, 2016 9:45 pm

you mean it disappeared in this session, but there is a way it can appear again in a new session, or it is gone forever ?

In case it is the first case, shall I shutdown the console, power the NAS off and re do everything just as I did in the last hour, hoping that xfs_repair can work this time (I assume no need to try to mount again sda2, right ?)

thanks Jocko, sorry for being a pain.
schlum
 
Posts: 19
Joined: Thu Jun 02, 2016 4:42 pm

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby Jocko » Tue Jun 07, 2016 9:48 pm

Your last output is not good and indeed we have the 2 cases

Fisrt case, kernel is hanged (by xfs_repair error) and so you need to stop the NAS and do again the action "load a standalone kernel"
2d case, your disk is dead (or you lost the partition table ....) :cry:
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby schlum » Tue Jun 07, 2016 9:53 pm

ok, I will try what you say. Any way to make a proper shutdown ? or shall I just push the power button until it shuts down ?

when I run the shutdown command in terminal, it says
-sh shutdown not found
schlum
 
Posts: 19
Joined: Thu Jun 02, 2016 4:42 pm

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby Jocko » Tue Jun 07, 2016 9:56 pm

There is only a reboot command but we do not do that.

So just unplug the power supply
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby schlum » Tue Jun 07, 2016 10:00 pm

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) ) #150 PREEMPT Wed Feb 3 23:57:50 CET 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie Network Space v2
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0971e20, 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@192.168.1.252/,6666@192.168.1.109/
[    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: 249952K/262144K available (5904K kernel code, 217K rwdata, 1576K rodata, 1932K init, 232K bss, 12192K 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 - 0xc0756418   (7482 kB)
[    0.000000]       .init : 0xc0757000 - 0xc093a0c4   (1933 kB)
[    0.000000]       .data : 0xc093c000 - 0xc0972680   ( 218 kB)
[    0.000000]        .bss : 0xc097268c - 0xc09ac88c   ( 233 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[   24.538187] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[   24.628126] pid_max: default: 32768 minimum: 301
[   24.628329] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   24.628355] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   24.629221] CPU: Testing write buffer coherency: ok
[   24.629738] Setting up static identity map for 0x59c360 - 0x59c3b8
[   24.633877] VFP support v0.3: not present
[   24.634729] xor: measuring software checksum speed
[   24.728193]    arm4regs  :   725.600 MB/sec
[   24.828127]    8regs     :   436.000 MB/sec
[   24.928115]    32regs    :   584.000 MB/sec
[   24.928139] xor: using function: arm4regs (725.600 MB/sec)
[   24.928164] pinctrl core: initialized pinctrl subsystem
[   24.928350] NET: Registered protocol family 16
[   24.928975] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   24.933373] Kirkwood: MV88F6281-A0, TCLK=166666667.
[   24.933413] Feroceon L2: Enabling L2
[   24.933465] Feroceon L2: Cache support initialised.
[   24.935027] mv_usb_init 1
[   24.935054] mv_usb_init 2 devnum = 0
[   24.935071] init function mv_usb_init finished
[   24.935083] initial MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
[   24.935126]   final MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
[   24.935376]  orion-ehci registered
[   24.973009] bio: create slab <bio-0> at 0
[   25.139094] raid6: int32x1     69 MB/s
[   25.308164] raid6: int32x2     88 MB/s
[   25.478454] raid6: int32x4     83 MB/s
[   25.648599] raid6: int32x8     87 MB/s
[   25.648613] raid6: using algorithm int32x2 (88 MB/s)
[   25.648625] raid6: using intx1 recovery algorithm
[   25.649822] SCSI subsystem initialized
[   25.650457] libata version 3.00 loaded.
[   25.651664] usbcore: registered new interface driver usbfs
[   25.651909] usbcore: registered new interface driver hub
[   25.652178] usbcore: registered new device driver usb
[   25.655739] cfg80211: Calling CRDA to update world regulatory domain
[   25.656095] Switched to clocksource orion_clocksource
[   25.659407] NET: Registered protocol family 2
[   25.660110] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   25.660165] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   25.660209] TCP: Hash tables configured (established 2048 bind 2048)
[   25.660301] TCP: reno registered
[   25.660319] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   25.660352] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   25.660652] NET: Registered protocol family 1
[   25.661045] RPC: Registered named UNIX socket transport module.
[   25.661060] RPC: Registered udp transport module.
[   25.661071] RPC: Registered tcp transport module.
[   25.661081] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   25.661096] PCI: CLS 0 bytes, default 32
[   25.877550] NetWinder Floating Point Emulator V0.97 (double precision)
[   25.877782] gpio-usb-probe-4b err=0
[   25.877806] gpio-usb gpio-usb: USB GPIO's initialized
[   25.880008] futex hash table entries: 256 (order: -1, 3072 bytes)
[   26.030453] VFS: Disk quotas dquot_6.5.2
[   26.030528] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   26.031169] NFS: Registering the id_resolver key type
[   26.031286] Key type id_resolver registered
[   26.031299] Key type id_legacy registered
[   26.031324] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   26.031344] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   26.031489] NTFS driver 2.1.30 [Flags: R/W].
[   26.031539] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   26.031762] fuse init (API version 7.22)
[   26.032621] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[   26.033205] msgmni has been set to 488
[   26.034803] async_tx: api initialized (async)
[   26.035078] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   26.035096] io scheduler noop registered
[   26.035107] io scheduler deadline registered
[   26.035135] io scheduler cfq registered (default)
[   26.035658] mv_xor mv_xor.0: Marvell shared XOR driver
[   26.068261] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   26.108145] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   26.108500] mv_xor mv_xor.1: Marvell shared XOR driver
[   26.148143] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   26.188144] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   26.196424] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   26.217983] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   26.765576] console [ttyS0] enabled
[   26.782663] brd: module loaded
[   26.792470] loop: module loaded
[   26.797975] sata_mv sata_mv.0: version 1.28
[   26.798133] sata_mv sata_mv.0: cannot get optional clkdev
[   26.803638] sata_mv sata_mv.0: slots 32 ports 2
[   26.812605] scsi0 : sata_mv
[   26.816226] scsi1 : sata_mv
[   26.820208] ata1: SATA max UDMA/133 irq 21
[   26.824298] ata2: SATA max UDMA/133 irq 21
[   26.832176] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   26.837202] Creating 2 MTD partitions on "spi_flash":
[   26.842355] 0x000000000000-0x00000007d000 : "u-boot"
[   26.849163] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   26.858464] tun: Universal TUN/TAP device driver, 1.6
[   26.863502] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   26.869984] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   26.878764] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   26.895088] libphy: orion_mdio_bus: probed
[   26.899520] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   27.976555] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:90:e4:7c
[   27.985468] PPP generic driver version 2.4.2
[   27.990215] PPP Deflate Compression module registered
[   27.995261] PPP MPPE Compression module registered
[   28.000121] NET: Registered protocol family 24
[   28.004806] usbcore: registered new interface driver rtl8187
[   28.010584] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   28.018205] usbcore: registered new interface driver pegasus
[   28.024121] usbcore: registered new interface driver asix
[   28.029743] usbcore: registered new interface driver ax88179_178a
[   28.036059] usbcore: registered new interface driver cdc_ether
[   28.042110] usbcore: registered new interface driver net1080
[   28.047981] usbcore: registered new interface driver cdc_subset
[   28.054166] usbcore: registered new interface driver zaurus
[   28.060071] usbcore: registered new interface driver ipheth
[   28.065888] usbcore: registered new interface driver cdc_ncm
[   28.072924] aoe: cannot create debugfs directory
[   28.077725] aoe: AoE v85 initialised.
[   28.082481] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   28.088650] i2c /dev entries driver
[   28.093511] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[   28.103247] md: linear personality registered for level -1
[   28.108819] md: raid0 personality registered for level 0
[   28.114109] md: raid1 personality registered for level 1
[   28.119505] md: raid10 personality registered for level 10
[   28.125174] md: raid6 personality registered for level 6
[   28.130521] md: raid5 personality registered for level 5
[   28.135811] md: raid4 personality registered for level 4
[   28.141410] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[   28.150164] device-mapper: multipath: version 1.6.0 loaded
[   28.155635] device-mapper: multipath round-robin: version 1.0.0 loaded
[   28.162190] device-mapper: multipath queue-length: version 0.1.0 loaded
[   28.168807] device-mapper: multipath service-time: version 0.2.0 loaded
[   28.175476] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   28.181591] device-mapper: raid: Loading target version 1.5.2
[   28.190632] ipip: IPv4 over IPv4 tunneling driver
[   28.196441] TCP: cubic registered
[   28.199911] NET: Registered protocol family 10
[   28.205533] sit: IPv6 over IPv4 tunneling driver
[   28.211474] NET: Registered protocol family 17
[   28.216269] NET: Registered protocol family 5
[   28.220945] 8021q: 802.1Q VLAN Support v1.8
[   28.225164] NET: Registered protocol family 37
[   28.229750] Key type dns_resolver registered
[   28.235597] netpoll: netconsole: local port 6666
[   28.240306] netpoll: netconsole: local IPv4 address 192.168.1.252
[   28.246377] netpoll: netconsole: interface 'eth0'
[   28.251102] netpoll: netconsole: remote port 6666
[   28.255787] netpoll: netconsole: remote IPv4 address 192.168.1.109
[   28.262035] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[   28.268922] netpoll: netconsole: device eth0 not up yet, forcing it
[   29.345248] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   31.003334] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   31.013096] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.023451] console [netcon0] enabled
[   31.027137] netconsole: network logging started
[   31.032444] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   31.039795] rtc-mv rtc-mv: setting system clock to 2016-06-07 21:23:42 UTC (1465334622)
[   32.378094] ata1: link is slow to respond, please be patient (ready=0)
[   36.878091] ata1: SRST failed (errno=-16)
[   37.388105] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   37.428140] ata1.00: ATA-8: ST2000DL001-9VT156, CC41, max UDMA/133
[   37.434327] ata1.00: 3907029168 sectors, multi 0: LBA48
[   37.498147] ata1.00: configured for UDMA/133
[   37.518527] scsi 0:0:0:0: Direct-Access     ATA      ST2000DL001-9VT1 CC41 PQ: 0 ANSI: 5
[   37.527484] fvdw1 disk index before get_sd_name = 0
[   37.532452] No LaCie disk map available
[   37.536327] fvdw2 disk index after get_sd_name = 0
[   37.541201] fvdw3 prefix[0]=s  prefix[1]=d
[   37.545320] fvdw4 diskname = sda
[   37.549367] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   37.557137] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   37.562998] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   37.569291] sd 0:0:0:0: [sda] Write Protect is off
[   37.574112] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   37.574265] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   37.658266]  sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
[   37.668266] sd 0:0:0:0: [sda] Attached SCSI disk
[   37.918109] ata2: SATA link down (SStatus 0 SControl F300)
[   37.946206] Freeing unused kernel memory: 1932K (c0757000 - c093a000)
[   42.075780] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   42.087962] ehci-orion: EHCI orion driver
[   42.092297] orion-ehci orion-ehci.0: EHCI Host Controller
[   42.097795] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   42.105670] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   42.128116] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   42.134258] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   42.141107] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   42.148374] usb usb1: Product: EHCI Host Controller
[   42.153282] usb usb1: Manufacturer: Linux 3.14.2 ehci_hcd
[   42.158732] usb usb1: SerialNumber: orion-ehci.0
[   42.164414] hub 1-0:1.0: USB hub found
[   42.168289] hub 1-0:1.0: 1 port detected
[   42.182311] usbcore: registered new interface driver usb-storage
root@fvdw-sta-kirkwood:/ # cat /proc/partitions
major minor  #blocks  name

  31        0        500 mtdblock0
  31        1          4 mtdblock1
   8        0 1953514584 sda
   8        1          1 sda1
   8        2 1951503907 sda2
   8        5     256977 sda5
   8        6       8001 sda6
   8        7       8001 sda7
   8        8     851413 sda8
   8        9     875511 sda9
   8       10       8001 sda10
root@fvdw-sta-kirkwood:/ # fdisk -l /dev/sda

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1         250     2008093+  5 Extended
/dev/sda2             251      243201  1951503907+ 83 Linux
/dev/sda5               1          32      256977  82 Linux swap
/dev/sda6              33          33        8001  83 Linux
/dev/sda7              34          34        8001  83 Linux
/dev/sda8              35         140      851413+ 83 Linux
/dev/sda9             141         249      875511  83 Linux
/dev/sda10            250         250        8001  83 Linux
root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 5477 sectors (2.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4016250      3907024064   1.8 TiB     8300  Linux filesystem
   5             126          514079   251.0 MiB   8200  Linux swap
   6          514143          530144   7.8 MiB     8300  Linux filesystem
   7          530208          546209   7.8 MiB     8300  Linux filesystem
   8          546273         2249099   831.5 MiB   8300  Linux filesystem
   9         2249163         4000184   855.0 MiB   8300  Linux filesystem
  10         4000248         4016249   7.8 MiB     8300  Linux filesystem
schlum
 
Posts: 19
Joined: Thu Jun 02, 2016 4:42 pm

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby Jocko » Tue Jun 07, 2016 10:03 pm

:-D It was only a xfs_repair issue....

So try again to add sda5 as swap partition.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby schlum » Tue Jun 07, 2016 10:13 pm

ouffffffff

same I/O error... after a while (one minute) with the cursor blinking.

root@fvdw-sta-kirkwood:/ # swapon /dev/sda5
swapon: /dev/sda5: Input/output error
root@fvdw-sta-kirkwood:/ #
root@fvdw-sta-kirkwood:/ # free
total used free shared buffers
Mem: 251884 8432 243452 0 0
-/+ buffers: 8432 243452
Swap: 0 0 0
schlum
 
Posts: 19
Joined: Thu Jun 02, 2016 4:42 pm

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby Jocko » Tue Jun 07, 2016 10:15 pm

try again but after doing it
Code: Select all
mkswap /dev/sda5
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Networkspace 2 not working - understand what fvdw-sl can

Postby schlum » Tue Jun 07, 2016 10:19 pm

mkswap works, but same error.

Code: Select all
root@fvdw-sta-kirkwood:/ # mkswap /dev/sda5
Setting up swapspace version 1, size = 263140352 bytes
UUID=cad7dbad-a041-4d10-a4a4-d9a5293b7abe
mkswap: short write
root@fvdw-sta-kirkwood:/ # swapon /dev/sda5
swapon: /dev/sda5: Input/output error
root@fvdw-sta-kirkwood:/ # free
             total         used         free       shared      buffers
Mem:        251884         8316       243568            0            0
-/+ buffers:               8316       243568
Swap:            0            0            0
schlum
 
Posts: 19
Joined: Thu Jun 02, 2016 4:42 pm

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 2 guests