Re: Fedora with Odroid-XU4 and Cloudshell 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Best bet for usb3 is likely to file an upstream kernel bug and work with the author. It will likely need someone to bisect where it failed using the upstream kernels and processes.


Dennis

On 28 August 2017 6:22:12 pm GMT-05:00, Stewart Samuels <searider74@xxxxxxxxx> wrote:
HI Dennis,

I've now got the system booting from the eMMC card.

Thanks again for the tip. I noticed earlier as well that the mmc_block
module was not being loaded. I tried adding the mmc_block and
pwrseq_emmc modules as kernel parameters on the append line of the
extlinux.conf file but that failed. Rebuilding them into the initramfs
image was the key and works but only if one updates the UUID information
for the devices in both extlinux.conf and /etc/fstab.

I am currently in process of performing a "dnf update", to update to the
latest release information.

BTW, any new thoughts on getting the USB 3 Hub to recognize devices?

Kind regards,
Stewart



On 08/28/2017 11:03 AM, Dennis Gilmore wrote:
El jue, 24-08-2017 a las 16:47 -0700, Stewart Samuels escribió:
All,

I have been working toward getting the Odroid-Xu4 to boot from the
eMMC card but the system continues to fail in the same place no
matter what I try. It dumps me into the dracut shell when it cannot
find the root partition. I suspect one or more modules are not being
loaded when booting from the eMMC. Following is my serial console
output along with some output from the dracut shell. Does anyone
have any ideas of what to try next?
you will need to rebuild the initrd pwrseq_emmc driver is missing from
the initrd for it to boot

simplest would be in a odroid-xu4 running from microsd

mount /dev/mmcblk1p4 /mnt/
[ 192.561457] EXT4-fs (mmcblk1p4): mounted filesystem with ordered
data mode. Opts: (null)
[root@localhost ~]# mount /dev/mmcblk1p2 /mnt/boot/
[ 199.515666] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
data mode. Opts: (null)
[root@localhost ~]# mount -o bind /proc/ /mnt/proc/
[root@localhost ~]# mount -o bind /dev /mnt/dev/
[root@localhost ~]# mount -o bind /sys /mnt/sys/
[root@localhost ~]# chroot /mnt/
[root@localhost /]# ls /boot/initramfs-4.11.8-300.fc26.armv7hl.img
/boot/initramfs-4.11.8-300.fc26.armv7hl.img
[root@localhost /]# dracut -f /boot/initramfs-4.11.8-
300.fc26.armv7hl.img 4.11.8-300.fc26.armv7hl --add-drivers=pwrseq_emmc
dracut: No '/dev/log' or 'logger' included for syslog logging
[ 266.023281] dracut[1123] No '/dev/log' or 'logger' included for
syslog logging
[ 266.525885] dracut[1123] Executing: /usr/bin/dracut -f
/boot/initramfs-4.11.8-300.fc26.armv7hl.img 4.11.8-300.fc26.armv7hl --
add-drivers=pwrseq_emmc
[ 268.332160] dracut[1123] dracut module 'busybox' will not be
installed, because command 'busybox' could not be found!
[ 271.270476] dracut[1123] dracut module 'biosdevname' will not be
installed, because command 'biosdevname' could not be found!
[ 272.332576] dracut[1123] dracut module 'busybox' will not be
installed, because command 'busybox' could not be found!
[ 275.163080] dracut[1123] *** Including module: bash ***
[ 275.271157] dracut[1123] *** Including module: systemd ***
[ 277.999389] dracut[1123] *** Including module: systemd-initrd ***
[ 278.258202] dracut[1123] *** Including module: nss-softokn ***
[ 278.391379] dracut[1123] *** Including module: i18n ***
[ 279.961126] dracut[1123] *** Including module: network ***
[ 280.840479] dracut[1123] *** Including module: ifcfg ***
[ 280.944682] dracut[1123] *** Including module: drm ***
[ 281.289211] dracut[1123] *** Including module: plymouth ***
[ 287.496441] dracut[1123] *** Including module: kernel-modules ***
[ 292.246621] dracut[1123] *** Including module: kernel-network-
modules ***
[ 292.708417] dracut[1123] *** Including module: rootfs-block ***
[ 292.848379] dracut[1123] *** Including module: terminfo ***
[ 293.002630] dracut[1123] *** Including module: udev-rules ***
[ 293.119264] dracut[1123] Skipping udev rule: 40-redhat.rules
[ 293.141983] dracut[1123] Skipping udev rule: 50-firmware.rules
[ 293.164948] dracut[1123] Skipping udev rule: 50-udev.rules
[ 295.151142] dracut[1123] Skipping udev rule: 91-permissions.rules
[ 295.175105] dracut[1123] Skipping udev rule: 80-drivers-
modprobe.rules
[ 295.413595] dracut[1123] *** Including module: dracut-systemd ***
[ 296.271524] dracut[1123] *** Including module: usrmount ***
[ 296.333878] dracut[1123] *** Including module: base ***
[ 296.920925] dracut[1123] *** Including module: fs-lib ***
[ 297.128453] dracut[1123] *** Including module: shutdown ***
[ 297.775668] dracut[1123] *** Including modules done ***
[ 297.894924] dracut[1123] *** Installing kernel module dependencies
***
[ 298.210530] dracut[1123] *** Installing kernel module dependencies
done ***
[ 298.345975] dracut[1123] *** Resolving executable dependencies ***
[ 307.763333] dracut[1123] *** Resolving executable dependencies
done***
[ 307.935750] dracut[1123] *** Hardlinking files ***
[ 308.148979] dracut[1123] *** Hardlinking files done ***
[ 308.177952] dracut[1123] *** Stripping files ***
[ 311.695060] dracut[1123] *** Stripping files done ***
[ 311.720850] dracut[1123] *** Generating early-microcode cpio image
***
[ 311.816458] dracut[1123] *** Constructing AuthenticAMD.bin ****
[ 311.986099] dracut[1123] *** Store current command line parameters
***
[ 312.021042] dracut[1123] Stored kernel commandline:
[ 312.045569] dracut[1123] No dracut internal kernel commandline
stored in the initramfs
[ 312.072734] dracut[1123] *** Creating image file '/boot/initramfs-
4.11.8-300.fc26.armv7hl.img' ***
[ 375.498351] dracut[1123] *** Creating initramfs image file
'/boot/initramfs-4.11.8-300.fc26.armv7hl.img' done ***
[root@localhost /]# exit
exit
[root@localhost ~]# reboot

it should then boot. I plugged in the emmc from my pinebook to see if
it worked. u-boot is not loading from it but its otherwise working okay

Dennis


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux