Cannot install fvdw-sl. Tried both GPT and DOS partition

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:59 pm

if tftpboot is not present try this after ide reset has completed

Code: Select all
diskboot 0x800000 0:6

when marvell>> prompt is back
Code: Select all
bootm
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 10:02 pm

Sorry, it wasn't that - it was the filename that was incorrect.

The file I have from the Kirkwood-folder is called "UIMAGE-3142-NWSP2CL-14". Loading that returns:

Code: Select all
Marvell>> tftpboot 0x800000 UIMAGE-3142-NWSP2CL-14
tftpboot 0x800000 UIMAGE-3142-NWSP2CL-14
Using egiga0 device
TFTP from server 192.168.1.201; our IP address is 192.168.1.252
Filename 'UIMAGE-3142-NWSP2CL-14'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
done
Bytes transferred = 4835944 (49ca68 hex)
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:04 pm

ok that looks good now give command
Code: Select all
bootm
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 10:15 pm

It seems to hang, when trying to start the kernel?

Code: Select all
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/ root=/dev/sda7
Marvell>> tftpboot 0x800000 UIMAGE-3142-NWSP2CL-14
tftpboot 0x800000 UIMAGE-3142-NWSP2CL-14
Using egiga0 device
TFTP from server 192.168.1.201; our IP address is 192.168.1.252
Filename 'UIMAGE-3142-NWSP2CL-14'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
done
Bytes transferred = 4835944 (49ca68 hex)

Marvell>> bootm
bootm
## Booting image at 00800000 ...
   Image Name:   Linux-3.14.2
   Created:      2016-01-17  19:41:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4835880 Bytes =  4.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : console=ttyS0,115200 netconsole=6666@192.1
68.1.252/,6666@192.168.1.201/ root=/dev/sda7 cap=gpt,lba64

Starting kernel ...

mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:18 pm

so no output anymore after starting kernel..?

That means the kernel encountered a problem.

Please load again the standalone kernel connect with telnet and type the command
Code: Select all
dmesg
and post the output
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 10:23 pm

No it was stuck at loading the kernel.

Again, from the standalone kernel:

Code: Select all
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=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: familybox
[    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.201/ 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: 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.000011] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[    8.111146] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    8.201109] pid_max: default: 32768 minimum: 301
[    8.201254] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    8.201274] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    8.201859] CPU: Testing write buffer coherency: ok
[    8.202206] Setting up static identity map for 0x59c360 - 0x59c3b8
[    8.205087] VFP support v0.3: not present
[    8.205654] xor: measuring software checksum speed
[    8.301147]    arm4regs  :   908.000 MB/sec
[    8.401107]    8regs     :   545.600 MB/sec
[    8.501096]    32regs    :   755.200 MB/sec
[    8.501112] xor: using function: arm4regs (908.000 MB/sec)
[    8.501128] pinctrl core: initialized pinctrl subsystem
[    8.501254] NET: Registered protocol family 16
[    8.501653] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    8.504579] Kirkwood: MV88F6281-A1, TCLK=166666667.
[    8.504606] Feroceon L2: Enabling L2
[    8.504645] Feroceon L2: Cache support initialised.
[    8.505781] familybox, skipping usb init
[    8.505791] initial MPP regs: 01002222 00003311 00000000 00000000 00000000 00000000 00000000
[    8.505824]   final MPP regs: 01002222 00003311 00000000 00000000 00000000 00000000 00000000
[    8.532536] bio: create slab <bio-0> at 0
[    8.702139] raid6: int32x1     86 MB/s
[    8.871414] raid6: int32x2    110 MB/s
[    9.041553] raid6: int32x4    104 MB/s
[    9.211574] raid6: int32x8    109 MB/s
[    9.211585] raid6: using algorithm int32x2 (110 MB/s)
[    9.211594] raid6: using intx1 recovery algorithm
[    9.212507] SCSI subsystem initialized
[    9.212980] libata version 3.00 loaded.
[    9.213883] usbcore: registered new interface driver usbfs
[    9.214064] usbcore: registered new interface driver hub
[    9.214265] usbcore: registered new device driver usb
[    9.216896] cfg80211: Calling CRDA to update world regulatory domain
[    9.217181] Switched to clocksource orion_clocksource
[    9.219576] NET: Registered protocol family 2
[    9.220096] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    9.220138] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    9.220171] TCP: Hash tables configured (established 2048 bind 2048)
[    9.220235] TCP: reno registered
[    9.220249] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.220272] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.220473] NET: Registered protocol family 1
[    9.220765] RPC: Registered named UNIX socket transport module.
[    9.220776] RPC: Registered udp transport module.
[    9.220784] RPC: Registered tcp transport module.
[    9.220792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.220803] PCI: CLS 0 bytes, default 32
[    9.388813] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.390397] futex hash table entries: 256 (order: -1, 3072 bytes)
[    9.510423] VFS: Disk quotas dquot_6.5.2
[    9.510477] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    9.510951] NFS: Registering the id_resolver key type
[    9.511014] Key type id_resolver registered
[    9.511025] Key type id_legacy registered
[    9.511044] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.511087] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.511195] NTFS driver 2.1.30 [Flags: R/W].
[    9.511232] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.511395] fuse init (API version 7.22)
[    9.512002] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[    9.512436] msgmni has been set to 488
[    9.513611] async_tx: api initialized (async)
[    9.513812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    9.513825] io scheduler noop registered
[    9.513834] io scheduler deadline registered
[    9.513855] io scheduler cfq registered (default)
[    9.514243] mv_xor mv_xor.0: Marvell shared XOR driver
[    9.551200] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    9.591116] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    9.591383] mv_xor mv_xor.1: Marvell shared XOR driver
[    9.631116] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    9.671116] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    9.677211] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.698368] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   10.227335] console [ttyS0] enabled
[   10.240820] brd: module loaded
[   10.248796] loop: module loaded
[   10.253731] sata_mv sata_mv.0: version 1.28
[   10.253781] sata_mv sata_mv.0: cannot get optional clkdev
[   10.259221] sata_mv sata_mv.0: slots 32 ports 1
[   10.265834] scsi0 : sata_mv
[   10.269084] ata1: SATA max UDMA/133 irq 21
[   10.275906] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   10.280864] Creating 2 MTD partitions on "spi_flash":
[   10.286010] 0x000000000000-0x00000007d000 : "u-boot"
[   10.292343] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   10.300615] tun: Universal TUN/TAP device driver, 1.6
[   10.305713] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   10.312207] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   10.320491] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   10.336653] libphy: orion_mdio_bus: probed
[   10.340905] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   10.351286] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:94:68:30
[   10.360120] PPP generic driver version 2.4.2
[   10.364720] PPP Deflate Compression module registered
[   10.369755] PPP MPPE Compression module registered
[   10.374622] NET: Registered protocol family 24
[   10.379237] usbcore: registered new interface driver rtl8187
[   10.384957] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   10.392488] usbcore: registered new interface driver pegasus
[   10.398326] usbcore: registered new interface driver asix
[   10.403875] usbcore: registered new interface driver ax88179_178a
[   10.410114] usbcore: registered new interface driver cdc_ether
[   10.416092] usbcore: registered new interface driver net1080
[   10.421961] usbcore: registered new interface driver cdc_subset
[   10.428032] usbcore: registered new interface driver zaurus
[   10.433783] usbcore: registered new interface driver ipheth
[   10.439535] usbcore: registered new interface driver cdc_ncm
[   10.446193] aoe: cannot create debugfs directory
[   10.450934] aoe: AoE v85 initialised.
[   10.455429] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   10.461486] i2c /dev entries driver
[   10.465823] md: linear personality registered for level -1
[   10.471378] md: raid0 personality registered for level 0
[   10.476664] md: raid1 personality registered for level 1
[   10.482032] md: raid10 personality registered for level 10
[   10.487637] md: raid6 personality registered for level 6
[   10.492972] md: raid5 personality registered for level 5
[   10.498255] md: raid4 personality registered for level 4
[   10.503795] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[   10.512462] device-mapper: multipath: version 1.6.0 loaded
[   10.517921] device-mapper: multipath round-robin: version 1.0.0 loaded
[   10.524466] device-mapper: multipath queue-length: version 0.1.0 loaded
[   10.531092] device-mapper: multipath service-time: version 0.2.0 loaded
[   10.537732] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   10.543833] device-mapper: raid: Loading target version 1.5.2
[   10.552143] ipip: IPv4 over IPv4 tunneling driver
[   10.557619] TCP: cubic registered
[   10.560976] NET: Registered protocol family 10
[   10.566367] sit: IPv6 over IPv4 tunneling driver
[   10.571928] NET: Registered protocol family 17
[   10.576620] NET: Registered protocol family 5
[   10.581049] 8021q: 802.1Q VLAN Support v1.8
[   10.585408] NET: Registered protocol family 37
[   10.589880] Key type dns_resolver registered
[   10.595492] netpoll: netconsole: local port 6666
[   10.600089] netpoll: netconsole: local IPv4 address 192.168.1.252
[   10.606226] netpoll: netconsole: interface 'eth0'
[   10.610913] netpoll: netconsole: remote port 6666
[   10.615627] netpoll: netconsole: remote IPv4 address 192.168.1.201
[   10.621915] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[   10.628757] netpoll: netconsole: device eth0 not up yet, forcing it
[   10.638006] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.918007] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   13.927835] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.936797] console [netcon0] enabled
[   13.940453] netconsole: network logging started
[   13.945509] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   13.952668] rtc-mv rtc-mv: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[   15.821080] ata1: link is slow to respond, please be patient (ready=0)
[   20.321077] ata1: SRST failed (errno=-16)
[   25.871078] ata1: link is slow to respond, please be patient (ready=0)
[   30.371080] ata1: SRST failed (errno=-16)
[   35.921080] ata1: link is slow to respond, please be patient (ready=0)
[   55.661100] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   55.701130] ata1.00: ATA-8: ST2000DM001-1CH164, CC44, max UDMA/133
[   55.707305] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   55.771135] ata1.00: configured for UDMA/133
[   55.791386] scsi 0:0:0:0: Direct-Access     ATA      ST2000DM001-1CH1 CC44 PQ: 0 ANSI: 5
[   55.800072] fvdw1 disk index before get_sd_name = 0
[   55.805011] device-name= sata_mv
[   55.808239] fvdw2 disk index after get_sd_name = 0
[   55.813071] fvdw3 prefix[0]=s  prefix[1]=d
[   55.817163] fvdw4 diskname = sda
[   55.820914] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   55.829081] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   55.834467] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   55.840217] sd 0:0:0:0: [sda] Write Protect is off
[   55.845057] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   55.845173] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   55.912587]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
[   55.921305] sd 0:0:0:0: [sda] Attached SCSI disk
[   55.931470] Freeing unused kernel memory: 1932K (c0757000 - c093a000)
[   60.031704] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   60.042128] ehci-orion: EHCI orion driver
[   60.053169] usbcore: registered new interface driver usb-storage
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:28 pm

that looks perfect, let me think a minute what could be happening here
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:34 pm

Although the standalone kernel seems to recognize the disk and can access it I can only think on an issue with the disk, do you have another sata disk we could test ?
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:40 pm

if not we could try an older kernel (same procedure via u-boot console) put the kernel in the tftp directory of the console
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 10:43 pm

another idea came to my mind that the some files in the fvdw-sl console are corrupt, you mentioned having some problems with unpacking the archives

--edit if this is for instance the UIMAGE-3142-NWSP2CL-14 file then it could explain why this kernel doesn't run
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 13 guests