NEW ARMv5te RootFS with Systemd (Please Test)

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

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Fri Nov 23, 2012 9:20 pm

Another issue I found is that dhcpcd sometimes fails to start in time, especially after some services were enabled (samba?)
What I found works for me is to use netcfg with already-in-place profile wired-eth0
$this->bbcode_second_pass_code('', 'systemctl netcfg@wired-eth0.service
systemctl disable dhcp@eth0.service
reboot')

This needs to be done before enabling any other daemons as you may end up with a system that doesn't acquire an ip address.

It may take up to 10min for system to come online (don't know why) but it least it works after all.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Fri Nov 23, 2012 9:58 pm

I thought I did systemctl enable netcfg.service forthat rootfs
I have found a bug while installing arch on an eee701 laptop, netcfg starts before hardware detected. Put a sleep 5 in PRE_UP
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Fri Nov 23, 2012 10:05 pm

I never really checked, but I think when I disabled dhcp it removed a symlink. Where do I find PRE_UP?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Fri Nov 23, 2012 11:54 pm

PRE_UP is not there, add to file in /etc/network.d/
$this->bbcode_second_pass_code('', 'PRE_UP="sleep 5"
Could you think of a use for this?
POST_UP="ifconfig eth0:0 10.10.10.2 && ifconfig eth0:1 10.10.10.4"')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Sat Nov 24, 2012 8:32 am

It didn't really have any effect. Still takes 10 min to get an ip. Ifconfig... I dunno 10.10.10.4 is already being broadcast to by etconsole in the kernel, 10.10.10.2 I guess can be setup to broadcast a DHCP acquired address.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby BrianM » Fri Nov 30, 2012 11:59 am

I've now discovered that as well as breaking Automounting of external drives, this version won't mount an internal drive EXT2 partition:
$this->bbcode_second_pass_code('', 'EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities')
Oh, bugger...
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Fri Nov 30, 2012 12:34 pm

ext2 drive or ext3 drive because you are mounting it as ext3. For automounting: viewtopic.php?f=18&t=4376&start=10#p24167
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Fri Nov 30, 2012 12:41 pm

$this->bbcode_second_pass_quote('', 'E')XT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities

There is a module for ext2
There is a module for ext3
Or you can have ext4 module which (can and does, it's an option that is used) also caters for ext2 and ext3
There is nothing wrong
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby BrianM » Fri Nov 30, 2012 1:09 pm

I'm not "mounting it as EXT3" the mount command is trying to use EXT4 to mount it as EXT3 when it is EXT2
All I want to do is get my files accessible - not bothered about the broken Automount function or installing extra utils like udevil
I'll put the commands in FSTAB - I don't change things often enough to worry
If you can help me with mount switches or whatever I need, that'd be grand, thanks.
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Fri Nov 30, 2012 2:13 pm

udev-automount is broken since the switch to systemd, udevil is the new way.

Anyway,

nano /etc/fstab

and add something like this:

$this->bbcode_second_pass_quote('', '/')dev/sdX# /media/<mountpoint> ext2 noatime 0 0


where X is the drive
# is the partition number
<mountpoint> is a directory where you want it to be mounted

to find X and # you can run $this->bbcode_second_pass_code('', 'fdisk -l')

to see it worked, you can run $this->bbcode_second_pass_code('', 'mount -a')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: Google [Bot] and 7 guests