linux-kirkwood-dt-5.1.3-1 booting NFS, swapfile not seen

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

linux-kirkwood-dt-5.1.3-1 booting NFS, swapfile not seen

Postby Sagittarius » Thu May 23, 2019 1:56 pm

My dockstars are booting via NFS and it works great since years.
They have a specific entry in their fstab file: /swapfile none swap defaults 0 0
The /swapfile was made with dd if=/dev/zero of=/swapfile bs=4M count=96 conv=sync,noerror and then mkswap -c -L swapfile /swapfile and then chmod 0600 /swapfile

From kernel linux-kirkwood-dt-5.0.11-1 to linux-kirkwood-dt-5.1.3-1, my dockstars stopped working properly.
The swapfile can't be seen anymore by the kernel despite the fstab entry.

So I had to return to kernel kirkwood-dt-5.0.11-1.
Any idea why ?
4 x Dockstar - 2 x GoFlexNet booting on NFS - 1 x Odroid C1+ - 1 x Odroid C2
Sagittarius
 
Posts: 50
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: linux-kirkwood-dt-5.1.3-1 booting NFS, swapfile not seen

Postby Sagittarius » Mon Jun 10, 2019 12:16 pm

For information, my booting via nfs Dockstar still does not see the swapfile with latest linux-kirkwood-dt v5.1.8-1

fstab specifies /swapfile as as swap space: /swapfile none swap defaults 0 0

/etc/mkinitcpio.conf has: HOOKS=(base udev autodetect modconf block filesystems keyboard)

Only when the /swapfile is erased, I have accesss via ssh to the Dockstar
And then only, I can recreate the swapfile, format it and swap it on with swapon.

But if I reboot with this configuration with the new kernel, I don't have access anymore to the Dockstar.
4 x Dockstar - 2 x GoFlexNet booting on NFS - 1 x Odroid C1+ - 1 x Odroid C2
Sagittarius
 
Posts: 50
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: linux-kirkwood-dt-5.1.3-1 booting NFS, swapfile not seen

Postby moonman » Mon Jun 10, 2019 9:32 pm

It would be helpful to see a boot log (serial or netconsole). It obviously breaks somewhere during boot, but the question is where?
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3150
Joined: Sat Jan 15, 2011 3:36 am

Re: linux-kirkwood-dt-5.1.3-1 booting NFS, swapfile not seen

Postby freddrich » Sat Aug 10, 2019 4:33 pm

I am not getting what the solution to this problem is.
freddrich
 
Posts: 1
Joined: Sat Aug 10, 2019 4:27 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest