Summary of Fedora on Odroid XU4
by arm_ml@rirasoft.de
Summary of Fedora on Odroid XU4
1. with Kernel 4.6.5-300.fc24 system boots without failure, but update
to newer kernel fails due dracut didn't build suitable intramfs
https://bugzilla.redhat.com/show_bug.cgi?id=1482825
2. newer kernel works only with "cpuidle.off=1" inserted into the
"append" kernel line in the /boot/extlinux/extlinux.conf file, but all
USB3 Hosts failed, no onboard ethernet
3. To boot the system from the eMMC card:
A. The initramfs image file must be rebuilt. The simplest way is to:
a. Boot up using the MicroSD card;
b. Partition the eMMC card such that partition 1 begins on sector
3072
(Default starting sector from fdisk is 2048). There should be
4 partitions created;
c. Mount the Fedora image desired to be installed on the eMMC
card;
d. Copy all partition data from the mounted fedora image
partitions (there are 4 for Fedora 26 ARM images) to the appropriate
eMMC partitions;
e. Update the UUID values on what will be the
/boot/extlinux/extlinux.conf file and /etc/fstab files of the eMMC card;
f. Assuming the eMMC partitions are mounted as such --
mount /dev/mmcblk1p4 /mnt
mount /dev/mmcblk1p2 /mnt/boot
then perform the following mounts --
mount -o bind /proc /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
B. Rebuild the eMMC card's initramfs by executing the following
command:
chroot /mnt dracut --add-drivers='pwrseq_emmc mmc_block'
/boot/initramfs-4.11.8-300.fc26.armv7hl.img 4.11.8-300.fc26.armv7hl
C. Flash the boot information in the header of the eMMC card;
C. Shutdown the system, then remove the MicroSD card;
D. Boot up using the eMMC card.
4. If the system is to be updated using "dnf update", a new initramfs
image must again be generated. This can be done using steps 1f - B.
above using the new initramfs and kernel images provided by the "dnf
update".
----------------------------------------------------------------
Note to the developers/maintainers of dracut:
The kernel modules "pwrseq_emmc" and "mmc_block" should be included in
dracut for the Odroid-XU3 and Odroid-XU4 such that the user need not
have to execute this procedure each time and update to the system is
performed.
Is this correct and complete ?
Andreas
5 years, 11 months
Fail2ban no longer working
by Roger Grosswiler
Hi,
is someone else experiencing problems? with fail2ban and systemd?
Mine doesn't start the jails, client itself is running. Log says, it cannot create a separate child per jail.
Roger
6 years, 3 months
Cloud image question regarding command line
by Jon Masters
Hi Folks,
Any chance we can get the kernel command line for the Cloud images
updated to change the explicit provision of "console=" so that the
second one is "console=ttyAMA0..." and not "console=ttyS0..."?
I'm not sure who owns these, so figured I'd ask here. I'm playing with
F26 images under OpenStack (RDO) and they're booting fine. Couple of
issues that I'll followup on separately.
Jon.
--
Computer Architect | Sent from my Fedora powered laptop
6 years, 3 months
Installing Updated Kernel on Raspberry Pi
by Renan Campos
Does anyone have any instructions on how to update the Kernel on the
Raspberry Pi's SD card?
I tried using the instructions on the Raspberry Pi's website, but the
layout for Raspbian is different from how Fedora arm is structured on
the SD card.
6 years, 3 months
Fedora with Odroid-XU4 and Cloudshell 2
by arm_ml@rirasoft.de
Hi there,
I've managed to get Fedora 26 run with kernel 4.6.5-300.fc24.armv7hl on
Odroid-XU4 with Cloudshell 2. The onbord RAID 1 (USB-Attached SCSI
(UAS)) is working with kernel 4.6.5-300.fc24.
[root@myodroid ~]# lsusb -d 152d:0561
Bus 004 Device 003: ID 152d:0561 JMicron Technology Corp. / JMicron USA
Technology Corp.
[root@myodroid ~]#
Next steps to do:
- move OS from SD-Card to more faster eMMC-Card. How to do it?
- Kernel update to actual version. I've update Kernel to
4.11.11-300.fc26 and system boots with 8 CPU (FC24 = 5 CPU), but only
the first part of kernel is booting; then it stops.
- compiling modules to activate the color LCD
Is there anybody who can help me with the first 2 steps ?
Thanks
Andreas
6 years, 3 months
Re: Installing Updated Kernel on Raspberry Pi
by searider74
If you have already followed the Fedora ARM instructions to install F26, you can then upgrade it with the latest Kernel and fixes to the apps by typing "dnf -y update". I have used this successfully on my raspberry pi 2.
Stewart
Sent from my T-Mobile 4G LTE Device
-------- Original message --------
From: Renan Campos <wellpolishedmirror(a)gmail.com>
Date: 8/29/17 5:11 PM (GMT-08:00)
To: arm(a)lists.fedoraproject.org
Subject: [fedora-arm] Installing Updated Kernel on Raspberry Pi
Does anyone have any instructions on how to update the Kernel on the
Raspberry Pi's SD card?
I tried using the instructions on the Raspberry Pi's website, but the
layout for Raspbian is different from how Fedora arm is structured on
the SD card.
_______________________________________________
arm mailing list -- arm(a)lists.fedoraproject.org
To unsubscribe send an email to arm-leave(a)lists.fedoraproject.org
6 years, 3 months
Backing up an mSD image via dd
by Robert Moskowitz
I want to take a 'check point' in my work. It takes ~3 hours after
putting an image on the mSD card to update it...
So I was thinking of using:
dd if=/dev/sdb of=/home/rgm/arm/F26-server-minimal.img bs=4096
conv=notrunc,noerror; sync
But the card is 8Gb and only part is used:
Disk /dev/sdb: 7.4 GiB, 7969177600 bytes, 15564800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x337b9d3d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 61439 59392 29M c W95 FAT32 (LBA)
/dev/sdb2 * 61440 1060863 999424 488M 83 Linux
/dev/sdb3 1060864 2060287 999424 488M 82 Linux swap / Solaris
/dev/sdb4 2060288 6942719 4882432 2.3G 82 Linux swap / Solaris
How can I instruct dd to only copy to that past sector so I can later
put it back to another card?
thanks
6 years, 3 months
Re: Random entropy difference between F26 workstation and minimal server
by Robert Moskowitz
On 08/28/2017 08:26 AM, Derek Atkins wrote:
> Bob,
>
> On Mon, August 28, 2017 8:17 am, Robert Moskowitz wrote:
>>
>> On 08/28/2017 07:56 AM, Derek Atkins wrote:
>>> Robert Moskowitz <rgm(a)htt-consult.com> writes:
>>>
>>>>>> What is different between these two images? It is the same
>>>>>> Cubieboard.
>>>>> Different images have different services enabled by default, is
>>>>> rng-tools intsalled by default on server image?
>>>> Just checked and
>>>>
>>>> Package rng-tools-5-9.fc26.armv7hl is already installed
>>> But is rngd actually running?
>> My limited experience with the Centos7-arm build was install and it
>> runs. I would have to check to see what services are there...
>>
>> Again, limited experience, but on C7 without rngd, I was only seeing ~80
>> for entropy. Added rng-tools and it 'jumped' to ~800. Added haveged
>> and it went up to ~2500. My F26 workstation with Xfce was showing
>> ~3000. All on the same Cubieboard2.
> There is going to be more entropy gained from an actual window system
> because you have (theoretically) more interrupts happening due to user
> interaction. It's also possible that Xfce itself works to add entropy to
> the system on top of rngd?
Interesting, and probably right.
>>>> And after running dnf, entropy dropped to 324....
>>> Hmm.
>> I believe dnf uses https?
> I suppose that could pull some.
No suppose. We both know all the nonce cruft in TLS. We lived too many
of those meetings.
And if there is an ephemeral DH in there as well (depending on suite
selection).
Bob
6 years, 3 months
Random entropy difference between F26 workstation and minimal server
by Robert Moskowitz
I use:
cat /proc/sys/kernel/random/entropy_avail
To check on the amount of entropy for creating random stuff like
keypairs with openssl or random nonces and keys for TLS..
I am using a Cubieboad2.
With Fedora-Xfce-armhfp-26-1.5-sda.raw.xz I was seeing numbers in the
3,000. I don't have that image running right now to get an actual number.
I just built a system with: Fedora-Server-armhfp-26-1.5-sda.raw.xz
I am seeing numbers only in the mid 800s:
[root@C2 ~]# cat /proc/sys/kernel/random/entropy_avail
866
[root@C2 ~]# cat /proc/sys/kernel/random/entropy_avail
803
[root@C2 ~]# cat /proc/sys/kernel/random/entropy_avail
828
What is different between these two images? It is the same Cubieboard.
I have had to install haveged on my Centos7-arm images to get decent
entropy.
I have also installed rng-tools with some success, but not as much as
haveged.
thanks
Bob
6 years, 3 months