Discussion:
[fedora-arm] Re: Odrouid XU4 with Fedora
Peter Robinson
2017-07-17 12:33:51 UTC
Permalink
Hi there,
I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1 (based on
Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
Update to newer kernel didn't work because it doesn't build a suitable
initramfs.
Has anybody tried this?
That should be fixed in F-26, might be easiest to deploy a new image,
else you could do the upgrade process and that *should* work, but the
upgrade on those devices is untested.

Peter
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedora
Peter Robinson
2017-07-18 15:11:29 UTC
Permalink
Post by Peter Robinson
Hi there,
I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1 (based on
Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
Update to newer kernel didn't work because it doesn't build a suitable
initramfs.
Has anybody tried this?
That should be fixed in F-26, might be easiest to deploy a new image,
else you could do the upgrade process and that *should* work, but the
upgrade on those devices is untested.
Peter
Hello Peter,
1. dnf upgrade --refresh
some Packages are installed, no kernel, System is on 4.6.5-300.fc24
2. dnf system-upgrade download --releasever=26
961 Packages are downloaded, no kernel Package
Have you explcitly excluded the kernel in some dnf/yum config?
3. dnf system-upgrade reboot
Error: system is not ready for upgrade
Whats next ?
Andreas
_______________________________________________
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm
Peter Robinson
2017-07-19 13:01:14 UTC
Permalink
Post by Peter Robinson
Post by Peter Robinson
Hi there,
I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1 (based on
Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
Update to newer kernel didn't work because it doesn't build a suitable
initramfs.
Has anybody tried this?
That should be fixed in F-26, might be easiest to deploy a new image,
else you could do the upgrade process and that *should* work, but the
upgrade on those devices is untested.
Peter
Hello Peter,
1. dnf upgrade --refresh
some Packages are installed, no kernel, System is on 4.6.5-300.fc24
2. dnf system-upgrade download --releasever=26
961 Packages are downloaded, no kernel Package
Have you explcitly excluded the kernel in some dnf/yum config?
3. dnf system-upgrade reboot
Error: system is not ready for upgrade
Whats next ?
Andreas
_______________________________________________
_______________________________________________
Hello Peter,
you're right: I've exluded the kernel in dnf.conf. Knocking my head on table
...
Now the board is running FC26 but still with the old 4.6.5-300.fc24.armv7hl
kernel. The 4.11.10-300.fc26 kernel was installed, but no initramfs was
created in /boot. That means a boot with this kernel is not working.
label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
kernel /vmlinuz-4.11.10-300.fc26.armv7hl
append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
fdtdir /dtb-4.11.10-300.fc26.armv7hl/
initrd -> is missing
Remove all the rd.driver crap, you also shouldn't need any enforcing= line

It creates the initrd line from previous ones, did your 4.6.5 kernel
not have that line?

Check /boot/ for an appropriate initrd, check to see if the mmc
drivers are in there using "lsinitrd <initrd> | grep mmc", if you
don't see them there (sometimes transitioning from weird hacked
kernels dracut gets the module list wrong) you can regenerate a
generic initrd with the following command:

"dracut -N -f /boot/initramfs-4.11.10-300.fc26.armv7hl.img
4.11.10-300.fc26.armv7hl"

Then add the initrd line to exiting entry in extlinux.conf
initrd /initramfs-4.11.10-300.fc26.armv7hl.img

From then on dracut should get the host specific initrd correct after a reboot.
I want to build with this board (Odroid xu4) with the new Cloudshell 2
(http://www.hardkernel.com/main/products/prdt_info.php?g_code=G149142327280)
a Nextcloud Storage.
Does Fedora with kernel 4.11 support USB Attached SCSI (UAS or UASP) and USB
3.0 to SATA bridge (JMicron JMS561) ?
It should as UAS is a usb standard that is supported in the kernel, as
for specific controller details no idea, sorry I don't track that
stuff as I don't particularly care, but why don't you try it and see
for yourself ;-)
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedoraproject.o
Peter Robinson
2017-07-19 13:46:13 UTC
Permalink
Post by Peter Robinson
you're right: I've exluded the kernel in dnf.conf. Knocking my head on table
...
Now the board is running FC26 but still with the old
4.6.5-300.fc24.armv7hl
kernel. The 4.11.10-300.fc26 kernel was installed, but no initramfs was
created in /boot. That means a boot with this kernel is not working.
label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
kernel /vmlinuz-4.11.10-300.fc26.armv7hl
append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
fdtdir /dtb-4.11.10-300.fc26.armv7hl/
initrd -> is missing
Remove all the rd.driver crap, you also shouldn't need any enforcing= line
It creates the initrd line from previous ones, did your 4.6.5 kernel
not have that line?
# extlinux.conf generated by appliance-creator
ui menu.c32
menu autoboot Welcome to Fedora-Mate-armhfp-24-1.2. Automatic boot in #
second{,s}. Press a key for options.
menu title Fedora-Mate-armhfp-24-1.2 Boot Options.
menu hidden
timeout 20
totaltimeout 600
default=Fedora (4.6.5-300.fc24.armv7hl) 24 (Twenty Four)
#label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
# kernel /vmlinuz-4.11.10-300.fc26.armv7hl
# append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
# fdtdir /dtb-4.11.10-300.fc26.armv7hl/
label Fedora (4.6.5-300.fc24.armv7hl) 24 (Twenty Four)
kernel /vmlinuz-4.6.5-300.fc24.armv7hl
append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
fdtdir /dtb-4.6.5-300.fc24.armv7hl/
initrd /initramfs-4.6.5-300.fc24.armv7hl.img
Post by Peter Robinson
Check /boot/ for an appropriate initrd, check to see if the mmc
drivers are in there using "lsinitrd <initrd> | grep mmc", if you
don't see them there (sometimes transitioning from weird hacked
kernels dracut gets the module list wrong) you can regenerate a
"dracut -N -f /boot/initramfs-4.11.10-300.fc26.armv7hl.img
4.11.10-300.fc26.armv7hl"
While creating the initrd system crashed with a reboot. Maybe I need a power
supply with more power then USB3.
I'm not sure with those devices but I suspect you'd want 2.5 or even 3 amps.
Post by Peter Robinson
Then add the initrd line to exiting entry in extlinux.conf
initrd /initramfs-4.11.10-300.fc26.armv7hl.img
From then on dracut should get the host specific initrd correct after a reboot.
I want to build with this board (Odroid xu4) with the new Cloudshell 2
(http://www.hardkernel.com/main/products/prdt_info.php?g_code=G149142327280)
a Nextcloud Storage.
Does Fedora with kernel 4.11 support USB Attached SCSI (UAS or UASP) and USB
3.0 to SATA bridge (JMicron JMS561) ?
It should as UAS is a usb standard that is supported in the kernel, as
for specific controller details no idea, sorry I don't track that
stuff as I don't particularly care, but why don't you try it and see
for yourself ;-)
Okay, after I get FC26 running with actual kernel I by this case and write a
report.
Post by Peter Robinson
_______________________________________________
_______________________________________________
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send
Nigel Sollars
2017-07-19 15:58:11 UTC
Permalink
Just for completeness the wallwart on the Hard Kernel site for the XU4 is
pretty hefty,

5v @ 6A

Safe to say this would probably allow for a few additions on the USB Bus
and or GPIO's.

Nige
Post by Peter Robinson
Post by Peter Robinson
Post by Peter Robinson
Hi there,
I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1
(based on
Post by Peter Robinson
Post by Peter Robinson
Post by Peter Robinson
Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
Update to newer kernel didn't work because it doesn't build a
suitable
Post by Peter Robinson
Post by Peter Robinson
Post by Peter Robinson
initramfs.
Has anybody tried this?
That should be fixed in F-26, might be easiest to deploy a new image,
else you could do the upgrade process and that *should* work, but the
upgrade on those devices is untested.
Peter
Hello Peter,
1. dnf upgrade --refresh
some Packages are installed, no kernel, System is on 4.6.5-300.fc24
2. dnf system-upgrade download --releasever=26
961 Packages are downloaded, no kernel Package
Have you explcitly excluded the kernel in some dnf/yum config?
3. dnf system-upgrade reboot
Error: system is not ready for upgrade
Whats next ?
Andreas
_______________________________________________
_______________________________________________
Hello Peter,
you're right: I've exluded the kernel in dnf.conf. Knocking my head on
table
Post by Peter Robinson
...
Now the board is running FC26 but still with the old
4.6.5-300.fc24.armv7hl
Post by Peter Robinson
kernel. The 4.11.10-300.fc26 kernel was installed, but no initramfs was
created in /boot. That means a boot with this kernel is not working.
label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
kernel /vmlinuz-4.11.10-300.fc26.armv7hl
append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8
enforcing=1
Post by Peter Robinson
fdtdir /dtb-4.11.10-300.fc26.armv7hl/
initrd -> is missing
Remove all the rd.driver crap, you also shouldn't need any enforcing=
line
Post by Peter Robinson
It creates the initrd line from previous ones, did your 4.6.5 kernel
not have that line?
Check /boot/ for an appropriate initrd, check to see if the mmc
drivers are in there using "lsinitrd <initrd> | grep mmc", if you
don't see them there (sometimes transitioning from weird hacked
kernels dracut gets the module list wrong) you can regenerate a
"dracut -N -f /boot/initramfs-4.11.10-300.fc26.armv7hl.img
4.11.10-300.fc26.armv7hl"
Then add the initrd line to exiting entry in extlinux.conf
initrd /initramfs-4.11.10-300.fc26.armv7hl.img
From then on dracut should get the host specific initrd correct after a
reboot.
Post by Peter Robinson
I want to build with this board (Odroid xu4) with the new Cloudshell 2
(http://www.hardkernel.com/main/products/prdt_info.php?g_
code=G149142327280)
Post by Peter Robinson
a Nextcloud Storage.
Does Fedora with kernel 4.11 support USB Attached SCSI (UAS or UASP)
and USB
Post by Peter Robinson
3.0 to SATA bridge (JMicron JMS561) ?
It should as UAS is a usb standard that is supported in the kernel, as
for specific controller details no idea, sorry I don't track that
stuff as I don't particularly care, but why don't you try it and see
for yourself ;-)
_______________________________________________
OK, with more power system works stable. Update with kernel
4.11.10-300.fc26.armv7hl works and build a initramfs and a suitable
extlinux.conf.
U-Boot 2016.05 (May 30 2016 - 20:03:50 +0000) for ODROID-XU3
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type: xu4
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1090 bytes read in 12 ms (87.9 KiB/s)
Ignoring unknown command: ui
Ignoring malformed menu command: autoboot
Ignoring malformed menu command: hidden
Ignoring unknown command: totaltimeout
Ignoring unknown command: default=Fedora
Fedora-Mate-armhfp-24-1.2 Boot Options.
1: Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
2: Fedora (4.6.5-300.fc24.armv7hl) 24 (Twenty Four)
Enter choice: 1
1: Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
Retrieving file: /initramfs-4.11.10-300.fc26.armv7hl.img
17067584 bytes read in 1600 ms (10.2 MiB/s)
Retrieving file: /vmlinuz-4.11.10-300.fc26.armv7hl
6267464 bytes read in 595 ms (10 MiB/s)
append: ro root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202
LANG=en_US.UTF-8 enforcing=1
Retrieving file: /dtb-4.11.10-300.fc26.armv7hl/exynos5422-odroidxu4.dtb
54941 bytes read in 913 ms (58.6 KiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 4efb9000, end 4ffffe40 ... OK
Loading Device Tree to 4efa8000, end 4efb869c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.11.10-300.fc26.armv7hl
20170622 (Red Hat 7.1.1-3) (GCC) ) #1 SMP Wed Jul 12 18:27:21 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt: Machine model: Hardkernel Odroid XU4
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000,
size 8 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_right,
compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0xbbe00000,
size 36 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_left,
compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0xb7c00000
[ 0.000000] Samsung CPU ID: 0xe5422001
[ 0.000000] Running under secure firmware.
d21620 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 505664
[ 0.000000] Kernel command line: ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=en_US.UTF-8
enforcing=1
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
bytes)
[ 0.000000] Memory: 1912816K/2029568K available (7440K kernel code,
1301K rwdata, 3528K rodata, 2048K init, 518K bss, 51216K reserved,
65536K cma-reserved, 1177600K highmem)
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0a4400c (8433 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc11455c4 (1302 kB)
[ 0.000000] .bss : 0xc11455c4 - 0xc11c71a0 ( 519 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=8.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] GIC physical location is 0x10481000
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps
every 89478484971ns
[ 0.007600] Console: colour dummy device 80x30
[ 0.008724] console [tty0] enabled
[ 0.008786] Calibrating delay loop (skipped), value calculated using
timer frequency.. 48.00 BogoMIPS (lpj=24000)
[ 0.008848] pid_max: default: 32768 minimum: 301
[ 0.009341] Security Framework initialized
[ 0.009379] Yama: becoming mindful.
[ 0.009426] SELinux: Initializing.
[ 0.009846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.009886] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.011186] CPU: Testing write buffer coherency: ok
[ 0.011262] ftrace: allocating 31692 entries in 62 pages
[ 0.090950] CPU0: update cpu_capacity 448
[ 0.091057] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[ 0.091763] Setting up static identity map for 0x40300000 - 0x40300098
[ 0.092521] ARM CCI driver probed
[ 0.092755] Exynos MCPM support installed
[ 0.101355] EFI services will not be available.
[ 0.102072] smp: Bringing up secondary CPUs ...
[ 0.103165] CPU1: update cpu_capacity 448
[ 0.103173] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[ 0.104342] CPU2: update cpu_capacity 448
[ 0.104350] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[ 0.105491] CPU3: update cpu_capacity 448
[ 0.105499] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[ 0.106670] CPU4: update cpu_capacity 1535
[ 0.106679] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.107925] CPU5: update cpu_capacity 1535
[ 0.107934] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.109096] CPU6: update cpu_capacity 1535
[ 0.109105] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.110256] CPU7: update cpu_capacity 1535
[ 0.110265] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.110407] smp: Brought up 1 node, 8 CPUs
[ 0.110714] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.110742] CPU: WARNING: CPU(s) started in wrong/inconsistent modes
(primary CPU mode 0x1a)
[ 0.110780] CPU: This may indicate a broken bootloader or firmware.
[ 0.113527] devtmpfs: initialized
[ 0.136918] VFP support v0.3: implementor 41 architecture 2 part 30
variant 7 rev 3
0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.137579] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.142086] pinctrl core: initialized pinctrl subsystem
[ 0.145664] NET: Registered protocol family 16
[ 0.148073] DMA: preallocated 256 KiB pool for atomic coherent
allocations
[ 0.153264] cpuidle: using governor menu
[ 0.154603] No ATAGs?
[ 0.154924] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
watchpoint registers.
[ 0.154986] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.156839] Serial: AMBA PL011 UART driver
[ 0.169503] random: fast init done
[ 0.193691] EXYNOS5420 PMU initialized
[ 0.236333] vgaarb: loaded
[ 0.237391] SCSI subsystem initialized
[ 0.238130] usbcore: registered new interface driver usbfs
[ 0.238252] usbcore: registered new interface driver hub
[ 0.238475] usbcore: registered new device driver usb
[ 0.240966] NetLabel: Initializing
[ 0.241038] NetLabel: domain hash size = 128
[ 0.241062] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.241165] NetLabel: unlabeled traffic allowed by default
[ 0.241725] clocksource: Switched to clocksource mct-frc
[ 0.344825] VFS: Disk quotas dquot_6.6.0
[ 0.344984] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.363604] NET: Registered protocol family 2
[ 0.364879] TCP established hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.365013] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.365215] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.365476] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.365547] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.366199] NET: Registered protocol family 1
[ 0.367057] Unpacking initramfs...
[ 1.737042] Freeing initrd memory: 16668K
[ 1.814133] audit: initializing netlink subsys (disabled)
[ 1.814362] audit: type=2000 audit(1.757:1): state=initialized
audit_enabled=0 res=1
[ 1.814834] Initialise system trusted keyrings
[ 1.815075] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.823041] zbud: loaded
[ 2.313027] NET: Registered protocol family 38
[ 2.313063] Key type asymmetric registered
[ 2.313086] Asymmetric key parser 'x509' registered
[ 2.313175] bounce: pool size: 64 pages
[ 2.313274] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 250)
[ 2.313511] io scheduler noop registered
[ 2.313535] io scheduler deadline registered
[ 2.314019] io scheduler cfq registered (default)
[ 2.314045] io scheduler mq-deadline registered
[ 2.314578] atomic64_test: passed
[ 2.339299] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 2.348980] Serial: AMBA driver
[ 2.349260] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 58,
base_baud = 0) is a S3C6400/10
[ 2.349682] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 59,
base_baud = 0) is a S3C6400/10
[ 2.350146] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 60,
base_baud = 0) is a S3C6400/10
[ 3.108590] console [ttySAC2] enabled
[ 3.112668] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 61,
base_baud = 0) is a S3C6400/10
[ 3.123208] msm_serial: driver initialized
[ 3.126206] STMicroelectronics ASC driver initialized
[ 3.135591] libphy: Fixed MDIO Bus: probed
[ 3.139067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.144828] ehci-pci: EHCI PCI platform driver
[ 3.149265] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.155353] ohci-pci: OHCI PCI platform driver
[ 3.159814] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.166425] usbcore: registered new interface driver usbserial
[ 3.171949] usbcore: registered new interface driver usbserial_generic
[ 3.178447] usbserial: USB Serial support registered for generic
[ 3.184638] mousedev: PS/2 mouse device common for all mice
[ 3.197828] device-mapper: uevent: version 1.0.3
[ 3.201619] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
[ 3.212470] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.217424] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.222640] usbcore: registered new interface driver usbhid
[ 3.227962] usbhid: USB HID core driver
[ 3.234593] drop_monitor: Initializing network drop monitor service
[ 3.239698] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.244987] Initializing XFRM netlink socket
[ 3.249796] NET: Registered protocol family 10
No more output on serial console, no display, no ping.
grep mmc
Arguments: --add-drivers 'dw_mmc-exynos exynosdrm ehci-exynos ohci-exynos'
drwxr-xr-x 5 root root 0 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc
drwxr-xr-x 2 root root 0 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc/card
-rw-r--r-- 1 root root 39591 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/
mmc/card/mmc_block.ko
drwxr-xr-x 2 root root 0 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc/core
-rw-r--r-- 1 root root 153491 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc/core/mmc_core.ko
drwxr-xr-x 2 root root 0 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc/host
-rw-r--r-- 1 root root 12047 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/
mmc/host/dw_mmc-exynos.ko
-rw-r--r-- 1 root root 36143 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/mmc/host/dw_mmc.ko
-rw-r--r-- 1 root root 7899 Jul 8 2016
usr/lib/modules/4.6.5-300.fc24.armv7hl/kernel/drivers/
mmc/host/dw_mmc-pltfm.ko
| grep mmc
drwxr-xr-x 4 root root 0 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/mmc
drwxr-xr-x 2 root root 0 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/mmc/core
-rw-r--r-- 1 root root 36051 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/
mmc/core/mmc_block.ko
-rw-r--r-- 1 root root 162899 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/
mmc/core/mmc_core.ko
drwxr-xr-x 2 root root 0 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/mmc/host
-rw-r--r-- 1 root root 13147 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/
mmc/host/dw_mmc-exynos.ko
-rw-r--r-- 1 root root 38731 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/mmc/host/dw_mmc.ko
-rw-r--r-- 1 root root 7807 Jun 22 15:42
usr/lib/modules/4.11.10-300.fc26.armv7hl/kernel/drivers/
mmc/host/dw_mmc-pltfm.ko
_______________________________________________
--
“Science is a differential equation. Religion is a boundary condition.”

Alan Turing
Peter Robinson
2017-07-19 16:11:25 UTC
Permalink
Post by Peter Robinson
Post by Peter Robinson
Post by Peter Robinson
Hi there,
I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1 (based on
Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
Update to newer kernel didn't work because it doesn't build a suitable
initramfs.
Has anybody tried this?
That should be fixed in F-26, might be easiest to deploy a new image,
else you could do the upgrade process and that *should* work, but the
upgrade on those devices is untested.
Peter
Hello Peter,
1. dnf upgrade --refresh
some Packages are installed, no kernel, System is on 4.6.5-300.fc24
2. dnf system-upgrade download --releasever=26
961 Packages are downloaded, no kernel Package
Have you explcitly excluded the kernel in some dnf/yum config?
3. dnf system-upgrade reboot
Error: system is not ready for upgrade
Whats next ?
Andreas
_______________________________________________
_______________________________________________
Hello Peter,
you're right: I've exluded the kernel in dnf.conf. Knocking my head on table
...
Now the board is running FC26 but still with the old 4.6.5-300.fc24.armv7hl
kernel. The 4.11.10-300.fc26 kernel was installed, but no initramfs was
created in /boot. That means a boot with this kernel is not working.
label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
kernel /vmlinuz-4.11.10-300.fc26.armv7hl
append
rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
fdtdir /dtb-4.11.10-300.fc26.armv7hl/
initrd -> is missing
Remove all the rd.driver crap, you also shouldn't need any enforcing= line
It creates the initrd line from previous ones, did your 4.6.5 kernel
not have that line?
Check /boot/ for an appropriate initrd, check to see if the mmc
drivers are in there using "lsinitrd <initrd> | grep mmc", if you
don't see them there (sometimes transitioning from weird hacked
kernels dracut gets the module list wrong) you can regenerate a
"dracut -N -f /boot/initramfs-4.11.10-300.fc26.armv7hl.img
4.11.10-300.fc26.armv7hl"
Then add the initrd line to exiting entry in extlinux.conf
initrd /initramfs-4.11.10-300.fc26.armv7hl.img
From then on dracut should get the host specific initrd correct after a reboot.
I want to build with this board (Odroid xu4) with the new Cloudshell 2
(http://www.hardkernel.com/main/products/prdt_info.php?g_code=G149142327280)
a Nextcloud Storage.
Does Fedora with kernel 4.11 support USB Attached SCSI (UAS or UASP) and USB
3.0 to SATA bridge (JMicron JMS561) ?
It should as UAS is a usb standard that is supported in the kernel, as
for specific controller details no idea, sorry I don't track that
stuff as I don't particularly care, but why don't you try it and see
for yourself ;-)
_______________________________________________
OK, with more power system works stable. Update with kernel
4.11.10-300.fc26.armv7hl works and build a initramfs and a suitable
extlinux.conf.
U-Boot 2016.05 (May 30 2016 - 20:03:50 +0000) for ODROID-XU3
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type: xu4
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1090 bytes read in 12 ms (87.9 KiB/s)
Ignoring unknown command: ui
Ignoring malformed menu command: autoboot
Ignoring malformed menu command: hidden
Ignoring unknown command: totaltimeout
Ignoring unknown command: default=Fedora
Fedora-Mate-armhfp-24-1.2 Boot Options.
1: Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
2: Fedora (4.6.5-300.fc24.armv7hl) 24 (Twenty Four)
Enter choice: 1
1: Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
Retrieving file: /initramfs-4.11.10-300.fc26.armv7hl.img
17067584 bytes read in 1600 ms (10.2 MiB/s)
Retrieving file: /vmlinuz-4.11.10-300.fc26.armv7hl
6267464 bytes read in 595 ms (10 MiB/s)
append: ro root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202
LANG=en_US.UTF-8 enforcing=1
Retrieving file: /dtb-4.11.10-300.fc26.armv7hl/exynos5422-odroidxu4.dtb
54941 bytes read in 913 ms (58.6 KiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 4efb9000, end 4ffffe40 ... OK
Loading Device Tree to 4efa8000, end 4efb869c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.11.10-300.fc26.armv7hl
20170622 (Red Hat 7.1.1-3) (GCC) ) #1 SMP Wed Jul 12 18:27:21 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt: Machine model: Hardkernel Odroid XU4
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000,
size 8 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_right,
compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0xbbe00000,
size 36 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_left,
compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0xb7c00000
[ 0.000000] Samsung CPU ID: 0xe5422001
[ 0.000000] Running under secure firmware.
d21620 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 505664
[ 0.000000] Kernel command line: ro
root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=en_US.UTF-8 enforcing=1
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
bytes)
[ 0.000000] Memory: 1912816K/2029568K available (7440K kernel code,
1301K rwdata, 3528K rodata, 2048K init, 518K bss, 51216K reserved,
65536K cma-reserved, 1177600K highmem)
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0a4400c (8433 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc11455c4 (1302 kB)
[ 0.000000] .bss : 0xc11455c4 - 0xc11c71a0 ( 519 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=8.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] GIC physical location is 0x10481000
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps
every 89478484971ns
[ 0.007600] Console: colour dummy device 80x30
[ 0.008724] console [tty0] enabled
[ 0.008786] Calibrating delay loop (skipped), value calculated using
timer frequency.. 48.00 BogoMIPS (lpj=24000)
[ 0.008848] pid_max: default: 32768 minimum: 301
[ 0.009341] Security Framework initialized
[ 0.009379] Yama: becoming mindful.
[ 0.009426] SELinux: Initializing.
[ 0.009846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.009886] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.011186] CPU: Testing write buffer coherency: ok
[ 0.011262] ftrace: allocating 31692 entries in 62 pages
[ 0.090950] CPU0: update cpu_capacity 448
[ 0.091057] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[ 0.091763] Setting up static identity map for 0x40300000 - 0x40300098
[ 0.092521] ARM CCI driver probed
[ 0.092755] Exynos MCPM support installed
[ 0.101355] EFI services will not be available.
[ 0.102072] smp: Bringing up secondary CPUs ...
[ 0.103165] CPU1: update cpu_capacity 448
[ 0.103173] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[ 0.104342] CPU2: update cpu_capacity 448
[ 0.104350] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[ 0.105491] CPU3: update cpu_capacity 448
[ 0.105499] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[ 0.106670] CPU4: update cpu_capacity 1535
[ 0.106679] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.107925] CPU5: update cpu_capacity 1535
[ 0.107934] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.109096] CPU6: update cpu_capacity 1535
[ 0.109105] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.110256] CPU7: update cpu_capacity 1535
[ 0.110265] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.110407] smp: Brought up 1 node, 8 CPUs
[ 0.110714] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.110742] CPU: WARNING: CPU(s) started in wrong/inconsistent modes
(primary CPU mode 0x1a)
[ 0.110780] CPU: This may indicate a broken bootloader or firmware.
[ 0.113527] devtmpfs: initialized
[ 0.136918] VFP support v0.3: implementor 41 architecture 2 part 30
variant 7 rev 3
0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.137579] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.142086] pinctrl core: initialized pinctrl subsystem
[ 0.145664] NET: Registered protocol family 16
[ 0.148073] DMA: preallocated 256 KiB pool for atomic coherent
allocations
[ 0.153264] cpuidle: using governor menu
[ 0.154603] No ATAGs?
[ 0.154924] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
watchpoint registers.
[ 0.154986] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.156839] Serial: AMBA PL011 UART driver
[ 0.169503] random: fast init done
[ 0.193691] EXYNOS5420 PMU initialized
[ 0.236333] vgaarb: loaded
[ 0.237391] SCSI subsystem initialized
[ 0.238130] usbcore: registered new interface driver usbfs
[ 0.238252] usbcore: registered new interface driver hub
[ 0.238475] usbcore: registered new device driver usb
[ 0.240966] NetLabel: Initializing
[ 0.241038] NetLabel: domain hash size = 128
[ 0.241062] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.241165] NetLabel: unlabeled traffic allowed by default
[ 0.241725] clocksource: Switched to clocksource mct-frc
[ 0.344825] VFS: Disk quotas dquot_6.6.0
[ 0.344984] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.363604] NET: Registered protocol family 2
[ 0.364879] TCP established hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.365013] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.365215] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.365476] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.365547] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.366199] NET: Registered protocol family 1
[ 0.367057] Unpacking initramfs...
[ 1.737042] Freeing initrd memory: 16668K
[ 1.814133] audit: initializing netlink subsys (disabled)
[ 1.814362] audit: type=2000 audit(1.757:1): state=initialized
audit_enabled=0 res=1
[ 1.814834] Initialise system trusted keyrings
[ 1.815075] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.823041] zbud: loaded
[ 2.313027] NET: Registered protocol family 38
[ 2.313063] Key type asymmetric registered
[ 2.313086] Asymmetric key parser 'x509' registered
[ 2.313175] bounce: pool size: 64 pages
[ 2.313274] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 250)
[ 2.313511] io scheduler noop registered
[ 2.313535] io scheduler deadline registered
[ 2.314019] io scheduler cfq registered (default)
[ 2.314045] io scheduler mq-deadline registered
[ 2.314578] atomic64_test: passed
[ 2.339299] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 2.348980] Serial: AMBA driver
[ 2.349260] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 58,
base_baud = 0) is a S3C6400/10
[ 2.349682] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 59,
base_baud = 0) is a S3C6400/10
[ 2.350146] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 60,
base_baud = 0) is a S3C6400/10
[ 3.108590] console [ttySAC2] enabled
[ 3.112668] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 61,
base_baud = 0) is a S3C6400/10
[ 3.123208] msm_serial: driver initialized
[ 3.126206] STMicroelectronics ASC driver initialized
[ 3.135591] libphy: Fixed MDIO Bus: probed
[ 3.139067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.144828] ehci-pci: EHCI PCI platform driver
[ 3.149265] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.155353] ohci-pci: OHCI PCI platform driver
[ 3.159814] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.166425] usbcore: registered new interface driver usbserial
[ 3.171949] usbcore: registered new interface driver usbserial_generic
[ 3.178447] usbserial: USB Serial support registered for generic
[ 3.184638] mousedev: PS/2 mouse device common for all mice
[ 3.197828] device-mapper: uevent: version 1.0.3
[ 3.201619] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
[ 3.212470] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.217424] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.222640] usbcore: registered new interface driver usbhid
[ 3.227962] usbhid: USB HID core driver
[ 3.234593] drop_monitor: Initializing network drop monitor service
[ 3.239698] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.244987] Initializing XFRM netlink socket
[ 3.249796] NET: Registered protocol family 10
No more output on serial console, no display, no ping.
No serial console on the kernel cmd line:
Kernel command line: ro root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202
LANG=en_US.UTF-8 enforcing=1

I suspect when the kernel serial port driver gets inited is when you
lose it. Can you add a "console=ttySACX,115200 console=tty0" (swap X
for what ever the number is) on the append line in extlinux.conf

Also what port/connector do you have the monitor attached to?
That was just for you to compare you got the appropriate MMC drivers.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@list
Winfried de Heiden
2017-07-23 14:51:28 UTC
Permalink
Hi all,

After installing Fedora 26 on a Raspberry Pi 2 I modified the default
install somewhat. Since I use a 32 GB SDcard, thereś plenty of extra
space I replaced the swap partition for an LVM2 partition to put swap,
/home, /var/log, /var/log/audit on a separate partition. (used gparted
to do so)

This all seems to work fine but when /tmp is put on an LVM-partition
boot will fail:

[***@rpi2 ~]# systemctl status systemd-tmpfiles-setup.service
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded
(/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor
preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-06-27 23:45:19
CEST; 3 weeks 4 days ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Main PID: 569 (code=exited, status=1/FAILURE)

Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix
SELinux security context of /var/tmp: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix
SELinux security context of /var/spool: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix
SELinux security context of /tmp/.X11-unix: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix
SELinux security context of /tmp/.ICE-unix: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix
SELinux security context of /tmp/.font-unix: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]:
rm_rf(/tmp/systemd-private-a9f0ce0042314665bae7fc5f45b79f4f-chronyd.service-mrb21j):
Read-o
Jun 27 23:45:19 rpi2.blabla.bla systemd[1]:
systemd-tmpfiles-setup.service: Main process exited, code=exited,
status=1/FAILURE
Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: Failed to start Create
Volatile Files and Directories.
Jun 27 23:45:19 rpi2.blabla.bla systemd[1]:
systemd-tmpfiles-setup.service: Unit entered failed state.
Jun 27 23:45:19 rpi2.blabla.bla systemd[1]:
systemd-tmpfiles-setup.service: Failed with result 'exit-code'.


The root-partition will mount read only during boot when /tmp is on a
separate (LVM) partition. Now, after booting:
- mount -o remount,rw /
- mount -a

and all will work fine be shouldn't be that way....

What going wrong here....?

Winfried

_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedo
Peter Robinson
2017-07-24 09:11:38 UTC
Permalink
Post by Winfried de Heiden
Hi all,
After installing Fedora 26 on a Raspberry Pi 2 I modified the default
install somewhat. Since I use a 32 GB SDcard, thereś plenty of extra space I
replaced the swap partition for an LVM2 partition to put swap, /home,
/var/log, /var/log/audit on a separate partition. (used gparted to do so)
This all seems to work fine but when /tmp is put on an LVM-partition boot
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-06-27 23:45:19 CEST; 3
weeks 4 days ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Main PID: 569 (code=exited, status=1/FAILURE)
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux
security context of /var/tmp: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux
security context of /var/spool: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux
security context of /tmp/.X11-unix: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux
security context of /tmp/.ICE-unix: Read-only file system
Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux
security context of /tmp/.font-unix: Read-only file system
Read-o
Main process exited, code=exited, status=1/FAILURE
Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: Failed to start Create Volatile
Files and Directories.
Unit entered failed state.
Failed with result 'exit-code'.
The root-partition will mount read only during boot when /tmp is on a
- mount -o remount,rw /
- mount -a
and all will work fine be shouldn't be that way....
What going wrong here....?
I have no idea but if I was to guess I suspect the initird doesn't
have the lvm related components to enable it to mount tmp on that type
of filesystem stack (it is usually either tmpfs or on root) so you'll
probably need a dracut config that adds the appropriate dracut and
kernel modules into the initrd and then regenerate the initrd. "man 5
dracut.conf" will likely give you all the information you need.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an

Loading...