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 BrianM » Fri Nov 30, 2012 2:41 pm

$this->bbcode_second_pass_quote('moonman', 'u')dev-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
[/code]


Great, thanks for those switches Moonman.

FWIW, my perspective on the whole move to systemd is that it's fraught with difficulties for us Linux Noobies
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby WarheadsSE » Fri Nov 30, 2012 3:08 pm

You're just used to the old way, you'll pick it up in time.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby BrianM » Fri Nov 30, 2012 3:13 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'Y')ou're just used to the old way, you'll pick it up in time.


No, I don't think it's that. I'm (reasonably) good at RTFM (through long experience of those who wouldn't in the PC/DOS/Windows world).
The step-by-step instructions that were pretty good with the pre-systemd build are now out of date 'cos of the new fork. So there's effectively two builds to support.
I guess when the earlier build is deprecated and the instructions are updated accordingly to systemd, it will be OK. In the meantime we Noobies are pretty much totally reliant on your help.
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm
Top

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby BrianM » Fri Nov 30, 2012 4:22 pm

Now I'm confused. (Again!)
Fuseblk has returned and has mounted the external USB drive:
$this->bbcode_second_pass_code('', '...
/fs/fuse/connections FUSECTL fusectl Yes No
/MediaStore FUSEBLK SCSI device B partition 1 89% Yes No')
??
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 11:56 pm

make sure udev-automount is removed

pacman -R udev-automount
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 » Sat Dec 01, 2012 7:48 am

$this->bbcode_second_pass_quote('moonman', 'm')ake sure udev-automount is removed

$this->bbcode_second_pass_code('', '/dev/sda2 on /media/HD_Library type ext2 (rw,noatime,user_xattr,barrier=1) [data_partition]
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /MediaStore type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096) [HD Library]
/dev/sda2 on /root/test type ext2 (rw,relatime,user_xattr,barrier=1) [data_partition]
[root@alarm ~]# pacman -Q udev-automount
error: package 'udev-automount' was not found
[root@alarm ~]#
')
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm
Top

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Sat Dec 01, 2012 9:31 am

did you install udevil then?
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 » Sun Dec 09, 2012 10:40 am

Sorry for the delay, Moonman, no I didn't install udevil. And the FUSEBLK mounts persist. (!?)
Also now found the NMBD issue - it doesn't run by default (which it used to). This seems to be another known SYSTEMD problem, apparently.
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby moonman » Sun Dec 09, 2012 12:39 pm

What is the output of these:
$this->bbcode_second_pass_code('', 'ls /etc/udev/rules.d/
cat /etc/fstab')

I can't remember, but nmbd might have been started from the all in one "samba" rc script. They separated the two I suppose for convenience. Any other distro has those 2 separate - even optware.

EDIT: you can still check the script "nano /etc/rc.d/samba" so yes, it was the default to run two in one script.
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 » Sun Dec 09, 2012 6:28 pm

rules.d is empty

ftsab
$this->bbcode_second_pass_code('', '#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/swapfile.img none swap sw 0 0
/dev/sdb1 /MediaStore
/dev/sda2 /media/HD_Library ext2 noatime 0 0[root@alarm ~]#
')
(Line 7 causes an error)

Here from DMESG
$this->bbcode_second_pass_code('', '[ 27.635066] systemd[1]: Mounting /MediaStore...
[ 27.834827] systemd[1]: Found device ST1000DM000-9TS15E.
[ 27.835042] systemd[1]: Mounting /media/HD_Library...
[ 27.944683] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
[ 27.971930] fuse init (API version 7.17)
[ 28.010857] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[ 28.018741] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 28.044798] systemd[1]: Mounted /media/HD_Library.
[ 28.085710] systemd[1]: Mounting FUSE Control File System...
[ 28.127501] Adding 524284k swap on /swapfile.img. Priority:-1 extents:12 across:685476k
[ 28.164883] systemd[1]: Activated swap /swapfile.img.
[ 28.172264] systemd[1]: Mounted FUSE Control File System.
')
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests